Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(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_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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001037/0.001037, allocations: 188.9 kB / 7.803 MB, free: 2.48 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.063/1.063, allocations: 205.2 MB / 213.4 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008392/0.0008392, allocations: 93.41 kB / 261.4 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1621/0.1621, allocations: 43.49 MB / 352.8 MB, free: 1.953 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.46e-06/5.47e-06, allocations: 0 / 417.7 MB, free: 40.56 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2437/0.2437, allocations: 58.84 MB / 476.6 MB, free: 5.219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7006/0.9444, allocations: 428.9 MB / 0.8842 GB, free: 180.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000278/0.9447, allocations: 90.2 kB / 0.8843 GB, free: 180.3 MB / 0.5105 GB Notification: Performance of FrontEnd: time 0.2339/1.179, allocations: 133 MB / 1.014 GB, free: 45.8 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.961e-05/1.179, allocations: 19.98 kB / 1.014 GB, free: 45.78 MB / 0.5105 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.001691/1.18, allocations: 0.8998 MB / 1.015 GB, free: 44.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.283e-05/1.18, allocations: 11.97 kB / 1.015 GB, free: 44.82 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003929/1.181, allocations: 98.98 kB / 1.015 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009075/1.182, allocations: 0.5445 MB / 1.016 GB, free: 44.14 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.194e-05/1.182, allocations: 84.41 kB / 1.016 GB, free: 44.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.477e-05/1.182, allocations: 31.91 kB / 1.016 GB, free: 44.02 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007707/1.183, allocations: 0.5684 MB / 1.016 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008432/1.184, allocations: 0.7374 MB / 1.017 GB, free: 42.64 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/1.184, allocations: 4 kB / 1.017 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.143e-05/1.184, allocations: 4 kB / 1.017 GB, free: 42.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.522e-05/1.184, allocations: 40.97 kB / 1.017 GB, free: 42.59 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003292/1.187, allocations: 3.833 MB / 1.021 GB, free: 38.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000266/1.187, allocations: 220.5 kB / 1.021 GB, free: 38.28 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/1.187, allocations: 169.4 kB / 1.021 GB, free: 38.11 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000262/1.188, allocations: 0.4911 MB / 1.022 GB, free: 37.51 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.866e-05/1.188, allocations: 38.84 kB / 1.022 GB, free: 37.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=34): time 1.684e-06/1.188, allocations: 0 / 1.022 GB, free: 37.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=39): time 0.002589/1.19, allocations: 1.277 MB / 1.023 GB, free: 36.11 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.293e-05/1.19, allocations: 136.5 kB / 1.023 GB, free: 35.95 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003809/1.191, allocations: 450 kB / 1.024 GB, free: 35.5 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/1.191, allocations: 29.64 kB / 1.024 GB, free: 35.46 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001038/1.191, allocations: 327 kB / 1.024 GB, free: 35.14 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 6.774e-05/1.191, allocations: 134.1 kB / 1.024 GB, free: 35 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.348e-05/1.191, allocations: 0 / 1.024 GB, free: 35 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.606e-05/1.191, allocations: 370.8 kB / 1.024 GB, free: 34.63 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000232/1.191, allocations: 193.5 kB / 1.025 GB, free: 34.44 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003264/1.192, allocations: 494.3 kB / 1.025 GB, free: 33.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005619/1.192, allocations: 312.5 kB / 1.025 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/1.192, allocations: 4 kB / 1.025 GB, free: 33.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00166/1.194, allocations: 0.8664 MB / 1.026 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/1.194, allocations: 4 kB / 1.026 GB, free: 32.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.047e-05/1.194, allocations: 8 kB / 1.026 GB, free: 32.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008986/1.195, allocations: 244.8 kB / 1.026 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003454/1.195, allocations: 127.8 kB / 1.027 GB, free: 32.26 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008099/1.196, allocations: 0.9296 MB / 1.027 GB, free: 31.31 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000468/1.197, allocations: 39.97 kB / 1.028 GB, free: 31.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-05/1.197, allocations: 32 kB / 1.028 GB, free: 31.24 MB / 0.5105 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.0001173/1.197, allocations: 134.6 kB / 1.028 GB, free: 31.11 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.611e-05/1.197, allocations: 59.34 kB / 1.028 GB, free: 31.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001063/1.198, allocations: 0.6666 MB / 1.028 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.253e-06/1.198, allocations: 8 kB / 1.028 GB, free: 30.35 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.168e-06/1.198, allocations: 7.891 kB / 1.028 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/1.198, allocations: 0 / 1.028 GB, free: 30.34 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001699/1.2, allocations: 1.528 MB / 1.03 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/1.2, allocations: 0 / 1.03 GB, free: 28.67 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009728/1.201, allocations: 191.8 kB / 1.03 GB, free: 28.48 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.13e-05/1.201, allocations: 29.03 kB / 1.03 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.727e-05/1.201, allocations: 7.984 kB / 1.03 GB, free: 28.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001236/1.202, allocations: 2.584 MB / 1.033 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.105e-06/1.202, allocations: 3.984 kB / 1.033 GB, free: 25.62 MB / 0.5105 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001072/1.203, allocations: 1.024 MB / 1.034 GB, free: 24.51 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.203, allocations: 196.3 kB / 1.034 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.486e-05/1.203, allocations: 0 / 1.034 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004075/1.204, allocations: 27.81 kB / 1.034 GB, free: 24.27 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.198e-05/1.204, allocations: 24.03 kB / 1.034 GB, free: 24.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.219e-05/1.204, allocations: 31.97 kB / 1.034 GB, free: 24.21 MB / 0.5105 GB Notification: Performance of sort global known variables: time 0.0002719/1.204, allocations: 326.9 kB / 1.034 GB, free: 23.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0007217/1.205, allocations: 223.9 kB / 1.034 GB, free: 23.68 MB / 0.5105 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.0005309/1.205, allocations: 353.9 kB / 1.035 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007438/1.206, allocations: 0.5253 MB / 1.035 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/1.206, allocations: 0 / 1.035 GB, free: 22.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00101/1.207, allocations: 459.5 kB / 1.036 GB, free: 22.34 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/1.208, allocations: 267.4 kB / 1.036 GB, free: 22.08 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/1.21, allocations: 0.959 MB / 1.037 GB, free: 21.07 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004306/1.21, allocations: 1.012 MB / 1.038 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/1.21, allocations: 4 kB / 1.038 GB, free: 20.03 MB / 0.5105 GB Notification: Performance of Templates: time 0.0166/1.227, allocations: 13.21 MB / 1.051 GB, free: 6.855 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_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_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches