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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 107.3 kB / 19.69 MB, free: 2.188 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 188.7 kB / 22.98 MB, free: 5.016 MB / 14.72 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.569/1.569, allocations: 207.6 MB / 233.7 MB, free: 10.02 MB / 190.1 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.2638/0.2638, allocations: 44.24 MB / 330.2 MB, free: 9.555 MB / 270.1 MB
"
[Timeout remaining time 179]
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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.002147/0.002147, allocations: 74.86 kB / 468 MB, free: 3.996 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.142, allocations: 61.03 MB / 0.5166 GB, free: 6.832 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5386/0.6806, allocations: 136.6 MB / 0.65 GB, free: 10.92 MB / 494.1 MB
Notification: Performance of NFInst.instExpressions: time 0.006939/0.6875, allocations: 4.741 MB / 0.6546 GB, free: 6.176 MB / 494.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002046/0.6877, allocations: 3.938 kB / 0.6546 GB, free: 6.172 MB / 494.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0004542/0.6882, allocations: 59.59 kB / 0.6547 GB, free: 6.113 MB / 494.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002373/0.6906, allocations: 0.7423 MB / 0.6554 GB, free: 5.367 MB / 494.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0004321/0.691, allocations: 164.5 kB / 0.6556 GB, free: 5.207 MB / 494.1 MB
Notification: Performance of NFFlatten.flatten: time 0.00062/0.6916, allocations: 378.1 kB / 0.6559 GB, free: 4.836 MB / 494.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 6.652e-05/0.6917, allocations: 13.8 kB / 0.656 GB, free: 4.824 MB / 494.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002689/0.692, allocations: 151.5 kB / 0.6561 GB, free: 4.676 MB / 494.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000312/0.6923, allocations: 191.4 kB / 0.6563 GB, free: 4.488 MB / 494.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.25e-05/0.6923, allocations: 12 kB / 0.6563 GB, free: 4.477 MB / 494.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.6939, allocations: 0.698 MB / 0.657 GB, free: 3.777 MB / 494.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.694, allocations: 43.88 kB / 0.657 GB, free: 3.734 MB / 494.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001545/0.6942, allocations: 111.5 kB / 0.6571 GB, free: 3.625 MB / 494.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001025/0.6952, allocations: 465.1 kB / 0.6576 GB, free: 3.18 MB / 494.1 MB
Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.6952, allocations: 4 kB / 0.6576 GB, free: 3.176 MB / 494.1 MB
Notification: Performance of FrontEnd: time 5.009e-06/0.6952, allocations: 4 kB / 0.6576 GB, free: 3.172 MB / 494.1 MB
Notification: Performance of Transformations before backend: time 8.115e-06/0.6952, allocations: 0 / 0.6576 GB, free: 3.172 MB / 494.1 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.001483/0.6967, allocations: 0.5246 MB / 0.6581 GB, free: 2.613 MB / 494.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.33e-05/0.6968, allocations: 8.031 kB / 0.6581 GB, free: 2.605 MB / 494.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002065/0.697, allocations: 28.8 kB / 0.6581 GB, free: 2.578 MB / 494.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004625/0.6974, allocations: 174.3 kB / 0.6583 GB, free: 2.383 MB / 494.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002145/0.6976, allocations: 119.8 kB / 0.6584 GB, free: 2.242 MB / 494.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.113e-05/0.6977, allocations: 24.56 kB / 0.6584 GB, free: 2.219 MB / 494.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006477/0.6983, allocations: 333.9 kB / 0.6587 GB, free: 1.871 MB / 494.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.309e-05/0.6984, allocations: 4 kB / 0.6587 GB, free: 1.867 MB / 494.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.657e-05/0.6984, allocations: 12 kB / 0.6588 GB, free: 1.855 MB / 494.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.266e-05/0.6984, allocations: 4 kB / 0.6588 GB, free: 1.852 MB / 494.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009742/0.6994, allocations: 0.7664 MB / 0.6595 GB, free: 1.078 MB / 494.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.7012, allocations: 1.205 MB / 0.6607 GB, free: 15.77 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004602/0.7016, allocations: 155.8 kB / 0.6608 GB, free: 15.61 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001584/0.7018, allocations: 85.41 kB / 0.6609 GB, free: 15.52 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.001535/0.7033, allocations: 0.7037 MB / 0.6616 GB, free: 14.8 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.144e-05/0.7033, allocations: 31.56 kB / 0.6616 GB, free: 14.76 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=13): time 2.154e-06/0.7033, allocations: 0 / 0.6616 GB, free: 14.76 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=14): time 0.0007842/0.7041, allocations: 221.8 kB / 0.6618 GB, free: 14.54 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.7042, allocations: 55.34 kB / 0.6619 GB, free: 14.47 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.7044, allocations: 212.1 kB / 0.6621 GB, free: 14.25 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 3.304e-05/0.7045, allocations: 29.7 kB / 0.6621 GB, free: 14.22 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001737/0.7046, allocations: 219.5 kB / 0.6623 GB, free: 14 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 5.067e-05/0.7047, allocations: 59.53 kB / 0.6624 GB, free: 13.94 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.7048, allocations: 86.06 kB / 0.6625 GB, free: 13.85 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.000183/0.705, allocations: 330.8 kB / 0.6628 GB, free: 13.52 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.7051, allocations: 48.84 kB / 0.6628 GB, free: 13.46 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003745/0.7055, allocations: 335.7 kB / 0.6632 GB, free: 13 MB / 0.4981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005269/0.706, allocations: 435 kB / 0.6636 GB, free: 12.44 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.56e-06/0.706, allocations: 4 kB / 0.6636 GB, free: 12.43 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005876/0.7066, allocations: 381.5 kB / 0.6639 GB, free: 12.05 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 3.069e-05/0.7066, allocations: 8 kB / 0.664 GB, free: 12.05 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.7066, allocations: 12 kB / 0.664 GB, free: 12.04 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.914e-05/0.7067, allocations: 12 kB / 0.664 GB, free: 12.02 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.707, allocations: 112.3 kB / 0.6641 GB, free: 11.91 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.707, allocations: 22.11 kB / 0.6641 GB, free: 11.89 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002082/0.7072, allocations: 16 kB / 0.6641 GB, free: 11.88 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.286e-05/0.7073, allocations: 30.88 kB / 0.6641 GB, free: 11.85 MB / 0.4981 GB
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.0001987/0.7075, allocations: 157.6 kB / 0.6643 GB, free: 11.69 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.148e-05/0.7075, allocations: 23.84 kB / 0.6643 GB, free: 11.66 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.7079, allocations: 144 kB / 0.6645 GB, free: 11.51 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.7079, allocations: 11.92 kB / 0.6645 GB, free: 11.5 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.7079, allocations: 0 / 0.6645 GB, free: 11.5 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.7079, allocations: 4 kB / 0.6645 GB, free: 11.5 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006408/0.7086, allocations: 419 kB / 0.6649 GB, free: 11.03 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.7086, allocations: 0 / 0.6649 GB, free: 11.03 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.7087, allocations: 27.98 kB / 0.6649 GB, free: 11 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.7087, allocations: 0 / 0.6649 GB, free: 11 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.443e-05/0.7087, allocations: 4.062 kB / 0.6649 GB, free: 11 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.7087, allocations: 4 kB / 0.6649 GB, free: 11 MB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7087, allocations: 3.938 kB / 0.6649 GB, free: 10.99 MB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.709, allocations: 225 kB / 0.6651 GB, free: 10.75 MB / 0.4981 GB
Notification: Performance of postOpt removeConstants (simulation): time 7.738e-05/0.7091, allocations: 27.78 kB / 0.6652 GB, free: 10.72 MB / 0.4981 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.047e-05/0.7091, allocations: 8 kB / 0.6652 GB, free: 10.71 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.7093, allocations: 11.98 kB / 0.6652 GB, free: 10.7 MB / 0.4981 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.57e-05/0.7094, allocations: 15.97 kB / 0.6652 GB, free: 10.69 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.778e-05/0.7094, allocations: 7.938 kB / 0.6652 GB, free: 10.68 MB / 0.4981 GB
Notification: Performance of sorting global known variables: time 0.0001469/0.7095, allocations: 148.5 kB / 0.6653 GB, free: 10.54 MB / 0.4981 GB
Notification: Performance of sort global known variables: time 1.1e-07/0.7095, allocations: 4 kB / 0.6653 GB, free: 10.54 MB / 0.4981 GB
Notification: Performance of remove unused functions: time 0.0005632/0.7101, allocations: 87.94 kB / 0.6654 GB, free: 10.45 MB / 0.4981 GB
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.0003649/0.7105, allocations: 159 kB / 0.6656 GB, free: 10.29 MB / 0.4981 GB
Notification: Performance of simCode: created initialization part: time 0.0004017/0.7109, allocations: 177.7 kB / 0.6657 GB, free: 10.11 MB / 0.4981 GB
Notification: Performance of simCode: created event and clocks part: time 3.838e-06/0.7109, allocations: 0 / 0.6657 GB, free: 10.11 MB / 0.4981 GB
Notification: Performance of simCode: created simulation system equations: time 6.122e-05/0.7109, allocations: 32.48 kB / 0.6658 GB, free: 10.08 MB / 0.4981 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005182/0.7115, allocations: 54.56 kB / 0.6658 GB, free: 10.03 MB / 0.4981 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001018/0.7125, allocations: 484 kB / 0.6663 GB, free: 9.523 MB / 0.4981 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003989/0.7129, allocations: 0.7323 MB / 0.667 GB, free: 8.762 MB / 0.4981 GB
Notification: Performance of simCode: alias equations: time 0.0002031/0.7131, allocations: 54.83 kB / 0.6671 GB, free: 8.707 MB / 0.4981 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.934e-05/0.7131, allocations: 27.42 kB / 0.6671 GB, free: 8.68 MB / 0.4981 GB
Notification: Performance of SimCode: time 3.21e-07/0.7131, allocations: 0 / 0.6671 GB, free: 8.68 MB / 0.4981 GB
Notification: Performance of Templates: time 0.008535/0.7217, allocations: 3.408 MB / 0.6704 GB, free: 5.293 MB / 0.4981 GB
"
[Timeout remaining time 659]
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=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) [Timeout 480]
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: 6.088466506451368]