Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001463/0.001463, allocations: 117.7 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001773/0.001773, allocations: 204.6 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 67.86 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.234, allocations: 50.54 MB / 408.8 MB, free: 1.508 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.03389/0.2679, allocations: 37.52 MB / 446.3 MB, free: 11.85 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005342/0.2733, allocations: 4.587 MB / 450.9 MB, free: 7.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004465/0.2737, allocations: 4 kB / 450.9 MB, free: 7.242 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000965/0.2748, allocations: 294.2 kB / 451.2 MB, free: 6.953 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001124/0.2759, allocations: 485.3 kB / 451.6 MB, free: 6.477 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00442/0.2803, allocations: 1.642 MB / 453.3 MB, free: 4.832 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001576/0.2819, allocations: 1.269 MB / 454.6 MB, free: 3.559 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.2822, allocations: 162.6 kB / 454.7 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007532/0.283, allocations: 482.5 kB / 455.2 MB, free: 2.922 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006006/0.2836, allocations: 402.4 kB / 455.6 MB, free: 2.527 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 9.996e-05/0.2837, allocations: 48 kB / 455.6 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00155/0.2853, allocations: 0.7571 MB / 456.4 MB, free: 1.723 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.2854, allocations: 135.6 kB / 456.5 MB, free: 1.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003379/0.2858, allocations: 278.9 kB / 456.8 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001493/0.2873, allocations: 1.052 MB / 457.8 MB, free: 268 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2873, allocations: 0 / 457.8 MB, free: 268 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2873, allocations: 0 / 457.8 MB, free: 268 kB / 366.1 MB Notification: Performance of Transformations before backend: time 8.366e-06/0.2873, allocations: 4 kB / 457.8 MB, free: 264 kB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001123/0.2885, allocations: 0.7722 MB / 458.6 MB, free: 15.43 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2885, allocations: 12.03 kB / 458.6 MB, free: 15.42 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.749e-05/0.2886, allocations: 74.72 kB / 458.7 MB, free: 15.34 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000553/0.2892, allocations: 80.34 kB / 458.8 MB, free: 15.26 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004925/0.2897, allocations: 339.5 kB / 459.1 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.707e-05/0.2897, allocations: 29.38 kB / 459.1 MB, free: 14.86 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.523e-05/0.2898, allocations: 44.28 kB / 459.2 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006655/0.2904, allocations: 479.4 kB / 459.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.933e-05/0.2905, allocations: 0 / 459.6 MB, free: 14.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.103e-05/0.2905, allocations: 19.98 kB / 459.7 MB, free: 14.28 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.2905, allocations: 12 kB / 459.7 MB, free: 14.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004564/0.291, allocations: 303.7 kB / 460 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01315/0.3041, allocations: 6.742 MB / 466.7 MB, free: 6.645 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.3047, allocations: 281.4 kB / 467 MB, free: 6.363 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.3049, allocations: 148.8 kB / 467.1 MB, free: 6.215 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0101/0.315, allocations: 3.885 MB / 471 MB, free: 2.031 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.492e-05/0.3151, allocations: 42.56 kB / 471.1 MB, free: 1.98 MB / 382.1 MB Notification: Performance of pre-optimization done (n=35): time 2.404e-06/0.3151, allocations: 0 / 471.1 MB, free: 1.98 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.01152/0.3266, allocations: 2.453 MB / 473.5 MB, free: 15.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.789e-05/0.3267, allocations: 55.41 kB / 473.6 MB, free: 15.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003238/0.327, allocations: 311.2 kB / 473.9 MB, free: 15.07 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.092e-05/0.3271, allocations: 29.7 kB / 473.9 MB, free: 15.04 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001423/0.3272, allocations: 228 kB / 474.1 MB, free: 14.8 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.3273, allocations: 161.6 kB / 474.3 MB, free: 14.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.3275, allocations: 98.16 kB / 474.4 MB, free: 14.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.3276, allocations: 346.8 kB / 474.7 MB, free: 14.2 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002401/0.3278, allocations: 153.1 kB / 474.9 MB, free: 14.05 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/0.3282, allocations: 279.7 kB / 475.1 MB, free: 13.72 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/0.3288, allocations: 472.3 kB / 475.6 MB, free: 13.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.3288, allocations: 4 kB / 475.6 MB, free: 13.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001038/0.3298, allocations: 0.5877 MB / 476.2 MB, free: 12.6 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.3299, allocations: 8 kB / 476.2 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.858e-06/0.3299, allocations: 8.453 kB / 476.2 MB, free: 12.59 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007525/0.3374, allocations: 1.848 MB / 478.1 MB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000418/0.3379, allocations: 107.8 kB / 478.2 MB, free: 10.64 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/0.3399, allocations: 2.564 MB / 480.7 MB, free: 7.895 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002963/0.3402, allocations: 16.12 kB / 480.7 MB, free: 7.879 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.329e-05/0.3403, allocations: 23.98 kB / 480.8 MB, free: 7.855 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(2,1), (2,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.3405, allocations: 185.5 kB / 480.9 MB, free: 7.664 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001083/0.3406, allocations: 39.53 kB / 481 MB, free: 7.625 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00116/0.3418, allocations: 0.8513 MB / 481.8 MB, free: 6.762 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.3418, allocations: 15.98 kB / 481.9 MB, free: 6.746 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-06/0.3418, allocations: 4 kB / 481.9 MB, free: 6.742 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009456/0.3428, allocations: 0.9534 MB / 482.8 MB, free: 5.711 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001904/0.3447, allocations: 1.486 MB / 484.3 MB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3447, allocations: 0 / 484.3 MB, free: 4.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003025/0.345, allocations: 79.89 kB / 484.4 MB, free: 4.086 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003253/0.3483, allocations: 0.6179 MB / 485 MB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.783e-05/0.3484, allocations: 15.94 kB / 485 MB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009337/0.3493, allocations: 1.288 MB / 486.3 MB, free: 2.105 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3493, allocations: 7.875 kB / 486.3 MB, free: 2.098 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.3508, allocations: 1.213 MB / 487.5 MB, free: 0.8594 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.351, allocations: 120.5 kB / 487.6 MB, free: 0.7227 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.322e-05/0.351, allocations: 12 kB / 487.6 MB, free: 0.7109 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00024/0.3513, allocations: 15.94 kB / 487.7 MB, free: 0.6953 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.289e-05/0.3513, allocations: 27.95 kB / 487.7 MB, free: 0.668 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.441e-05/0.3514, allocations: 12 kB / 487.7 MB, free: 0.6562 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002246/0.3516, allocations: 213.9 kB / 487.9 MB, free: 456 kB / 398.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.3516, allocations: 4 kB / 487.9 MB, free: 452 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.0007524/0.3524, allocations: 227.9 kB / 488.1 MB, free: 224 kB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (volume.medium.p,volume.medium.T,volume1.medium.p,volume1.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,2), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002381/0.3548, allocations: 1.943 MB / 490.1 MB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001211/0.356, allocations: 0.6909 MB / 490.8 MB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.356, allocations: 0 / 490.8 MB, free: 13.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009088/0.3569, allocations: 436.3 kB / 491.2 MB, free: 13.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001262/0.3582, allocations: 244.4 kB / 491.4 MB, free: 12.88 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005883/0.3641, allocations: 4.469 MB / 495.9 MB, free: 8.215 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004007/0.3645, allocations: 0.8362 MB / 496.7 MB, free: 7.348 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002995/0.3648, allocations: 68.34 kB / 496.8 MB, free: 7.281 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001913/0.365, allocations: 155.4 kB / 497 MB, free: 7.129 MB / 414.1 MB Notification: Performance of SimCode: time 5.91e-07/0.365, allocations: 4 kB / 497 MB, free: 7.125 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04203/0.4071, allocations: 17.57 MB / 0.5025 GB, free: 5.688 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.93/12.34, allocations: 8.062 kB / 0.5025 GB, free: 5.68 MB / 430.1 MB (rm -f Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches