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.001047/0.001047, allocations: 95.31 kB / 20.42 MB, free: 4.137 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.001061/0.001061, allocations: 165 kB / 23.8 MB, free: 0.7695 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 0.9659/0.9659, allocations: 158.6 MB / 185.7 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 179] 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.1424/0.1424, allocations: 32.38 MB / 270.4 MB, free: 14.69 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.[0-9,]+.|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.[0-9,]+.|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 2.945e-06/2.945e-06, allocations: 3.984 kB / 347.7 MB, free: 9.414 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.296e-05/3.591e-05, allocations: 2.312 kB / 347.7 MB, free: 9.41 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.3445/0.3446, allocations: 129.1 MB / 476.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.3484, allocations: 4.836 MB / 481.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.78e-05/0.3484, allocations: 2.719 kB / 481.6 MB, free: 11.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.3488, allocations: 65.66 kB / 481.7 MB, free: 11.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.3504, allocations: 0.7832 MB / 482.5 MB, free: 10.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.3507, allocations: 155.9 kB / 482.6 MB, free: 10.85 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004057/0.3511, allocations: 403.2 kB / 483 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.246e-05/0.3511, allocations: 8.516 kB / 483 MB, free: 10.69 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.3513, allocations: 212.7 kB / 483.2 MB, free: 10.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/0.3515, allocations: 177.8 kB / 483.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.506e-05/0.3515, allocations: 9.062 kB / 483.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006901/0.3522, allocations: 0.6113 MB / 484 MB, free: 10.44 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 7.142e-05/0.3523, allocations: 55.88 kB / 484.1 MB, free: 10.42 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 7.547e-05/0.3524, allocations: 80.89 kB / 484.1 MB, free: 10.4 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000532/0.3529, allocations: 460.8 kB / 484.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.087e-06/0.3529, allocations: 3.938 kB / 484.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.965e-06/0.3529, allocations: 3.562 kB / 484.6 MB, free: 10.26 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.3529, allocations: 0 / 484.6 MB, free: 10.26 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.0008039/0.3537, allocations: 0.6196 MB / 485.2 MB, free: 9.754 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.343e-05/0.3538, allocations: 12.66 kB / 485.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.3539, allocations: 55.23 kB / 485.3 MB, free: 9.734 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001815/0.3541, allocations: 174.1 kB / 485.5 MB, free: 9.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.041e-05/0.3542, allocations: 224.9 kB / 485.7 MB, free: 9.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3542, allocations: 28.5 kB / 485.7 MB, free: 9.316 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003226/0.3546, allocations: 455.8 kB / 486.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.3546, allocations: 384 / 486.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.345e-05/0.3546, allocations: 13.34 kB / 486.2 MB, free: 8.922 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.3546, allocations: 12.17 kB / 486.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003334/0.3549, allocations: 0.5293 MB / 486.7 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007461/0.3557, allocations: 1.213 MB / 487.9 MB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002742/0.356, allocations: 153.9 kB / 488.1 MB, free: 7.633 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.611e-05/0.356, allocations: 70.69 kB / 488.1 MB, free: 7.613 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007547/0.3568, allocations: 0.7851 MB / 488.9 MB, free: 7.121 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.3568, allocations: 39.52 kB / 489 MB, free: 7.078 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 1.502e-06/0.3568, allocations: 0 / 489 MB, free: 7.078 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0004736/0.3573, allocations: 199.7 kB / 489.2 MB, free: 6.988 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.892e-05/0.3573, allocations: 58.19 kB / 489.2 MB, free: 6.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.3574, allocations: 289.6 kB / 489.5 MB, free: 6.711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.136e-05/0.3575, allocations: 25.7 kB / 489.5 MB, free: 6.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.953e-05/0.3575, allocations: 264.8 kB / 489.8 MB, free: 6.445 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.348e-05/0.3575, allocations: 60.36 kB / 489.8 MB, free: 6.406 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.25e-05/0.3576, allocations: 93.72 kB / 489.9 MB, free: 6.367 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.3577, allocations: 0.5006 MB / 490.4 MB, free: 5.867 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.295e-05/0.3577, allocations: 38.22 kB / 490.5 MB, free: 5.859 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.3579, allocations: 450.3 kB / 490.9 MB, free: 5.305 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002535/0.3581, allocations: 0.5339 MB / 491.4 MB, free: 4.707 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3581, allocations: 2.469 kB / 491.4 MB, free: 4.707 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003435/0.3585, allocations: 379.4 kB / 491.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.3585, allocations: 8.781 kB / 491.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3585, allocations: 10.97 kB / 491.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.3585, allocations: 15 kB / 491.8 MB, free: 4.566 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001913/0.3587, allocations: 110.5 kB / 492 MB, free: 4.543 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.3587, allocations: 19.28 kB / 492 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.3588, allocations: 18.03 kB / 492 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.3588, allocations: 32.78 kB / 492 MB, free: 4.531 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 6.644e-05/0.3589, allocations: 197.8 kB / 492.2 MB, free: 4.348 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.3589, allocations: 29.61 kB / 492.2 MB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.3591, allocations: 136.7 kB / 492.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.624e-06/0.3592, allocations: 3.031 kB / 492.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.3592, allocations: 0 / 492.4 MB, free: 4.258 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3592, allocations: 7.984 kB / 492.4 MB, free: 4.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002962/0.3595, allocations: 431.4 kB / 492.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3595, allocations: 0 / 492.8 MB, free: 3.898 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.225e-05/0.3595, allocations: 30.83 kB / 492.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3595, allocations: 2.344 kB / 492.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.777e-06/0.3595, allocations: 3.312 kB / 492.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.3595, allocations: 3.438 kB / 492.8 MB, free: 3.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3595, allocations: 3.938 kB / 492.9 MB, free: 3.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.3597, allocations: 273.7 kB / 493.1 MB, free: 3.656 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.297e-05/0.3597, allocations: 27.73 kB / 493.1 MB, free: 3.641 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.3597, allocations: 10.3 kB / 493.2 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.529e-05/0.3598, allocations: 5.719 kB / 493.2 MB, free: 3.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.49e-05/0.3598, allocations: 14.05 kB / 493.2 MB, free: 3.629 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.3599, allocations: 9.641 kB / 493.2 MB, free: 3.625 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.526e-05/0.3599, allocations: 185.1 kB / 493.4 MB, free: 3.488 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3599, allocations: 0 / 493.4 MB, free: 3.488 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003031/0.3602, allocations: 99.33 kB / 493.5 MB, free: 3.477 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.0001892/0.3604, allocations: 152.5 kB / 493.6 MB, free: 3.367 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001922/0.3606, allocations: 178.9 kB / 493.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3606, allocations: 0 / 493.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.791e-05/0.3606, allocations: 38.36 kB / 493.8 MB, free: 3.285 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002705/0.3609, allocations: 63.16 kB / 493.9 MB, free: 3.266 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008556/0.3618, allocations: 491.8 kB / 494.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.503e-05/0.3618, allocations: 80.52 kB / 494.4 MB, free: 2.875 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001146/0.3619, allocations: 50.14 kB / 494.5 MB, free: 2.848 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.208e-05/0.362, allocations: 29.55 kB / 494.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of SimCode: time 1.062e-06/0.362, allocations: 0 / 494.5 MB, free: 2.836 MB / 362.7 MB Notification: Performance of Templates: time 0.004476/0.3664, allocations: 3.09 MB / 497.6 MB, free: 1.297 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","",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: 3.7040649857372046]