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: translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p|volume1.medium.T|volume1.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001548/0.001548, allocations: 175.1 kB / 16.72 MB, free: 5.055 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.334/1.334, allocations: 205.4 MB / 222.9 MB, free: 8.945 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.0008033/0.0008032, allocations: 88.25 kB / 271.2 MB, free: 8.242 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003082/0.0003084, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2139, allocations: 47.58 MB / 375.1 MB, free: 45.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir2): time 0.02332/0.2373, allocations: 34.7 MB / 409.8 MB, free: 13.94 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003807/0.2411, allocations: 4.283 MB / 414.1 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.2416, allocations: 11.88 kB / 414.1 MB, free: 9.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007659/0.2424, allocations: 230.7 kB / 414.3 MB, free: 9.402 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007722/0.2432, allocations: 461.6 kB / 414.8 MB, free: 8.949 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003694/0.2469, allocations: 1.28 MB / 416 MB, free: 7.668 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001223/0.2481, allocations: 1.616 MB / 417.7 MB, free: 6.047 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002024/0.2483, allocations: 124.3 kB / 417.8 MB, free: 5.926 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.2487, allocations: 410.5 kB / 418.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003416/0.2491, allocations: 394.4 kB / 418.6 MB, free: 5.137 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/0.2492, allocations: 24 kB / 418.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00121/0.2504, allocations: 0.6984 MB / 419.3 MB, free: 4.414 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.946e-05/0.2505, allocations: 107.7 kB / 419.4 MB, free: 4.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001875/0.2507, allocations: 264.8 kB / 419.6 MB, free: 4.043 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006354/0.2513, allocations: 0.7608 MB / 420.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.299e-06/0.2513, allocations: 0 / 420.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2513, allocations: 0 / 420.4 MB, free: 3.281 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.942e-06/0.2513, allocations: 0 / 420.4 MB, free: 3.281 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.0007976/0.2522, allocations: 0.6747 MB / 421.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.2522, allocations: 8.031 kB / 421.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004907/0.2527, allocations: 84.34 kB / 421.2 MB, free: 2.469 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000327/0.253, allocations: 347.3 kB / 421.5 MB, free: 2.09 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.009e-05/0.2531, allocations: 29.38 kB / 421.5 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/0.2531, allocations: 36.38 kB / 421.6 MB, free: 2.027 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005227/0.2536, allocations: 471.7 kB / 422 MB, free: 1.523 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.2537, allocations: 7.938 kB / 422 MB, free: 1.516 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.859e-05/0.2537, allocations: 20 kB / 422.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2537, allocations: 8 kB / 422.1 MB, free: 1.488 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.2541, allocations: 299.7 kB / 422.4 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.2667, allocations: 6.742 MB / 429.1 MB, free: 9.867 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004711/0.2672, allocations: 267.2 kB / 429.4 MB, free: 9.598 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002842/0.2675, allocations: 156.8 kB / 429.5 MB, free: 9.441 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009948/0.2775, allocations: 3.881 MB / 433.4 MB, free: 5.262 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.953e-05/0.2775, allocations: 42.56 kB / 433.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of pre-optimization done (n=35): time 2.404e-06/0.2775, allocations: 0 / 433.4 MB, free: 5.211 MB / 314.7 MB Notification: Performance of matching and sorting (n=45): time 0.01156/0.2891, allocations: 2.48 MB / 435.9 MB, free: 2.656 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.86e-05/0.2892, allocations: 59.39 kB / 436 MB, free: 2.586 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003525/0.2895, allocations: 299.2 kB / 436.3 MB, free: 2.281 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.2896, allocations: 37.7 kB / 436.3 MB, free: 2.238 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.2897, allocations: 231.9 kB / 436.5 MB, free: 2.008 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.2899, allocations: 153.8 kB / 436.7 MB, free: 1.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.446e-05/0.2899, allocations: 16 kB / 436.7 MB, free: 1.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.29, allocations: 342.8 kB / 437 MB, free: 1.496 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.2903, allocations: 153.1 kB / 437.2 MB, free: 1.348 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000334/0.2906, allocations: 275.7 kB / 437.5 MB, free: 1.031 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006289/0.2913, allocations: 472.2 kB / 437.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.2913, allocations: 0 / 437.9 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001084/0.2924, allocations: 0.5993 MB / 438.5 MB, free: 15.9 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.2924, allocations: 8 kB / 438.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.2924, allocations: 4 kB / 438.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00647/0.2989, allocations: 0.7678 MB / 439.3 MB, free: 15.11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004302/0.2994, allocations: 107.8 kB / 439.4 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.3014, allocations: 2.459 MB / 441.9 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003828/0.3018, allocations: 35.83 kB / 441.9 MB, free: 12.32 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.3018, allocations: 20 kB / 441.9 MB, free: 12.3 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.000244/0.3021, allocations: 181.8 kB / 442.1 MB, free: 12.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.3022, allocations: 39.56 kB / 442.1 MB, free: 12.07 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001258/0.3035, allocations: 0.8475 MB / 443 MB, free: 11.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.437e-05/0.3035, allocations: 19.92 kB / 443 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.3035, allocations: 0 / 443 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009978/0.3045, allocations: 0.9572 MB / 444 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002094/0.3066, allocations: 1.489 MB / 445.4 MB, free: 8.609 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.638e-06/0.3066, allocations: 4 kB / 445.4 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003184/0.307, allocations: 71.89 kB / 445.5 MB, free: 8.535 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003326/0.3103, allocations: 0.6335 MB / 446.1 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.052e-05/0.3104, allocations: 16 kB / 446.2 MB, free: 7.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009728/0.3114, allocations: 1.28 MB / 447.4 MB, free: 6.547 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.3114, allocations: 4.031 kB / 447.4 MB, free: 6.543 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001531/0.3129, allocations: 1.223 MB / 448.7 MB, free: 5.297 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.3131, allocations: 112.6 kB / 448.8 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.571e-05/0.3132, allocations: 16.06 kB / 448.8 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.3134, allocations: 35.83 kB / 448.8 MB, free: 5.117 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.968e-05/0.3135, allocations: 31.89 kB / 448.9 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.484e-05/0.3136, allocations: 15.98 kB / 448.9 MB, free: 5.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002399/0.3138, allocations: 206 kB / 449.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3138, allocations: 4 kB / 449.1 MB, free: 4.859 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007713/0.3146, allocations: 235.9 kB / 449.3 MB, free: 4.629 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.0006601/0.3153, allocations: 283 kB / 449.6 MB, free: 4.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001189/0.3165, allocations: 0.6831 MB / 450.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.3165, allocations: 0 / 450.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008876/0.3174, allocations: 429.1 kB / 450.7 MB, free: 3.227 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001249/0.3186, allocations: 223.3 kB / 450.9 MB, free: 3.012 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002089/0.3207, allocations: 1.528 MB / 452.4 MB, free: 1.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004337/0.3212, allocations: 0.8441 MB / 453.3 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001139/0.3213, allocations: 39.44 kB / 453.3 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.3213, allocations: 0 / 453.3 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of Templates: time 0.01685/0.3382, allocations: 12.85 MB / 466.2 MB, free: 3.695 MB / 346.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2.makefile (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 & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir2 --alarm=480 -emit_protected > 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/jenkins/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