Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.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.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir") translateModel(ModelicaTest.Media.TestOnly.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|p|s|u",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir") [: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.002464/0.002464, allocations: 182.1 kB / 8.146 MB, free: 0.8594 MB / 6.77 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.694/1.694, allocations: 205.2 MB / 213.7 MB, free: 8.578 MB / 178.8 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.001254, allocations: 96.75 kB / 261.8 MB, free: 5.145 MB / 210.8 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2844/0.2844, allocations: 43.48 MB / 353.2 MB, free: 11.42 MB / 306.8 MB Notification: Performance of FrontEnd - loaded program: time 7.795e-06/7.955e-06, allocations: 0 / 417.7 MB, free: 68.59 MB / 322.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.0993, allocations: 58.84 MB / 476.5 MB, free: 9.688 MB / 322.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.016/8.115, allocations: 3.575 GB / 4.04 GB, free: 134.7 MB / 498.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/8.116, allocations: 70.77 kB / 4.04 GB, free: 134.7 MB / 498.8 MB Notification: Performance of FrontEnd: time 0.1682/8.284, allocations: 46.8 MB / 4.086 GB, free: 96.04 MB / 498.8 MB Notification: Performance of Transformations before backend: time 6.923e-06/8.284, allocations: 0 / 4.086 GB, free: 96.04 MB / 498.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0009004/8.285, allocations: 493.5 kB / 4.087 GB, free: 95.51 MB / 498.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/8.285, allocations: 8.031 kB / 4.087 GB, free: 95.5 MB / 498.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.661e-05/8.285, allocations: 7.906 kB / 4.087 GB, free: 95.5 MB / 498.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/8.285, allocations: 167 kB / 4.087 GB, free: 95.29 MB / 498.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/8.285, allocations: 8 kB / 4.087 GB, free: 95.29 MB / 498.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.411e-05/8.285, allocations: 0 / 4.087 GB, free: 95.29 MB / 498.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001439/8.285, allocations: 51.97 kB / 4.087 GB, free: 95.23 MB / 498.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001131/8.285, allocations: 61.67 kB / 4.087 GB, free: 95.17 MB / 498.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/8.285, allocations: 0 / 4.087 GB, free: 95.17 MB / 498.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/8.286, allocations: 0 / 4.087 GB, free: 95.17 MB / 498.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.201e-05/8.286, allocations: 7.984 kB / 4.087 GB, free: 95.16 MB / 498.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003778/8.286, allocations: 277.2 kB / 4.087 GB, free: 94.85 MB / 498.8 MB Notification: Performance of preOpt comSubExp (simulation): time 7.389e-05/8.286, allocations: 26.58 kB / 4.087 GB, free: 94.82 MB / 498.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.791e-05/8.286, allocations: 16.91 kB / 4.087 GB, free: 94.8 MB / 498.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/8.286, allocations: 89.11 kB / 4.087 GB, free: 94.69 MB / 498.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.965e-05/8.286, allocations: 34.55 kB / 4.087 GB, free: 94.65 MB / 498.8 MB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/8.286, allocations: 0 / 4.087 GB, free: 94.65 MB / 498.8 MB Notification: Performance of matching and sorting (n=3): time 0.0005077/8.287, allocations: 97.61 kB / 4.087 GB, free: 94.55 MB / 498.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.971e-05/8.287, allocations: 59.41 kB / 4.087 GB, free: 94.48 MB / 498.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.448e-05/8.287, allocations: 92.94 kB / 4.088 GB, free: 94.38 MB / 498.8 MB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/8.287, allocations: 25.7 kB / 4.088 GB, free: 94.35 MB / 498.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.408e-05/8.287, allocations: 166.3 kB / 4.088 GB, free: 94.18 MB / 498.8 MB Notification: Performance of collectInitialBindings (initialization): time 9.899e-06/8.287, allocations: 11.89 kB / 4.088 GB, free: 94.17 MB / 498.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/8.287, allocations: 0 / 4.088 GB, free: 94.17 MB / 498.8 MB Notification: Performance of setup shared object (initialization): time 5.742e-05/8.287, allocations: 322.7 kB / 4.088 GB, free: 93.85 MB / 498.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.979e-05/8.287, allocations: 4 kB / 4.088 GB, free: 93.84 MB / 498.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.526e-05/8.287, allocations: 39.42 kB / 4.088 GB, free: 93.79 MB / 498.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000368/8.287, allocations: 55.89 kB / 4.088 GB, free: 93.74 MB / 498.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/8.287, allocations: 0 / 4.088 GB, free: 93.74 MB / 498.8 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004197/8.288, allocations: 117.5 kB / 4.088 GB, free: 93.62 MB / 498.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/8.288, allocations: 4 kB / 4.088 GB, free: 93.61 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/8.288, allocations: 4.094 kB / 4.088 GB, free: 93.61 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/8.288, allocations: 7.938 kB / 4.088 GB, free: 93.6 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/8.288, allocations: 11.98 kB / 4.088 GB, free: 93.59 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.02e-05/8.288, allocations: 0 / 4.088 GB, free: 93.59 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.867e-05/8.288, allocations: 7.906 kB / 4.088 GB, free: 93.58 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/8.288, allocations: 0 / 4.088 GB, free: 93.58 MB / 498.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/8.288, allocations: 33.64 kB / 4.088 GB, free: 93.54 MB / 498.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.439e-05/8.288, allocations: 0 / 4.088 GB, free: 93.54 MB / 498.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005097/8.289, allocations: 125.1 kB / 4.088 GB, free: 93.41 MB / 498.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/8.289, allocations: 0 / 4.088 GB, free: 93.41 MB / 498.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/8.289, allocations: 0 / 4.088 GB, free: 93.41 MB / 498.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/8.289, allocations: 0 / 4.088 GB, free: 93.41 MB / 498.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/8.289, allocations: 138.2 kB / 4.089 GB, free: 93.23 MB / 498.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/8.289, allocations: 0 / 4.089 GB, free: 93.23 MB / 498.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/8.289, allocations: 8.328 kB / 4.089 GB, free: 93.23 MB / 498.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/8.289, allocations: 0 / 4.089 GB, free: 93.23 MB / 498.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/8.289, allocations: 4.031 kB / 4.089 GB, free: 93.22 MB / 498.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/8.289, allocations: 4 kB / 4.089 GB, free: 93.22 MB / 498.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/8.289, allocations: 0 / 4.089 GB, free: 93.22 MB / 498.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004045/8.29, allocations: 195.4 kB / 4.089 GB, free: 93.01 MB / 498.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.662e-05/8.29, allocations: 88.95 kB / 4.089 GB, free: 92.91 MB / 498.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/8.29, allocations: 4 kB / 4.089 GB, free: 92.9 MB / 498.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.756e-05/8.29, allocations: 0 / 4.089 GB, free: 92.9 MB / 498.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.508e-05/8.29, allocations: 4 kB / 4.089 GB, free: 92.9 MB / 498.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.206e-06/8.29, allocations: 3.938 kB / 4.089 GB, free: 92.89 MB / 498.8 MB Notification: Performance of sort global known variables: time 2.895e-05/8.29, allocations: 83.27 kB / 4.089 GB, free: 92.81 MB / 498.8 MB Notification: Performance of remove unused functions: time 0.0006459/8.29, allocations: 123.9 kB / 4.089 GB, free: 92.69 MB / 498.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001389/8.292, allocations: 0.7568 MB / 4.09 GB, free: 91.94 MB / 498.8 MB Notification: Performance of simCode: created initialization part: time 0.0001178/8.292, allocations: 31.86 kB / 4.09 GB, free: 91.91 MB / 498.8 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/8.292, allocations: 0 / 4.09 GB, free: 91.91 MB / 498.8 MB Notification: Performance of simCode: created simulation system equations: time 1.782e-05/8.292, allocations: 4 kB / 4.09 GB, free: 91.9 MB / 498.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/8.292, allocations: 16.09 kB / 4.09 GB, free: 91.89 MB / 498.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002429/8.293, allocations: 89.48 kB / 4.09 GB, free: 91.77 MB / 498.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/8.293, allocations: 0.6993 MB / 4.091 GB, free: 91.05 MB / 498.8 MB Notification: Performance of SimCode: time 7.22e-07/8.293, allocations: 0 / 4.091 GB, free: 91.05 MB / 498.8 MB Notification: Performance of Templates: time 0.009969/8.303, allocations: 5.027 MB / 4.096 GB, free: 86.02 MB / 498.8 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches