Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") [: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.001597/0.001596, allocations: 173 kB / 8.144 MB, free: 2.211 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.695/1.695, allocations: 205.2 MB / 213.8 MB, free: 13.93 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.001275/0.001275, allocations: 96.5 kB / 261.8 MB, free: 13.62 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.2871/0.2871, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.067e-06/9.087e-06, allocations: 4 kB / 417.7 MB, free: 40.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2796/0.2797, allocations: 58.83 MB / 476.5 MB, free: 5.094 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.428/1.707, allocations: 0.6182 GB / 1.084 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003228/1.708, allocations: 99.75 kB / 1.084 GB, free: 118.4 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.006/2.713, allocations: 227.3 MB / 1.306 GB, free: 92.95 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.399e-05/2.714, allocations: 18.03 kB / 1.306 GB, free: 92.94 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.004235/2.718, allocations: 1.159 MB / 1.307 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/2.718, allocations: 9.625 kB / 1.307 GB, free: 92.07 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001519/2.719, allocations: 137.6 kB / 1.307 GB, free: 92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001884/2.721, allocations: 0.5451 MB / 1.307 GB, free: 91.58 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001279/2.722, allocations: 85.55 kB / 1.308 GB, free: 91.51 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/2.722, allocations: 31.59 kB / 1.308 GB, free: 91.51 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001665/2.723, allocations: 0.535 MB / 1.308 GB, free: 91.28 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001822/2.725, allocations: 0.7399 MB / 1.309 GB, free: 90.76 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.298e-05/2.725, allocations: 7.625 kB / 1.309 GB, free: 90.76 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001156/2.725, allocations: 6.625 kB / 1.309 GB, free: 90.75 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.65e-05/2.726, allocations: 39.23 kB / 1.309 GB, free: 90.75 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007112/2.733, allocations: 4.04 MB / 1.313 GB, free: 86.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/2.733, allocations: 202.4 kB / 1.313 GB, free: 86.47 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003208/2.734, allocations: 133.2 kB / 1.313 GB, free: 86.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001259/2.734, allocations: 28.88 kB / 1.313 GB, free: 86.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.522e-05/2.734, allocations: 38.8 kB / 1.313 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 3.767e-06/2.734, allocations: 0 / 1.313 GB, free: 86.26 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.00965/2.743, allocations: 1.445 MB / 1.315 GB, free: 84.74 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/2.744, allocations: 136.5 kB / 1.315 GB, free: 84.58 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008249/2.744, allocations: 466 kB / 1.315 GB, free: 84.11 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.752e-05/2.744, allocations: 25.7 kB / 1.315 GB, free: 84.08 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001719/2.745, allocations: 373.3 kB / 1.316 GB, free: 83.71 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/2.745, allocations: 118.3 kB / 1.316 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/2.745, allocations: 0 / 1.316 GB, free: 83.6 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.552e-05/2.745, allocations: 342.8 kB / 1.316 GB, free: 83.25 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004725/2.745, allocations: 185.5 kB / 1.316 GB, free: 83.07 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006835/2.746, allocations: 0.4891 MB / 1.317 GB, free: 82.44 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001095/2.747, allocations: 332 kB / 1.317 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/2.747, allocations: 4 kB / 1.317 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00227/2.75, allocations: 0.7976 MB / 1.318 GB, free: 81.3 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 5.813e-05/2.75, allocations: 8 kB / 1.318 GB, free: 81.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/2.75, allocations: 8.812 kB / 1.318 GB, free: 81.29 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001993/2.752, allocations: 276.5 kB / 1.318 GB, free: 81.02 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007874/2.752, allocations: 127.8 kB / 1.318 GB, free: 80.89 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001705/2.754, allocations: 0.9581 MB / 1.319 GB, free: 79.91 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008497/2.755, allocations: 35.94 kB / 1.319 GB, free: 79.88 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/2.755, allocations: 60 kB / 1.319 GB, free: 79.82 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * 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: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002164/2.755, allocations: 63.03 kB / 1.319 GB, free: 79.75 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002224/2.756, allocations: 63.23 kB / 1.319 GB, free: 79.69 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002247/2.758, allocations: 0.5661 MB / 1.32 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.478e-06/2.758, allocations: 4 kB / 1.32 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.677e-06/2.758, allocations: 0 / 1.32 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.735e-06/2.758, allocations: 0 / 1.32 GB, free: 79.11 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002535/2.761, allocations: 0.9955 MB / 1.321 GB, free: 78.07 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/2.761, allocations: 0 / 1.321 GB, free: 78.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002039/2.763, allocations: 187.8 kB / 1.321 GB, free: 77.88 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001577/2.763, allocations: 28.81 kB / 1.321 GB, free: 77.85 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.179e-05/2.763, allocations: 15.89 kB / 1.321 GB, free: 77.84 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002133/2.765, allocations: 2.573 MB / 1.324 GB, free: 75.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/2.765, allocations: 3.984 kB / 1.324 GB, free: 75.03 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001664/2.767, allocations: 0.7048 MB / 1.324 GB, free: 74.29 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004202/2.767, allocations: 180.5 kB / 1.324 GB, free: 74.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/2.767, allocations: 4 kB / 1.324 GB, free: 74.09 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007716/2.768, allocations: 19.97 kB / 1.324 GB, free: 74.07 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-05/2.768, allocations: 23.97 kB / 1.325 GB, free: 74.05 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-05/2.768, allocations: 35.98 kB / 1.325 GB, free: 74.02 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0006148/2.769, allocations: 346.9 kB / 1.325 GB, free: 73.68 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001907/2.771, allocations: 354.5 kB / 1.325 GB, free: 73.34 MB / 0.4948 GB 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 (34): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 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.002548/2.774, allocations: 1.202 MB / 1.326 GB, free: 72.27 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001662/2.775, allocations: 487.2 kB / 1.327 GB, free: 71.79 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/2.775, allocations: 7.938 kB / 1.327 GB, free: 71.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001918/2.777, allocations: 394.7 kB / 1.327 GB, free: 71.39 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002279/2.78, allocations: 238.1 kB / 1.327 GB, free: 71.16 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002709/2.782, allocations: 0.9159 MB / 1.328 GB, free: 70.21 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001242/2.784, allocations: 1.069 MB / 1.329 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of SimCode: time 1.222e-06/2.784, allocations: 0 / 1.329 GB, free: 69.11 MB / 0.4948 GB Notification: Performance of Templates: time 0.0356/2.819, allocations: 19.98 MB / 1.349 GB, free: 49.11 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/DryAirNasa/DryAirNasa.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches