Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_Modelica.Media.Examples.ReferenceAir.DryAir1") [: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.00116/0.00116, allocations: 186.9 kB / 8.479 MB, free: 1.734 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.645/1.645, allocations: 205.2 MB / 214.1 MB, free: 5.441 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.001005/0.001005, allocations: 82.31 kB / 262.1 MB, free: 5.496 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 7.715e-06/7.725e-06, allocations: 4 kB / 315 MB, free: 41.54 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.109, allocations: 47.57 MB / 362.5 MB, free: 10 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.535/1.644, allocations: 0.6378 GB / 0.9918 GB, free: 87.78 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/1.645, allocations: 71.95 kB / 0.9919 GB, free: 87.71 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.426/3.071, allocations: 459.7 MB / 1.441 GB, free: 103.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.81e-05/3.071, allocations: 7.625 kB / 1.441 GB, free: 103.7 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: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001578/3.072, allocations: 0.713 MB / 1.441 GB, free: 103.3 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.511e-05/3.072, allocations: 11.72 kB / 1.441 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000571/3.073, allocations: 66.34 kB / 1.442 GB, free: 103.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/3.073, allocations: 278.8 kB / 1.442 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/3.073, allocations: 7.844 kB / 1.442 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/3.074, allocations: 22.3 kB / 1.442 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003294/3.074, allocations: 172.7 kB / 1.442 GB, free: 103 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004404/3.074, allocations: 290.5 kB / 1.442 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.268e-05/3.074, allocations: 5.781 kB / 1.442 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.274e-05/3.074, allocations: 3.562 kB / 1.442 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/3.074, allocations: 7.156 kB / 1.442 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/3.085, allocations: 5.474 MB / 1.448 GB, free: 99.66 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/3.086, allocations: 120.8 kB / 1.448 GB, free: 99.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/3.086, allocations: 83.83 kB / 1.448 GB, free: 99.63 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008942/3.095, allocations: 3.515 MB / 1.451 GB, free: 98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.863e-05/3.095, allocations: 38.97 kB / 1.451 GB, free: 97.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=21): time 5.651e-06/3.095, allocations: 0 / 1.451 GB, free: 97.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=26): time 0.003477/3.098, allocations: 0.8839 MB / 1.452 GB, free: 97.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/3.099, allocations: 59.06 kB / 1.452 GB, free: 97.57 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002942/3.099, allocations: 198 kB / 1.452 GB, free: 97.46 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/3.099, allocations: 25.7 kB / 1.452 GB, free: 97.43 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/3.099, allocations: 172.9 kB / 1.453 GB, free: 97.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.343e-05/3.099, allocations: 94.83 kB / 1.453 GB, free: 97.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/3.099, allocations: 0 / 1.453 GB, free: 97.23 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001173/3.099, allocations: 334.9 kB / 1.453 GB, free: 96.92 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001399/3.099, allocations: 84.78 kB / 1.453 GB, free: 96.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000195/3.1, allocations: 168.6 kB / 1.453 GB, free: 96.81 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005828/3.1, allocations: 159.2 kB / 1.453 GB, free: 96.81 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/3.1, allocations: 0 / 1.453 GB, free: 96.81 MB / 426.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0009844/3.101, allocations: 396.2 kB / 1.454 GB, free: 96.74 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/3.101, allocations: 7.984 kB / 1.454 GB, free: 96.74 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/3.101, allocations: 7.906 kB / 1.454 GB, free: 96.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/3.101, allocations: 64.47 kB / 1.454 GB, free: 96.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000299/3.102, allocations: 64.45 kB / 1.454 GB, free: 96.72 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001643/3.103, allocations: 1.868 MB / 1.456 GB, free: 95 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002613/3.104, allocations: 11.77 kB / 1.456 GB, free: 95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.017e-05/3.104, allocations: 13.12 kB / 1.456 GB, free: 95 MB / 426.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 () * 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.0001233/3.104, allocations: 114.4 kB / 1.456 GB, free: 94.89 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.028e-05/3.104, allocations: 34.88 kB / 1.456 GB, free: 94.87 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009891/3.105, allocations: 476.2 kB / 1.456 GB, free: 94.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/3.105, allocations: 3.938 kB / 1.456 GB, free: 94.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/3.105, allocations: 0 / 1.456 GB, free: 94.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008805/3.106, allocations: 0.7171 MB / 1.457 GB, free: 94.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001527/3.107, allocations: 0.8807 MB / 1.458 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.685e-06/3.107, allocations: 0 / 1.458 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/3.108, allocations: 52.61 kB / 1.458 GB, free: 94.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000288/3.108, allocations: 99.38 kB / 1.458 GB, free: 94.03 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.459e-05/3.108, allocations: 7.406 kB / 1.458 GB, free: 94.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006668/3.109, allocations: 0.6867 MB / 1.459 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/3.109, allocations: 0 / 1.459 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001167/3.11, allocations: 0.7177 MB / 1.459 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.92e-05/3.11, allocations: 99.03 kB / 1.46 GB, free: 93.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/3.11, allocations: 7.469 kB / 1.46 GB, free: 93.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002185/3.11, allocations: 11.28 kB / 1.46 GB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/3.11, allocations: 18.23 kB / 1.46 GB, free: 93.19 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.833e-05/3.11, allocations: 16.38 kB / 1.46 GB, free: 93.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0001675/3.111, allocations: 153.2 kB / 1.46 GB, free: 93.11 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001541/3.112, allocations: 195.2 kB / 1.46 GB, free: 93.08 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): 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 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001698/3.114, allocations: 0.5576 MB / 1.46 GB, free: 92.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0008611/3.115, allocations: 428.5 kB / 1.461 GB, free: 92.79 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.13e-06/3.115, allocations: 0 / 1.461 GB, free: 92.79 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003839/3.115, allocations: 212.5 kB / 1.461 GB, free: 92.79 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007982/3.116, allocations: 119.2 kB / 1.461 GB, free: 92.78 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/3.117, allocations: 0.5523 MB / 1.462 GB, free: 92.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004005/3.118, allocations: 0.819 MB / 1.463 GB, free: 91.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.61e-07/3.118, allocations: 0 / 1.463 GB, free: 91.84 MB / 426.7 MB Notification: Performance of Templates: time 0.01819/3.136, allocations: 9.379 MB / 1.472 GB, free: 91.21 MB / 426.7 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.sim & ./Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.ReferenceAir.DryAir1.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_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_Modelica.Media.Examples.ReferenceAir.DryAir1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches