Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.ReferenceAir.DryAir2,fileNamePrefix="Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008221/0.0008221, allocations: 175.8 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.4 MB / 222.9 MB, free: 9.016 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007301/0.0007301, allocations: 96.86 kB / 271.2 MB, free: 8.227 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002782/0.0002782, allocations: 8 kB / 327.6 MB, free: 15.78 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1796, allocations: 47.57 MB / 375.2 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02316/0.2028, allocations: 34.7 MB / 409.9 MB, free: 13.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003488/0.2063, allocations: 4.295 MB / 414.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004104/0.2068, allocations: 7.938 kB / 414.2 MB, free: 9.594 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006612/0.2074, allocations: 230.7 kB / 414.4 MB, free: 9.367 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007882/0.2082, allocations: 457.6 kB / 414.9 MB, free: 8.918 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003408/0.2117, allocations: 1.283 MB / 416.1 MB, free: 7.637 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.2129, allocations: 1.612 MB / 417.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.2131, allocations: 128.4 kB / 417.9 MB, free: 5.898 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005633/0.2137, allocations: 402.5 kB / 418.3 MB, free: 5.504 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004758/0.2142, allocations: 398.4 kB / 418.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.794e-05/0.2143, allocations: 20 kB / 418.7 MB, free: 5.094 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001234/0.2155, allocations: 0.7024 MB / 419.4 MB, free: 4.391 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.2156, allocations: 103.7 kB / 419.5 MB, free: 4.289 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002418/0.2159, allocations: 264.8 kB / 419.7 MB, free: 4.023 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007017/0.2166, allocations: 0.7611 MB / 420.5 MB, free: 3.262 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.2166, allocations: 4 kB / 420.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.2166, allocations: 0 / 420.5 MB, free: 3.258 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.108e-05/0.2166, allocations: 0 / 420.5 MB, free: 3.258 MB / 298.7 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.0008342/0.2175, allocations: 0.6747 MB / 421.2 MB, free: 2.535 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.2175, allocations: 8.031 kB / 421.2 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.921e-05/0.2176, allocations: 82.66 kB / 421.3 MB, free: 2.438 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005153/0.2181, allocations: 88.33 kB / 421.4 MB, free: 2.352 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.2184, allocations: 343.3 kB / 421.7 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.153e-05/0.2185, allocations: 29.38 kB / 421.7 MB, free: 1.949 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.2185, allocations: 40.38 kB / 421.8 MB, free: 1.91 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005494/0.2191, allocations: 463.5 kB / 422.2 MB, free: 1.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.892e-05/0.2191, allocations: 7.938 kB / 422.2 MB, free: 1.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.85e-05/0.2192, allocations: 19.94 kB / 422.2 MB, free: 1.387 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.2192, allocations: 12 kB / 422.2 MB, free: 1.375 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003808/0.2196, allocations: 307.6 kB / 422.5 MB, free: 1.074 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01232/0.2319, allocations: 6.726 MB / 429.3 MB, free: 9.762 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004319/0.2323, allocations: 282.5 kB / 429.6 MB, free: 9.48 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.2326, allocations: 160.6 kB / 429.7 MB, free: 9.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009737/0.2423, allocations: 3.877 MB / 433.6 MB, free: 5.145 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.2424, allocations: 34.56 kB / 433.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.2424, allocations: 0 / 433.6 MB, free: 5.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.01062/0.253, allocations: 2.481 MB / 436.1 MB, free: 2.539 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.253, allocations: 55.41 kB / 436.2 MB, free: 2.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.2534, allocations: 303.2 kB / 436.5 MB, free: 2.164 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.626e-05/0.2534, allocations: 41.7 kB / 436.5 MB, free: 2.117 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001382/0.2536, allocations: 224 kB / 436.7 MB, free: 1.895 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001102/0.2537, allocations: 157.7 kB / 436.9 MB, free: 1.738 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.241e-05/0.2537, allocations: 8 kB / 436.9 MB, free: 1.73 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2538, allocations: 350.8 kB / 437.2 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000255/0.2541, allocations: 153.1 kB / 437.4 MB, free: 1.23 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003098/0.2544, allocations: 275.7 kB / 437.6 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006003/0.255, allocations: 472.2 kB / 438.1 MB, free: 416 kB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.255, allocations: 0 / 438.1 MB, free: 416 kB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001016/0.256, allocations: 0.5955 MB / 438.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.2561, allocations: 4 kB / 438.7 MB, free: 15.79 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.2561, allocations: 4 kB / 438.7 MB, free: 15.78 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005949/0.262, allocations: 0.7678 MB / 439.5 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003593/0.2624, allocations: 107.8 kB / 439.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.2642, allocations: 2.467 MB / 442 MB, free: 12.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003184/0.2646, allocations: 39.83 kB / 442.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.64e-05/0.2646, allocations: 23.98 kB / 442.1 MB, free: 12.18 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {2 1,2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002051/0.2648, allocations: 174.7 kB / 442.3 MB, free: 12 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.417e-05/0.2649, allocations: 39.56 kB / 442.3 MB, free: 11.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.266, allocations: 0.8553 MB / 443.2 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.191e-05/0.2661, allocations: 7.984 kB / 443.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.2661, allocations: 0 / 443.2 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009402/0.267, allocations: 0.9611 MB / 444.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001848/0.2689, allocations: 1.485 MB / 445.6 MB, free: 8.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/0.2689, allocations: 3.984 kB / 445.6 MB, free: 8.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002842/0.2692, allocations: 79.84 kB / 445.7 MB, free: 8.414 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/0.2723, allocations: 0.6335 MB / 446.3 MB, free: 7.773 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.2724, allocations: 15.98 kB / 446.3 MB, free: 7.758 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008145/0.2732, allocations: 1.28 MB / 447.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.2732, allocations: 0 / 447.6 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.2746, allocations: 1.226 MB / 448.9 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00011/0.2748, allocations: 120.6 kB / 449 MB, free: 5.039 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.33e-05/0.2748, allocations: 12.06 kB / 449 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002653/0.2751, allocations: 23.84 kB / 449 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.2752, allocations: 35.89 kB / 449 MB, free: 4.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.591e-05/0.2752, allocations: 15.98 kB / 449.1 MB, free: 4.953 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001967/0.2754, allocations: 209.9 kB / 449.3 MB, free: 4.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2754, allocations: 7.938 kB / 449.3 MB, free: 4.734 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006616/0.2761, allocations: 231.9 kB / 449.5 MB, free: 4.508 MB / 330.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002122/0.2782, allocations: 1.932 MB / 451.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.2793, allocations: 0.6831 MB / 452.1 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2793, allocations: 0 / 452.1 MB, free: 1.844 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000802/0.2801, allocations: 432.6 kB / 452.5 MB, free: 1.422 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001214/0.2813, allocations: 228.3 kB / 452.8 MB, free: 1.203 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003993/0.2853, allocations: 3.039 MB / 455.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003273/0.2857, allocations: 0.8402 MB / 456.6 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/0.2859, allocations: 167.4 kB / 456.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of SimCode: time 3.11e-07/0.2859, allocations: 0 / 456.8 MB, free: 13.02 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.681/3.967, allocations: 13.7 MB / 470.5 MB, free: 15.3 MB / 362.7 MB (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat --tempDir=temp_Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_cpp_Modelica_Media_Examples_ReferenceAir_DryAir2.fmu > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir2/DryAir2.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches