Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001404/0.001404, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001599/0.001599, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2661/0.2661, allocations: 46.89 MB / 361.3 MB, free: 4.523 MB / 286.1 MB
"
[Timeout remaining time 179]
Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo)
Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2")
translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002358/0.002358, allocations: 79.86 kB / 0.497 GB, free: 7.609 MB / 366.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4748/0.4771, allocations: 66.03 MB / 0.5615 GB, free: 4.617 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2258/0.7029, allocations: 152.8 MB / 0.7107 GB, free: 11.25 MB / 0.545 GB
Notification: Performance of NFInst.instExpressions: time 0.001917/0.7048, allocations: 1.059 MB / 0.7117 GB, free: 10.19 MB / 0.545 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.563e-05/0.7049, allocations: 0 / 0.7117 GB, free: 10.19 MB / 0.545 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.7052, allocations: 31.75 kB / 0.7118 GB, free: 10.16 MB / 0.545 GB
Notification: Performance of NFTyping.typeBindings: time 0.0008491/0.7061, allocations: 281.4 kB / 0.712 GB, free: 9.887 MB / 0.545 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.7065, allocations: 118.7 kB / 0.7121 GB, free: 9.773 MB / 0.545 GB
Notification: Performance of NFFlatten.flatten: time 0.0003026/0.7068, allocations: 187.2 kB / 0.7123 GB, free: 9.59 MB / 0.545 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.299e-05/0.7068, allocations: 4 kB / 0.7123 GB, free: 9.586 MB / 0.545 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002577/0.7071, allocations: 95.62 kB / 0.7124 GB, free: 9.492 MB / 0.545 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001249/0.7072, allocations: 63.69 kB / 0.7125 GB, free: 9.43 MB / 0.545 GB
Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.7073, allocations: 4 kB / 0.7125 GB, free: 9.426 MB / 0.545 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0006411/0.7079, allocations: 267.7 kB / 0.7127 GB, free: 9.164 MB / 0.545 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.7081, allocations: 31.95 kB / 0.7128 GB, free: 9.133 MB / 0.545 GB
Notification: Performance of NFVerifyModel.verify: time 7.854e-05/0.7081, allocations: 39.81 kB / 0.7128 GB, free: 9.094 MB / 0.545 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005324/0.7087, allocations: 282.9 kB / 0.7131 GB, free: 8.82 MB / 0.545 GB
Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.7087, allocations: 0 / 0.7131 GB, free: 8.82 MB / 0.545 GB
Notification: Performance of FrontEnd: time 1.513e-06/0.7087, allocations: 4 kB / 0.7131 GB, free: 8.816 MB / 0.545 GB
Notification: Performance of Transformations before backend: time 7.454e-06/0.7087, allocations: 0 / 0.7131 GB, free: 8.816 MB / 0.545 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 19
 * Number of variables: 19
Notification: Performance of Generate backend data structure: time 0.0006917/0.7094, allocations: 337.8 kB / 0.7134 GB, free: 8.457 MB / 0.545 GB
Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.7094, allocations: 12.03 kB / 0.7134 GB, free: 8.445 MB / 0.545 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00231/0.7117, allocations: 192.6 kB / 0.7136 GB, free: 8.258 MB / 0.545 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003915/0.7121, allocations: 161.7 kB / 0.7137 GB, free: 8.074 MB / 0.545 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.7121, allocations: 8 kB / 0.7138 GB, free: 8.066 MB / 0.545 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.806e-05/0.7122, allocations: 4 kB / 0.7138 GB, free: 8.062 MB / 0.545 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005781/0.7128, allocations: 226.8 kB / 0.714 GB, free: 7.828 MB / 0.545 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7128, allocations: 0 / 0.714 GB, free: 7.828 MB / 0.545 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.55e-05/0.7128, allocations: 4 kB / 0.714 GB, free: 7.824 MB / 0.545 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.7128, allocations: 4 kB / 0.714 GB, free: 7.82 MB / 0.545 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004701/0.7133, allocations: 171.9 kB / 0.7141 GB, free: 7.652 MB / 0.545 GB
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.001265/0.7145, allocations: 0.5511 MB / 0.7147 GB, free: 7.051 MB / 0.545 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003783/0.7149, allocations: 138.5 kB / 0.7148 GB, free: 6.906 MB / 0.545 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.7151, allocations: 68.81 kB / 0.7149 GB, free: 6.836 MB / 0.545 GB
Notification: Performance of preOpt evalFunc (simulation): time 3.022e-05/0.7151, allocations: 7.984 kB / 0.7149 GB, free: 6.828 MB / 0.545 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.115e-05/0.7151, allocations: 34.56 kB / 0.7149 GB, free: 6.785 MB / 0.545 GB
Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.7151, allocations: 0 / 0.7149 GB, free: 6.785 MB / 0.545 GB
Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default
========================================
1: medium.T
Please use -d=bltdump for more information.
Notification: Performance of matching and sorting (n=19): time 0.005712/0.7209, allocations: 1.159 MB / 0.7161 GB, free: 5.57 MB / 0.545 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.7209, allocations: 59.34 kB / 0.7161 GB, free: 5.5 MB / 0.545 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001388/0.7211, allocations: 109.8 kB / 0.7162 GB, free: 5.383 MB / 0.545 GB
Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.7211, allocations: 29.7 kB / 0.7162 GB, free: 5.348 MB / 0.545 GB
Notification: Performance of collectInitialEqns (initialization): time 9.052e-05/0.7212, allocations: 95.98 kB / 0.7163 GB, free: 5.25 MB / 0.545 GB
Notification: Performance of collectInitialBindings (initialization): time 9.375e-05/0.7213, allocations: 75.41 kB / 0.7164 GB, free: 5.176 MB / 0.545 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.000117/0.7214, allocations: 61.64 kB / 0.7165 GB, free: 5.109 MB / 0.545 GB
Notification: Performance of setup shared object (initialization): time 0.0002059/0.7216, allocations: 326.8 kB / 0.7168 GB, free: 4.781 MB / 0.545 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001853/0.7218, allocations: 63.97 kB / 0.7168 GB, free: 4.719 MB / 0.545 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.722, allocations: 107.2 kB / 0.7169 GB, free: 4.602 MB / 0.545 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004964/0.7225, allocations: 182.7 kB / 0.7171 GB, free: 4.414 MB / 0.545 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.7225, allocations: 4 kB / 0.7171 GB, free: 4.41 MB / 0.545 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006767/0.7232, allocations: 250.3 kB / 0.7174 GB, free: 4.156 MB / 0.545 GB
Notification: Performance of prepare postOptimizeDAE: time 2.334e-05/0.7232, allocations: 4 kB / 0.7174 GB, free: 4.152 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.7232, allocations: 8.094 kB / 0.7174 GB, free: 4.145 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.000234/0.7234, allocations: 52.77 kB / 0.7174 GB, free: 4.09 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003426/0.7238, allocations: 55.95 kB / 0.7175 GB, free: 4.035 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007196/0.7245, allocations: 0.5601 MB / 0.718 GB, free: 3.449 MB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001724/0.7247, allocations: 12.02 kB / 0.718 GB, free: 3.438 MB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.7247, allocations: 24.09 kB / 0.7181 GB, free: 3.414 MB / 0.545 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 4
 * 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 (23):
 * Single equations (assignments): 22
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(1,1)}
Notification: Performance of prepare postOptimizeDAE: time 0.0001621/0.7249, allocations: 123.2 kB / 0.7182 GB, free: 3.285 MB / 0.545 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.115e-05/0.7249, allocations: 11.95 kB / 0.7182 GB, free: 3.273 MB / 0.545 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008526/0.7258, allocations: 349.9 kB / 0.7185 GB, free: 2.93 MB / 0.545 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.492e-06/0.7258, allocations: 4 kB / 0.7185 GB, free: 2.926 MB / 0.545 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.7258, allocations: 0 / 0.7185 GB, free: 2.926 MB / 0.545 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.084e-06/0.7258, allocations: 4 kB / 0.7185 GB, free: 2.922 MB / 0.545 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/0.727, allocations: 0.5909 MB / 0.7191 GB, free: 2.27 MB / 0.545 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.727, allocations: 4 kB / 0.7191 GB, free: 2.266 MB / 0.545 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003534/0.7273, allocations: 59.89 kB / 0.7192 GB, free: 2.207 MB / 0.545 GB
Notification: Performance of postOpt tearingSystem (simulation): time 9.015e-05/0.7274, allocations: 24.94 kB / 0.7192 GB, free: 2.18 MB / 0.545 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.926e-05/0.7275, allocations: 19.92 kB / 0.7192 GB, free: 2.16 MB / 0.545 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001291/0.7287, allocations: 1.267 MB / 0.7204 GB, free: 0.7812 MB / 0.545 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/0.7287, allocations: 320 / 0.7204 GB, free: 0.7812 MB / 0.545 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008452/0.7296, allocations: 437.2 kB / 0.7209 GB, free: 336 kB / 0.545 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.577e-05/0.7296, allocations: 11.92 kB / 0.7209 GB, free: 324 kB / 0.545 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.975e-05/0.7296, allocations: 8 kB / 0.7209 GB, free: 316 kB / 0.545 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002202/0.7299, allocations: 8 kB / 0.7209 GB, free: 308 kB / 0.545 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.079e-05/0.7299, allocations: 23.95 kB / 0.7209 GB, free: 284 kB / 0.545 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.662e-05/0.73, allocations: 24 kB / 0.7209 GB, free: 260 kB / 0.545 GB
Notification: Performance of sorting global known variables: time 7.115e-05/0.7301, allocations: 95.25 kB / 0.721 GB, free: 164 kB / 0.545 GB
Notification: Performance of sort global known variables: time 9.1e-08/0.7301, allocations: 4.062 kB / 0.721 GB, free: 160 kB / 0.545 GB
Notification: Performance of remove unused functions: time 0.0004715/0.7305, allocations: 83.81 kB / 0.7211 GB, free: 76 kB / 0.545 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 2 (medium.p,medium.T)
 * 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 (21):
 * Single equations (assignments): 20
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0004818/0.731, allocations: 159 kB / 0.7213 GB, free: 15.91 MB / 0.5606 GB
Notification: Performance of simCode: created initialization part: time 0.0006908/0.7317, allocations: 191.2 kB / 0.7214 GB, free: 15.72 MB / 0.5606 GB
Notification: Performance of simCode: created event and clocks part: time 3.898e-06/0.7317, allocations: 0 / 0.7214 GB, free: 15.72 MB / 0.5606 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003868/0.7321, allocations: 218.5 kB / 0.7217 GB, free: 15.5 MB / 0.5606 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004967/0.7326, allocations: 52.33 kB / 0.7217 GB, free: 15.45 MB / 0.5606 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.7336, allocations: 480.3 kB / 0.7222 GB, free: 14.93 MB / 0.5606 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.734, allocations: 0.7086 MB / 0.7229 GB, free: 14.2 MB / 0.5606 GB
Notification: Performance of simCode: alias equations: time 0.0003008/0.7343, allocations: 73.62 kB / 0.7229 GB, free: 14.12 MB / 0.5606 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001874/0.7345, allocations: 55.41 kB / 0.723 GB, free: 14.07 MB / 0.5606 GB
Notification: Performance of SimCode: time 5.81e-07/0.7345, allocations: 0 / 0.723 GB, free: 14.07 MB / 0.5606 GB
Notification: Performance of Templates: time 0.0119/0.7464, allocations: 5.771 MB / 0.7286 GB, free: 8.305 MB / 0.5606 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660]
(rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660]
""
[Timeout remaining time 660]
Reference file matches
[Calling sys.exit(0), Time elapsed: 6.356145849451423]