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.001043/0.001044, allocations: 175.4 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.291/1.291, 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.0007729/0.0007729, allocations: 97.34 kB / 271.2 MB, free: 8.234 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002922/0.0002922, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2213, allocations: 47.58 MB / 375.1 MB, free: 45.41 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.DryAir1): time 0.01882/0.2402, allocations: 24.97 MB / 400.1 MB, free: 23.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003465/0.2437, allocations: 3.897 MB / 404 MB, free: 19.78 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.244, allocations: 7.938 kB / 404 MB, free: 19.77 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005658/0.2446, allocations: 163 kB / 404.1 MB, free: 19.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005269/0.2451, allocations: 318.4 kB / 404.4 MB, free: 19.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003442/0.2486, allocations: 1.142 MB / 405.6 MB, free: 18.15 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008838/0.2495, allocations: 1.106 MB / 406.7 MB, free: 17.04 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001681/0.2496, allocations: 77.73 kB / 406.8 MB, free: 16.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007826/0.2575, allocations: 7.503 MB / 414.3 MB, free: 9.461 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000318/0.2578, allocations: 267 kB / 414.5 MB, free: 9.199 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.774e-05/0.2579, allocations: 12 kB / 414.5 MB, free: 9.188 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.2592, allocations: 0.6829 MB / 415.2 MB, free: 8.504 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.444e-05/0.2593, allocations: 75.77 kB / 415.3 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000178/0.2595, allocations: 193 kB / 415.5 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006252/0.2601, allocations: 0.604 MB / 416.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.2601, allocations: 0 / 416.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.2601, allocations: 0 / 416.1 MB, free: 7.629 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.2602, allocations: 4 kB / 416.1 MB, free: 7.625 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.0007527/0.2609, allocations: 0.5886 MB / 416.7 MB, free: 6.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.261, allocations: 12.03 kB / 416.7 MB, free: 6.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003935/0.2614, allocations: 52.62 kB / 416.7 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.2617, allocations: 287.7 kB / 417 MB, free: 6.605 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/0.2617, allocations: 16.94 kB / 417 MB, free: 6.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.7e-05/0.2617, allocations: 28.38 kB / 417.1 MB, free: 6.562 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004111/0.2622, allocations: 334.6 kB / 417.4 MB, free: 6.195 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/0.2622, allocations: 3.938 kB / 417.4 MB, free: 6.191 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.203e-05/0.2622, allocations: 16 kB / 417.4 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.2622, allocations: 12 kB / 417.4 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002709/0.2625, allocations: 206 kB / 417.6 MB, free: 5.965 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01049/0.273, allocations: 5.915 MB / 423.5 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003216/0.2734, allocations: 178.6 kB / 423.7 MB, free: 15.36 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.2735, allocations: 88.83 kB / 423.8 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009769/0.2833, allocations: 3.865 MB / 427.7 MB, free: 11.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.833e-05/0.2834, allocations: 38.56 kB / 427.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of pre-optimization done (n=21): time 2.184e-06/0.2834, allocations: 0 / 427.7 MB, free: 11.06 MB / 314.7 MB Notification: Performance of matching and sorting (n=26): time 0.006086/0.2895, allocations: 1.436 MB / 429.1 MB, free: 9.555 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.821e-05/0.2896, allocations: 59.34 kB / 429.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.2899, allocations: 254.6 kB / 429.4 MB, free: 9.227 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.2899, allocations: 29.7 kB / 429.5 MB, free: 9.191 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.29, allocations: 188 kB / 429.7 MB, free: 9.004 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.968e-05/0.2901, allocations: 102.6 kB / 429.8 MB, free: 8.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.536e-05/0.2902, allocations: 4 kB / 429.8 MB, free: 8.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.2903, allocations: 338.8 kB / 430.1 MB, free: 8.559 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.2905, allocations: 87.97 kB / 430.2 MB, free: 8.473 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.2907, allocations: 190.6 kB / 430.4 MB, free: 8.246 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004022/0.2911, allocations: 303.8 kB / 430.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.2911, allocations: 0 / 430.7 MB, free: 7.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007494/0.2919, allocations: 394.7 kB / 431 MB, free: 7.512 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.104e-05/0.2919, allocations: 8 kB / 431.1 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.01e-05/0.2919, allocations: 4 kB / 431.1 MB, free: 7.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003367/0.2953, allocations: 401.7 kB / 431.5 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002856/0.2956, allocations: 79.84 kB / 431.5 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001586/0.2972, allocations: 1.871 MB / 433.4 MB, free: 4.996 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.2975, allocations: 28.14 kB / 433.4 MB, free: 4.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.72e-05/0.2975, allocations: 12 kB / 433.4 MB, free: 4.957 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.0001941/0.2977, allocations: 149.8 kB / 433.6 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.471e-05/0.2978, allocations: 31.56 kB / 433.6 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000743/0.2986, allocations: 0.4907 MB / 434.1 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.347e-06/0.2986, allocations: 8.031 kB / 434.1 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.2986, allocations: 3.984 kB / 434.1 MB, free: 4.254 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006258/0.2992, allocations: 0.716 MB / 434.8 MB, free: 3.449 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001309/0.3005, allocations: 0.953 MB / 435.8 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.3006, allocations: 0 / 435.8 MB, free: 2.43 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001862/0.3008, allocations: 43.97 kB / 435.8 MB, free: 2.387 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/0.3024, allocations: 328.2 kB / 436.2 MB, free: 2.062 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.712e-05/0.3025, allocations: 8 kB / 436.2 MB, free: 2.055 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004746/0.3029, allocations: 0.646 MB / 436.8 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.843e-06/0.303, allocations: 0 / 436.8 MB, free: 1.383 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009148/0.3039, allocations: 0.7126 MB / 437.5 MB, free: 0.6445 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.304, allocations: 108.9 kB / 437.6 MB, free: 0.5195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.877e-05/0.3041, allocations: 11.94 kB / 437.6 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.3043, allocations: 12 kB / 437.6 MB, free: 0.4961 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.465e-05/0.3043, allocations: 19.97 kB / 437.7 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.3044, allocations: 11.94 kB / 437.7 MB, free: 476 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002093/0.3046, allocations: 186 kB / 437.9 MB, free: 292 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3046, allocations: 0 / 437.9 MB, free: 292 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007163/0.3053, allocations: 187.9 kB / 438 MB, free: 104 kB / 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.0007255/0.306, allocations: 274.9 kB / 438.3 MB, free: 15.82 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008161/0.3069, allocations: 448.1 kB / 438.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3069, allocations: 4 kB / 438.8 MB, free: 15.37 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004919/0.3074, allocations: 231.6 kB / 439 MB, free: 15.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009401/0.3083, allocations: 159.1 kB / 439.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.3097, allocations: 0.9839 MB / 440.1 MB, free: 13.97 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.3101, allocations: 0.7837 MB / 440.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.499e-05/0.3102, allocations: 35.44 kB / 440.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.3102, allocations: 0 / 440.9 MB, free: 13.12 MB / 330.7 MB Notification: Performance of Templates: time 0.01193/0.3221, allocations: 8.355 MB / 449.3 MB, free: 4.766 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