Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.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.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001596/0.001596, allocations: 183.4 kB / 8.481 MB, free: 1.871 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.601/1.601, allocations: 205.2 MB / 214.1 MB, free: 5.086 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001111, allocations: 86.27 kB / 262.1 MB, free: 5.125 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.177e-06/9.217e-06, allocations: 4 kB / 315 MB, free: 41.46 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1081, allocations: 47.57 MB / 362.6 MB, free: 9.918 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7379/0.846, allocations: 337.2 MB / 0.6834 GB, free: 54.05 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003547/0.8465, allocations: 95.62 kB / 0.6835 GB, free: 54 MB / 426.7 MB Notification: Performance of FrontEnd: time 0.3402/1.187, allocations: 85.86 MB / 0.7673 GB, free: 137 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.372e-05/1.187, allocations: 6.625 kB / 0.7673 GB, free: 137 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0007623/1.188, allocations: 0.5256 MB / 0.7678 GB, free: 136.5 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.165e-05/1.188, allocations: 14.44 kB / 0.7679 GB, free: 136.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003203/1.188, allocations: 42.86 kB / 0.7679 GB, free: 136.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003552/1.188, allocations: 284.4 kB / 0.7682 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.392e-05/1.188, allocations: 6.406 kB / 0.7682 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/1.188, allocations: 18.28 kB / 0.7682 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00032/1.189, allocations: 180.3 kB / 0.7684 GB, free: 136.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/1.189, allocations: 251.3 kB / 0.7686 GB, free: 136.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/1.189, allocations: 6.75 kB / 0.7686 GB, free: 136.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.204e-05/1.189, allocations: 0 / 0.7686 GB, free: 136.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.143e-05/1.189, allocations: 13.25 kB / 0.7686 GB, free: 136.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001345/1.19, allocations: 1.225 MB / 0.7698 GB, free: 135.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/1.191, allocations: 113.8 kB / 0.7699 GB, free: 135.4 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001163/1.191, allocations: 84.05 kB / 0.77 GB, free: 135.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001176/1.191, allocations: 167.3 kB / 0.7702 GB, free: 135.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/1.191, allocations: 41 kB / 0.7702 GB, free: 135.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 1.453e-06/1.191, allocations: 0 / 0.7702 GB, free: 135.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.001747/1.193, allocations: 0.7821 MB / 0.771 GB, free: 134.7 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.163e-05/1.193, allocations: 62.5 kB / 0.771 GB, free: 134.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/1.193, allocations: 195.9 kB / 0.7712 GB, free: 134.6 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/1.193, allocations: 29.58 kB / 0.7712 GB, free: 134.5 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.098e-05/1.193, allocations: 162.5 kB / 0.7714 GB, free: 134.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/1.193, allocations: 92.86 kB / 0.7715 GB, free: 134.4 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.171e-05/1.193, allocations: 0 / 0.7715 GB, free: 134.4 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.734e-05/1.193, allocations: 339.7 kB / 0.7718 GB, free: 134 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001071/1.193, allocations: 67.19 kB / 0.7719 GB, free: 134 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001388/1.193, allocations: 161.7 kB / 0.772 GB, free: 133.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001914/1.194, allocations: 114.1 kB / 0.7721 GB, free: 133.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/1.194, allocations: 0 / 0.7721 GB, free: 133.9 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0005619/1.194, allocations: 397.9 kB / 0.7725 GB, free: 133.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/1.194, allocations: 9.344 kB / 0.7725 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/1.194, allocations: 3.906 kB / 0.7725 GB, free: 133.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001544/1.194, allocations: 42.33 kB / 0.7726 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003817/1.195, allocations: 82.73 kB / 0.7726 GB, free: 133.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/1.196, allocations: 2.445 MB / 0.775 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/1.196, allocations: 19.5 kB / 0.7751 GB, free: 131.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/1.196, allocations: 17.88 kB / 0.7751 GB, free: 131.4 MB / 426.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient.port.h:VARIABLE(flow=false min = -10000000000.0 max = 10000000000.0 unit = "J/kg" nominal = 1000000.0 ) "Specific mixture enthalpy in the connection point" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 38 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.197, allocations: 116.5 kB / 0.7752 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-05/1.197, allocations: 27.59 kB / 0.7752 GB, free: 131.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/1.197, allocations: 334.2 kB / 0.7755 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/1.197, allocations: 3.906 kB / 0.7755 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/1.197, allocations: 0 / 0.7755 GB, free: 131.1 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004036/1.198, allocations: 0.604 MB / 0.7761 GB, free: 130.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00082/1.198, allocations: 0.698 MB / 0.7768 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.198, allocations: 0 / 0.7768 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003472/1.199, allocations: 63.59 kB / 0.7769 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.336e-05/1.199, allocations: 21.73 kB / 0.7769 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/1.199, allocations: 3.094 kB / 0.7769 GB, free: 130.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005684/1.199, allocations: 1.208 MB / 0.7781 GB, free: 128.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/1.199, allocations: 7.156 kB / 0.7781 GB, free: 128.8 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005381/1.2, allocations: 0.4892 MB / 0.7785 GB, free: 128.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.77e-05/1.2, allocations: 103.1 kB / 0.7786 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/1.2, allocations: 3.906 kB / 0.7787 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002584/1.2, allocations: 10.41 kB / 0.7787 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.053e-05/1.2, allocations: 14.36 kB / 0.7787 GB, free: 128.4 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.992e-05/1.2, allocations: 17.97 kB / 0.7787 GB, free: 128.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001102/1.201, allocations: 157 kB / 0.7788 GB, free: 128.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005187/1.201, allocations: 109.5 kB / 0.7789 GB, free: 128.2 MB / 426.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 24 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003624/1.201, allocations: 256.6 kB / 0.7792 GB, free: 128.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004997/1.202, allocations: 408.9 kB / 0.7796 GB, free: 127.9 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/1.202, allocations: 0 / 0.7796 GB, free: 127.9 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002234/1.202, allocations: 197.9 kB / 0.7798 GB, free: 127.7 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007296/1.203, allocations: 122.4 kB / 0.7799 GB, free: 127.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008718/1.204, allocations: 441 kB / 0.7803 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003341/1.204, allocations: 0.8138 MB / 0.7811 GB, free: 126.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/1.204, allocations: 7.031 kB / 0.7811 GB, free: 126.8 MB / 426.7 MB Notification: Performance of Templates: time 0.0127/1.217, allocations: 6.186 MB / 0.7871 GB, free: 125.1 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches