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.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.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.SimpleAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir,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.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.00226/0.00226, allocations: 171.2 kB / 8.149 MB, free: 2.223 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.66/1.66, allocations: 205.2 MB / 213.8 MB, free: 13.91 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.001244/0.001244, allocations: 90.19 kB / 261.8 MB, free: 13.61 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.258/0.258, allocations: 43.5 MB / 353.2 MB, free: 2.016 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.337e-06/9.438e-06, allocations: 0 / 417.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2752/0.2752, allocations: 58.85 MB / 476.6 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.04/1.315, allocations: 428.9 MB / 0.8842 GB, free: 128.2 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/1.316, allocations: 98.94 kB / 0.8843 GB, free: 128.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 0.439/1.755, allocations: 133 MB / 1.014 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.775e-05/1.755, allocations: 16 kB / 1.014 GB, free: 3.535 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.002676/1.757, allocations: 0.9 MB / 1.015 GB, free: 2.59 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/1.757, allocations: 11.97 kB / 1.015 GB, free: 2.578 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006138/1.758, allocations: 91.05 kB / 1.015 GB, free: 2.488 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001615/1.76, allocations: 0.5484 MB / 1.016 GB, free: 1.902 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/1.76, allocations: 84.39 kB / 1.016 GB, free: 1.805 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001192/1.76, allocations: 35.91 kB / 1.016 GB, free: 1.77 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001567/1.762, allocations: 0.5645 MB / 1.016 GB, free: 1.207 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/1.763, allocations: 0.7335 MB / 1.017 GB, free: 408 kB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/1.763, allocations: 7.938 kB / 1.017 GB, free: 400 kB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001043/1.763, allocations: 4 kB / 1.017 GB, free: 396 kB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-05/1.763, allocations: 44.97 kB / 1.017 GB, free: 352 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1771/1.941, allocations: 3.814 MB / 1.021 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/1.941, allocations: 228.6 kB / 1.021 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/1.942, allocations: 169.6 kB / 1.021 GB, free: 164.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004597/1.942, allocations: 0.4962 MB / 1.022 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.601e-05/1.942, allocations: 38.09 kB / 1.022 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.026e-06/1.942, allocations: 0 / 1.022 GB, free: 164.1 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.004852/1.947, allocations: 1.279 MB / 1.023 GB, free: 163.6 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.737e-05/1.947, allocations: 136.2 kB / 1.023 GB, free: 163.4 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007389/1.948, allocations: 451 kB / 1.024 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.334e-05/1.948, allocations: 29.64 kB / 1.024 GB, free: 163.3 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/1.948, allocations: 356.7 kB / 1.024 GB, free: 163.1 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/1.948, allocations: 136.7 kB / 1.024 GB, free: 163 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/1.948, allocations: 2.844 kB / 1.024 GB, free: 163 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 8.45e-05/1.948, allocations: 339.9 kB / 1.024 GB, free: 162.7 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/1.949, allocations: 197.3 kB / 1.025 GB, free: 162.7 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006507/1.95, allocations: 494.2 kB / 1.025 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001064/1.951, allocations: 317.7 kB / 1.025 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/1.951, allocations: 0 / 1.025 GB, free: 162.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003233/1.954, allocations: 0.8292 MB / 1.026 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/1.954, allocations: 3.5 kB / 1.026 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/1.954, allocations: 10.69 kB / 1.026 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001697/1.956, allocations: 235.6 kB / 1.026 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007909/1.957, allocations: 124.8 kB / 1.027 GB, free: 162.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00158/1.958, allocations: 0.9198 MB / 1.027 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007594/1.959, allocations: 34.97 kB / 1.027 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.178e-05/1.959, allocations: 34.28 kB / 1.027 GB, free: 161.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (71): * Single equations (assignments): 70 * 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 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002079/1.959, allocations: 59.86 kB / 1.028 GB, free: 161.7 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001958/1.959, allocations: 64.12 kB / 1.028 GB, free: 161.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002032/1.961, allocations: 0.6681 MB / 1.028 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/1.961, allocations: 10.97 kB / 1.028 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/1.961, allocations: 0 / 1.028 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/1.962, allocations: 0 / 1.028 GB, free: 161.5 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.965, allocations: 1.53 MB / 1.03 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.364e-06/1.965, allocations: 0 / 1.03 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002005/1.967, allocations: 187.1 kB / 1.03 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001203/1.967, allocations: 26.42 kB / 1.03 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.79e-05/1.967, allocations: 11.34 kB / 1.03 GB, free: 160.8 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002085/1.969, allocations: 2.577 MB / 1.032 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.87e-06/1.969, allocations: 0 / 1.032 GB, free: 158.3 MB / 0.4948 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002256/1.971, allocations: 1.024 MB / 1.033 GB, free: 157.9 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000432/1.972, allocations: 199.5 kB / 1.034 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/1.972, allocations: 3.875 kB / 1.034 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00082/1.973, allocations: 28.75 kB / 1.034 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.324e-05/1.973, allocations: 27.14 kB / 1.034 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.234e-05/1.973, allocations: 25.86 kB / 1.034 GB, free: 157.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 0.0005582/1.974, allocations: 335.5 kB / 1.034 GB, free: 157.7 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001183/1.975, allocations: 218.7 kB / 1.034 GB, free: 157.7 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (44): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0008538/1.976, allocations: 373.2 kB / 1.035 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.001569/1.977, allocations: 0.5198 MB / 1.035 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.161e-06/1.977, allocations: 3.906 kB / 1.035 GB, free: 157.6 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001989/1.979, allocations: 444.3 kB / 1.036 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/1.982, allocations: 251.9 kB / 1.036 GB, free: 157.5 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002796/1.985, allocations: 1.005 MB / 1.037 GB, free: 157.2 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007552/1.986, allocations: 1.026 MB / 1.038 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.172e-06/1.986, allocations: 0 / 1.038 GB, free: 156.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.02503/2.011, allocations: 15.14 MB / 1.053 GB, free: 156.3 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestsWithFluid/MediaTestModels/Air/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches