Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.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.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") translateModel(Modelica.Media.Examples.ReferenceAir.DryAir1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008906/0.0008908, allocations: 180.2 kB / 16.41 MB, free: 5.707 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.33/1.33, allocations: 205.4 MB / 222.6 MB, free: 9.105 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.0007126/0.0007127, allocations: 94.3 kB / 270.9 MB, free: 8.348 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003139/0.000314, allocations: 8 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.202, allocations: 47.57 MB / 374.5 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01683/0.2189, allocations: 24.93 MB / 399.5 MB, free: 23.86 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002977/0.2219, allocations: 3.893 MB / 403.4 MB, free: 19.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.2222, allocations: 4 kB / 403.4 MB, free: 19.96 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.2227, allocations: 163 kB / 403.5 MB, free: 19.8 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004751/0.2232, allocations: 318.4 kB / 403.8 MB, free: 19.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00335/0.2265, allocations: 1.145 MB / 405 MB, free: 18.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008371/0.2274, allocations: 1.113 MB / 406.1 MB, free: 17.22 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001706/0.2276, allocations: 72.67 kB / 406.2 MB, free: 17.15 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007083/0.2347, allocations: 7.472 MB / 413.6 MB, free: 9.676 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004559/0.2351, allocations: 270.9 kB / 413.9 MB, free: 9.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.88e-05/0.2352, allocations: 16 kB / 413.9 MB, free: 9.395 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001371/0.2366, allocations: 0.6712 MB / 414.6 MB, free: 8.723 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001072/0.2367, allocations: 79.7 kB / 414.7 MB, free: 8.645 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001291/0.2369, allocations: 97.58 kB / 414.8 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008117/0.2377, allocations: 0.6079 MB / 415.4 MB, free: 7.934 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2377, allocations: 0 / 415.4 MB, free: 7.934 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2377, allocations: 0 / 415.4 MB, free: 7.934 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.369e-05/0.2377, allocations: 0 / 415.4 MB, free: 7.934 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.000861/0.2386, allocations: 0.5885 MB / 416 MB, free: 7.297 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.01e-05/0.2386, allocations: 8.031 kB / 416 MB, free: 7.289 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004496/0.2391, allocations: 51.69 kB / 416 MB, free: 7.238 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.2395, allocations: 279.5 kB / 416.3 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.2395, allocations: 28.56 kB / 416.3 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.251e-05/0.2395, allocations: 24 kB / 416.3 MB, free: 6.875 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004611/0.24, allocations: 338.5 kB / 416.7 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.799e-05/0.24, allocations: 7.891 kB / 416.7 MB, free: 6.496 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.269e-05/0.2401, allocations: 12 kB / 416.7 MB, free: 6.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.2401, allocations: 8 kB / 416.7 MB, free: 6.477 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002993/0.2404, allocations: 214 kB / 416.9 MB, free: 6.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01165/0.252, allocations: 5.904 MB / 422.8 MB, free: 15.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.2525, allocations: 179.1 kB / 423 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.2527, allocations: 89.2 kB / 423.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01055/0.2632, allocations: 3.881 MB / 427 MB, free: 11.41 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.2633, allocations: 38.7 kB / 427 MB, free: 11.36 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.264e-06/0.2633, allocations: 4 kB / 427 MB, free: 11.36 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.006223/0.2695, allocations: 1.414 MB / 428.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.807e-05/0.2696, allocations: 59.41 kB / 428.5 MB, free: 9.801 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002818/0.2699, allocations: 258.5 kB / 428.7 MB, free: 9.539 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.339e-05/0.2699, allocations: 29.7 kB / 428.8 MB, free: 9.504 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001331/0.2701, allocations: 192 kB / 428.9 MB, free: 9.312 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.825e-05/0.2702, allocations: 90.66 kB / 429 MB, free: 9.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.2702, allocations: 12 kB / 429 MB, free: 9.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001457/0.2703, allocations: 334.8 kB / 429.4 MB, free: 8.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001671/0.2705, allocations: 87.95 kB / 429.5 MB, free: 8.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002337/0.2707, allocations: 194.6 kB / 429.6 MB, free: 8.559 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.271, allocations: 116 kB / 429.8 MB, free: 8.445 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.264e-06/0.271, allocations: 7.953 kB / 429.8 MB, free: 8.438 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007346/0.2717, allocations: 395.5 kB / 430.2 MB, free: 8.039 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.2718, allocations: 4 kB / 430.2 MB, free: 8.035 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.2718, allocations: 4 kB / 430.2 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003399/0.2752, allocations: 409.7 kB / 430.6 MB, free: 7.625 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002695/0.2755, allocations: 63.91 kB / 430.6 MB, free: 7.562 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001673/0.2771, allocations: 1.887 MB / 432.5 MB, free: 5.52 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.2774, allocations: 28.08 kB / 432.5 MB, free: 5.492 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.2774, allocations: 12 kB / 432.5 MB, free: 5.48 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001716/0.2776, allocations: 157.8 kB / 432.7 MB, free: 5.316 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.2777, allocations: 23.72 kB / 432.7 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007315/0.2784, allocations: 498.7 kB / 433.2 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.2784, allocations: 3.984 kB / 433.2 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2784, allocations: 7.953 kB / 433.2 MB, free: 4.781 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006988/0.2791, allocations: 0.7158 MB / 433.9 MB, free: 3.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.2805, allocations: 0.9455 MB / 434.9 MB, free: 2.965 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.2805, allocations: 3.953 kB / 434.9 MB, free: 2.961 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001916/0.2807, allocations: 43.98 kB / 434.9 MB, free: 2.918 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001777/0.2825, allocations: 328.3 kB / 435.3 MB, free: 2.594 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.752e-05/0.2825, allocations: 11.98 kB / 435.3 MB, free: 2.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005062/0.283, allocations: 0.6423 MB / 435.9 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.283, allocations: 0 / 435.9 MB, free: 1.914 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009582/0.284, allocations: 0.7279 MB / 436.6 MB, free: 1.16 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.2841, allocations: 104.8 kB / 436.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.2842, allocations: 8 kB / 436.7 MB, free: 1.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.2844, allocations: 8 kB / 436.8 MB, free: 1.023 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.66e-05/0.2844, allocations: 23.91 kB / 436.8 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.179e-05/0.2845, allocations: 11.98 kB / 436.8 MB, free: 0.9883 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001907/0.2847, allocations: 186 kB / 437 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2847, allocations: 0 / 437 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006664/0.2853, allocations: 187.9 kB / 437.2 MB, free: 0.625 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006846/0.286, allocations: 270.9 kB / 437.4 MB, free: 356 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008316/0.2869, allocations: 444.1 kB / 437.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2869, allocations: 3.938 kB / 437.9 MB, free: 15.9 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005186/0.2874, allocations: 235.6 kB / 438.1 MB, free: 15.67 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009665/0.2884, allocations: 163.3 kB / 438.2 MB, free: 15.51 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.2898, allocations: 0.9839 MB / 439.2 MB, free: 14.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003853/0.2902, allocations: 0.7798 MB / 440 MB, free: 13.68 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.2903, allocations: 35.42 kB / 440 MB, free: 13.65 MB / 330.7 MB Notification: Performance of SimCode: time 3.41e-07/0.2903, allocations: 0 / 440 MB, free: 13.65 MB / 330.7 MB Notification: Performance of Templates: time 0.01195/0.3023, allocations: 8.347 MB / 448.4 MB, free: 5.301 MB / 330.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1 --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/ReferenceAir/DryAir1/DryAir1.csv","../files/Modelica_3.2.3_cpp_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches