Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002641/0.002642, allocations: 174.5 kB / 8.149 MB, free: 2.125 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.649/1.649, allocations: 205.2 MB / 213.8 MB, free: 14.01 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001255/0.001255, allocations: 94.55 kB / 261.8 MB, free: 13.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2632/0.2632, allocations: 43.5 MB / 353.2 MB, free: 2.051 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.298e-06/9.457e-06, allocations: 0 / 417.7 MB, free: 40.96 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3079/0.3079, allocations: 58.84 MB / 476.5 MB, free: 5.078 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8946/1.203, allocations: 376.7 MB / 0.8332 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002544/1.203, allocations: 75.56 kB / 0.8333 GB, free: 145.6 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.0738/1.277, allocations: 20.89 MB / 0.8537 GB, free: 144.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 1.58e-05/1.277, allocations: 3.812 kB / 0.8537 GB, free: 144.2 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.00126/1.278, allocations: 0.5679 MB / 0.8543 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/1.278, allocations: 7.812 kB / 0.8543 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/1.278, allocations: 29.89 kB / 0.8543 GB, free: 143.7 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002923/1.279, allocations: 228.5 kB / 0.8545 GB, free: 143.5 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001215/1.279, allocations: 118.1 kB / 0.8546 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.889e-05/1.279, allocations: 19.55 kB / 0.8546 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009922/1.28, allocations: 0.7114 MB / 0.8553 GB, free: 143.4 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/1.28, allocations: 285.1 kB / 0.8556 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/1.28, allocations: 0 / 0.8556 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.823e-05/1.28, allocations: 0 / 0.8556 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.622e-05/1.28, allocations: 11.75 kB / 0.8556 GB, free: 143.3 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00316/1.284, allocations: 3.2 MB / 0.8587 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001275/1.284, allocations: 60.84 kB / 0.8588 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.508e-05/1.284, allocations: 24.45 kB / 0.8588 GB, free: 140.1 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007641/1.285, allocations: 0.5274 MB / 0.8593 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.995e-05/1.285, allocations: 36.34 kB / 0.8594 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 2.404e-06/1.285, allocations: 0 / 0.8594 GB, free: 139.6 MB / 0.4948 GB Notification: Performance of matching and sorting (n=9): time 0.0006441/1.285, allocations: 150.8 kB / 0.8595 GB, free: 139.5 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/1.285, allocations: 55.31 kB / 0.8596 GB, free: 139.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/1.286, allocations: 198.5 kB / 0.8598 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.023e-05/1.286, allocations: 25.7 kB / 0.8598 GB, free: 139.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/1.286, allocations: 300.1 kB / 0.8601 GB, free: 139.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.685e-05/1.286, allocations: 38.53 kB / 0.8601 GB, free: 139 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/1.286, allocations: 0 / 0.8601 GB, free: 139 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.296e-05/1.286, allocations: 328.3 kB / 0.8604 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001045/1.286, allocations: 35.53 kB / 0.8605 GB, free: 138.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002066/1.286, allocations: 317.7 kB / 0.8608 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004112/1.287, allocations: 114 kB / 0.8609 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/1.287, allocations: 0 / 0.8609 GB, free: 138.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008138/1.288, allocations: 323.4 kB / 0.8612 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/1.288, allocations: 9.25 kB / 0.8612 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/1.288, allocations: 7.812 kB / 0.8612 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.162e-05/1.288, allocations: 15.62 kB / 0.8612 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006126/1.288, allocations: 111.4 kB / 0.8613 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/1.288, allocations: 25.48 kB / 0.8613 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003403/1.289, allocations: 7.812 kB / 0.8613 GB, free: 138.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.149e-05/1.289, allocations: 29.16 kB / 0.8614 GB, free: 138.2 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.781e-05/1.289, allocations: 58.23 kB / 0.8614 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/1.289, allocations: 19.53 kB / 0.8614 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002787/1.289, allocations: 97.73 kB / 0.8615 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.213e-05/1.289, allocations: 0 / 0.8615 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/1.289, allocations: 0 / 0.8615 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/1.289, allocations: 2.578 kB / 0.8615 GB, free: 138.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006311/1.29, allocations: 372.9 kB / 0.8619 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/1.29, allocations: 7.938 kB / 0.8619 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002263/1.29, allocations: 25.05 kB / 0.8619 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/1.29, allocations: 4 kB / 0.8619 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/1.29, allocations: 3.906 kB / 0.8619 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.29, allocations: 0 / 0.8619 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/1.29, allocations: 0 / 0.8619 GB, free: 137.8 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002425/1.29, allocations: 208.5 kB / 0.8621 GB, free: 137.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/1.291, allocations: 111.2 kB / 0.8622 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/1.291, allocations: 2.25 kB / 0.8622 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003195/1.291, allocations: 3.906 kB / 0.8622 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/1.291, allocations: 10.03 kB / 0.8623 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.67e-05/1.291, allocations: 8.156 kB / 0.8623 GB, free: 137.5 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0001138/1.291, allocations: 135.5 kB / 0.8624 GB, free: 137.4 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0006411/1.292, allocations: 87.84 kB / 0.8625 GB, free: 137.4 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003157/1.292, allocations: 187.3 kB / 0.8627 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0003507/1.292, allocations: 149.4 kB / 0.8628 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/1.292, allocations: 2.688 kB / 0.8628 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.954e-05/1.293, allocations: 24.78 kB / 0.8628 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003795/1.293, allocations: 30.38 kB / 0.8629 GB, free: 137.3 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005038/1.293, allocations: 212.7 kB / 0.8631 GB, free: 137.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002581/1.294, allocations: 0.7592 MB / 0.8638 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of SimCode: time 6.71e-07/1.294, allocations: 3.938 kB / 0.8638 GB, free: 136.4 MB / 0.4948 GB Notification: Performance of Templates: time 0.007616/1.301, allocations: 3.353 MB / 0.8671 GB, free: 135.7 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches