Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0026/0.0026, allocations: 92.97 kB / 20.21 MB, free: 4.211 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00317/0.00317, allocations: 169.2 kB / 23.52 MB, free: 0.9023 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.374/1.374, allocations: 158.6 MB / 185.3 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2113/0.2113, allocations: 32.37 MB / 270 MB, free: 14.78 MB / 266.7 MB " [Timeout remaining time 180] 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 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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,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_ModelicaTest.Media.TestAllProperties.SimpleAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 347 MB, free: 9.777 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.142e-05/2.263e-05, allocations: 2.312 kB / 347 MB, free: 9.773 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3582/0.3582, allocations: 128.7 MB / 475.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.005053/0.3632, allocations: 4.823 MB / 480.5 MB, free: 11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001377/0.3634, allocations: 4 kB / 480.5 MB, free: 11 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003989/0.3638, allocations: 61.98 kB / 480.6 MB, free: 10.98 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001865/0.3656, allocations: 0.7561 MB / 481.4 MB, free: 10.64 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.366, allocations: 153.7 kB / 481.5 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004464/0.3664, allocations: 390.9 kB / 481.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.3665, allocations: 11.72 kB / 481.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002508/0.3667, allocations: 199.7 kB / 482.1 MB, free: 10.38 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002504/0.367, allocations: 180.9 kB / 482.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.587e-05/0.367, allocations: 8.062 kB / 482.3 MB, free: 10.33 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001115/0.3681, allocations: 0.6051 MB / 482.9 MB, free: 10.2 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 8.673e-05/0.3682, allocations: 48.47 kB / 482.9 MB, free: 10.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.976e-05/0.3683, allocations: 85.41 kB / 483 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006208/0.3689, allocations: 483.6 kB / 483.5 MB, free: 10 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.025e-06/0.3689, allocations: 0 / 483.5 MB, free: 10 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3689, allocations: 0 / 483.5 MB, free: 10 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3689, allocations: 0 / 483.5 MB, free: 10 MB / 362.7 MB 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.000908/0.3698, allocations: 0.6285 MB / 484.1 MB, free: 9.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.412e-05/0.3699, allocations: 12.06 kB / 484.1 MB, free: 9.496 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001966/0.3701, allocations: 56.06 kB / 484.2 MB, free: 9.477 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.3703, allocations: 175 kB / 484.3 MB, free: 9.312 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.3704, allocations: 229 kB / 484.6 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.553e-05/0.3704, allocations: 24.19 kB / 484.6 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004225/0.3709, allocations: 463.3 kB / 485 MB, free: 8.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.364e-05/0.3709, allocations: 4.375 kB / 485.1 MB, free: 8.676 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.727e-05/0.3709, allocations: 13.62 kB / 485.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.24e-05/0.3709, allocations: 5.906 kB / 485.1 MB, free: 8.672 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005866/0.3715, allocations: 0.6032 MB / 485.7 MB, free: 8.473 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001076/0.3726, allocations: 1.232 MB / 486.9 MB, free: 7.449 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003583/0.373, allocations: 163.9 kB / 487.1 MB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001181/0.3731, allocations: 82.47 kB / 487.1 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001192/0.3743, allocations: 0.7929 MB / 487.9 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.665e-05/0.3743, allocations: 39.45 kB / 488 MB, free: 6.848 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.3743, allocations: 0 / 488 MB, free: 6.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005588/0.3748, allocations: 221.4 kB / 488.2 MB, free: 6.754 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.148e-05/0.3749, allocations: 51.41 kB / 488.2 MB, free: 6.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.375, allocations: 303 kB / 488.5 MB, free: 6.477 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.375, allocations: 28.83 kB / 488.6 MB, free: 6.445 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.778e-05/0.3751, allocations: 266.5 kB / 488.8 MB, free: 6.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.64e-05/0.3752, allocations: 57.91 kB / 488.9 MB, free: 6.176 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.091e-05/0.3752, allocations: 97.56 kB / 489 MB, free: 6.133 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.721e-05/0.3753, allocations: 0.5042 MB / 489.5 MB, free: 5.629 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.617e-05/0.3754, allocations: 47.66 kB / 489.5 MB, free: 5.621 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002045/0.3756, allocations: 462.8 kB / 490 MB, free: 5.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.3759, allocations: 0.5524 MB / 490.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3759, allocations: 2.844 kB / 490.5 MB, free: 4.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005073/0.3764, allocations: 406.6 kB / 490.9 MB, free: 4.324 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.3765, allocations: 8.688 kB / 490.9 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.3765, allocations: 8.281 kB / 491 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.412e-05/0.3765, allocations: 18.36 kB / 491 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002914/0.3768, allocations: 106.1 kB / 491.1 MB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.886e-05/0.3768, allocations: 19.55 kB / 491.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001947/0.377, allocations: 18.44 kB / 491.1 MB, free: 4.293 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.689e-05/0.377, allocations: 30.38 kB / 491.1 MB, free: 4.289 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.3771, allocations: 195.9 kB / 491.3 MB, free: 4.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.262e-05/0.3772, allocations: 26.36 kB / 491.4 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002643/0.3775, allocations: 158.3 kB / 491.5 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.716e-06/0.3775, allocations: 4 kB / 491.5 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.3775, allocations: 0 / 491.5 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3775, allocations: 2.375 kB / 491.5 MB, free: 4.008 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000403/0.3779, allocations: 439.2 kB / 491.9 MB, free: 3.66 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.3779, allocations: 3.938 kB / 492 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001395/0.378, allocations: 30.58 kB / 492 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.378, allocations: 6.984 kB / 492 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.378, allocations: 0 / 492 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.378, allocations: 2.5 kB / 492 MB, free: 3.645 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.378, allocations: 3.938 kB / 492 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001857/0.3782, allocations: 284 kB / 492.3 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.274e-05/0.3783, allocations: 20.86 kB / 492.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.439e-05/0.3783, allocations: 6.219 kB / 492.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001818/0.3785, allocations: 13.33 kB / 492.3 MB, free: 3.395 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.312e-05/0.3785, allocations: 18.11 kB / 492.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.585e-05/0.3786, allocations: 5.688 kB / 492.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.689e-05/0.3786, allocations: 194.9 kB / 492.5 MB, free: 3.246 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3786, allocations: 0 / 492.5 MB, free: 3.246 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004448/0.3791, allocations: 95.59 kB / 492.6 MB, free: 3.238 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002632/0.3794, allocations: 159.3 kB / 492.8 MB, free: 3.129 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000312/0.3797, allocations: 196.4 kB / 493 MB, free: 3.062 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.237e-06/0.3797, allocations: 7 kB / 493 MB, free: 3.059 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.992e-05/0.3797, allocations: 43.11 kB / 493 MB, free: 3.035 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004302/0.3802, allocations: 55.5 kB / 493.1 MB, free: 3.02 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.3808, allocations: 473.7 kB / 493.5 MB, free: 2.727 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.995e-05/0.3809, allocations: 117.8 kB / 493.6 MB, free: 2.633 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001654/0.3811, allocations: 57.47 kB / 493.7 MB, free: 2.594 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.277e-05/0.3811, allocations: 32.67 kB / 493.7 MB, free: 2.582 MB / 362.7 MB Notification: Performance of SimCode: time 4.4e-07/0.3811, allocations: 0 / 493.7 MB, free: 2.582 MB / 362.7 MB Notification: Performance of Templates: time 0.007057/0.3882, allocations: 3.155 MB / 496.9 MB, free: 0.9805 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable eps in file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat. Warning: Get data of variable eps from file ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.617040709010325]