Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.00182/0.00182, 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.002074/0.002074, 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.668/1.668, allocations: 207.6 MB / 233.7 MB, free: 10.01 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.242/0.242, allocations: 44.23 MB / 330.2 MB, free: 9.551 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.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas")
translateModel(ModelicaTest.Media.TestOnly.FlueGas,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium2.T|medium2.X.1.|medium2.X.2.|medium2.X.3.|medium2.X.4.|medium2.p|state.T|state.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas") [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.00228/0.00228, allocations: 75.89 kB / 467.9 MB, free: 4.059 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1744, allocations: 61.03 MB / 0.5166 GB, free: 6.891 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.FlueGas): time 0.5624/0.7368, allocations: 151.5 MB / 0.6645 GB, free: 12.19 MB / 0.4981 GB
Notification: Performance of NFInst.instExpressions: time 0.002914/0.7397, allocations: 2.104 MB / 0.6665 GB, free: 10.09 MB / 0.4981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 7.703e-05/0.7398, allocations: 4 kB / 0.6665 GB, free: 10.09 MB / 0.4981 GB
Notification: Performance of NFTyping.typeComponents: time 0.000411/0.7402, allocations: 56.66 kB / 0.6666 GB, free: 10.03 MB / 0.4981 GB
Notification: Performance of NFTyping.typeBindings: time 0.001704/0.7419, allocations: 0.6296 MB / 0.6672 GB, free: 9.402 MB / 0.4981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.7423, allocations: 104.7 kB / 0.6673 GB, free: 9.301 MB / 0.4981 GB
Notification: Performance of NFFlatten.flatten: time 0.000396/0.7427, allocations: 271 kB / 0.6676 GB, free: 9.035 MB / 0.4981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.63e-05/0.7427, allocations: 7.984 kB / 0.6676 GB, free: 9.027 MB / 0.4981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003113/0.743, allocations: 139.4 kB / 0.6677 GB, free: 8.891 MB / 0.4981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002044/0.7432, allocations: 103.6 kB / 0.6678 GB, free: 8.789 MB / 0.4981 GB
Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.7433, allocations: 8 kB / 0.6678 GB, free: 8.781 MB / 0.4981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001822/0.7451, allocations: 0.869 MB / 0.6687 GB, free: 7.91 MB / 0.4981 GB
Notification: Performance of NFScalarize.scalarize: time 0.000118/0.7452, allocations: 79.81 kB / 0.6687 GB, free: 7.832 MB / 0.4981 GB
Notification: Performance of NFVerifyModel.verify: time 0.000127/0.7453, allocations: 97.09 kB / 0.6688 GB, free: 7.738 MB / 0.4981 GB
Notification: Performance of NFConvertDAE.convert: time 0.00105/0.7464, allocations: 0.6534 MB / 0.6695 GB, free: 7.09 MB / 0.4981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7464, allocations: 0 / 0.6695 GB, free: 7.09 MB / 0.4981 GB
Notification: Performance of FrontEnd: time 1.894e-06/0.7464, allocations: 0 / 0.6695 GB, free: 7.09 MB / 0.4981 GB
Notification: Performance of Transformations before backend: time 8.286e-06/0.7464, allocations: 0 / 0.6695 GB, free: 7.09 MB / 0.4981 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 43
 * Number of variables: 43
Notification: Performance of Generate backend data structure: time 0.0008825/0.7473, allocations: 433.5 kB / 0.6699 GB, free: 6.637 MB / 0.4981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.7473, allocations: 12.03 kB / 0.6699 GB, free: 6.625 MB / 0.4981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002144/0.7495, allocations: 264.5 kB / 0.6702 GB, free: 6.367 MB / 0.4981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004913/0.75, allocations: 211.5 kB / 0.6704 GB, free: 6.137 MB / 0.4981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.75, allocations: 16.89 kB / 0.6704 GB, free: 6.121 MB / 0.4981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 9.546e-05/0.7501, allocations: 31.88 kB / 0.6704 GB, free: 6.09 MB / 0.4981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009873/0.7511, allocations: 0.4889 MB / 0.6709 GB, free: 5.59 MB / 0.4981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.7511, allocations: 0 / 0.6709 GB, free: 5.59 MB / 0.4981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.629e-05/0.7511, allocations: 8 kB / 0.6709 GB, free: 5.582 MB / 0.4981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.998e-05/0.7512, allocations: 15.92 kB / 0.6709 GB, free: 5.566 MB / 0.4981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009846/0.7522, allocations: 0.59 MB / 0.6715 GB, free: 4.977 MB / 0.4981 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.002471/0.7546, allocations: 0.9814 MB / 0.6724 GB, free: 3.949 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004161/0.755, allocations: 238.2 kB / 0.6727 GB, free: 3.699 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002761/0.7553, allocations: 185.6 kB / 0.6728 GB, free: 3.512 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007468/0.7561, allocations: 115.8 kB / 0.673 GB, free: 3.398 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.946e-05/0.7561, allocations: 42.89 kB / 0.673 GB, free: 3.348 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=28): time 2.044e-06/0.7561, allocations: 0 / 0.673 GB, free: 3.348 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=28): time 0.002099/0.7582, allocations: 0.5986 MB / 0.6736 GB, free: 2.746 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.7583, allocations: 81.11 kB / 0.6737 GB, free: 2.648 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.7584, allocations: 129.8 kB / 0.6738 GB, free: 2.512 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.7585, allocations: 33.7 kB / 0.6738 GB, free: 2.473 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 9.443e-05/0.7586, allocations: 116.5 kB / 0.6739 GB, free: 2.355 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.7587, allocations: 107 kB / 0.674 GB, free: 2.25 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001442/0.7588, allocations: 73.62 kB / 0.6741 GB, free: 2.172 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0002018/0.759, allocations: 326.8 kB / 0.6744 GB, free: 1.844 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004566/0.7595, allocations: 183.9 kB / 0.6746 GB, free: 1.664 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004626/0.7599, allocations: 284.8 kB / 0.6749 GB, free: 1.34 MB / 0.4981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008426/0.7608, allocations: 498.2 kB / 0.6753 GB, free: 0.8086 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.7608, allocations: 0 / 0.6753 GB, free: 0.8086 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=41) (initialization): time 0.001052/0.7618, allocations: 0.5243 MB / 0.6758 GB, free: 284 kB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.7618, allocations: 8.406 kB / 0.6758 GB, free: 276 kB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.7619, allocations: 9.5 kB / 0.6759 GB, free: 268 kB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.7619, allocations: 8 kB / 0.6759 GB, free: 260 kB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005668/0.7624, allocations: 79.89 kB / 0.6759 GB, free: 180 kB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.7625, allocations: 4 kB / 0.6759 GB, free: 176 kB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.7629, allocations: 39.75 kB / 0.676 GB, free: 136 kB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.468e-05/0.7629, allocations: 20 kB / 0.676 GB, free: 116 kB / 0.4981 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * 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 (41):
 * Single equations (assignments): 41
 * Array equations: 0
 * 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.0002583/0.7632, allocations: 145.7 kB / 0.6761 GB, free: 15.96 MB / 0.5137 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.7633, allocations: 23.84 kB / 0.6762 GB, free: 15.94 MB / 0.5137 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.7644, allocations: 496.5 kB / 0.6766 GB, free: 15.45 MB / 0.5137 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.401e-06/0.7644, allocations: 0 / 0.6766 GB, free: 15.45 MB / 0.5137 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.7644, allocations: 4 kB / 0.6766 GB, free: 15.45 MB / 0.5137 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.203e-06/0.7645, allocations: 3.984 kB / 0.6766 GB, free: 15.45 MB / 0.5137 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008445/0.7653, allocations: 429.6 kB / 0.6771 GB, free: 14.98 MB / 0.5137 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.7653, allocations: 3.938 kB / 0.6771 GB, free: 14.98 MB / 0.5137 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005212/0.7658, allocations: 59.91 kB / 0.6771 GB, free: 14.92 MB / 0.5137 GB
Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.7658, allocations: 1.375 kB / 0.6771 GB, free: 14.92 MB / 0.5137 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.7659, allocations: 11.98 kB / 0.6771 GB, free: 14.91 MB / 0.5137 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.568e-06/0.7659, allocations: 4 kB / 0.6771 GB, free: 14.9 MB / 0.5137 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7659, allocations: 4.469 kB / 0.6771 GB, free: 14.9 MB / 0.5137 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/0.7671, allocations: 0.6954 MB / 0.6778 GB, free: 14.19 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 3.068e-05/0.7671, allocations: 15.89 kB / 0.6778 GB, free: 14.17 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.7672, allocations: 11.98 kB / 0.6778 GB, free: 14.16 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005072/0.7677, allocations: 23.97 kB / 0.6779 GB, free: 14.14 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.7677, allocations: 23.95 kB / 0.6779 GB, free: 14.11 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.7678, allocations: 15.92 kB / 0.6779 GB, free: 14.1 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 8.904e-05/0.7679, allocations: 103.3 kB / 0.678 GB, free: 14 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 7e-08/0.7679, allocations: 0 / 0.678 GB, free: 14 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0007244/0.7686, allocations: 159.6 kB / 0.6782 GB, free: 13.84 MB / 0.5137 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 2
 * Number of states: 8 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium2.X[3],medium2.X[4],state.p,state.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 (28):
 * Single equations (assignments): 28
 * Array equations: 0
 * 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.0008451/0.7694, allocations: 338.4 kB / 0.6785 GB, free: 13.5 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.000852/0.7703, allocations: 416 kB / 0.6789 GB, free: 13.09 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7703, allocations: 0 / 0.6789 GB, free: 13.09 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.7707, allocations: 211.8 kB / 0.6791 GB, free: 12.89 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007709/0.7714, allocations: 96.45 kB / 0.6792 GB, free: 12.79 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001635/0.7731, allocations: 0.8794 MB / 0.68 GB, free: 11.89 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004671/0.7736, allocations: 0.7479 MB / 0.6808 GB, free: 11.11 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.00047/0.774, allocations: 109.8 kB / 0.6809 GB, free: 11.01 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.7742, allocations: 31.38 kB / 0.6809 GB, free: 10.98 MB / 0.5137 GB
Notification: Performance of SimCode: time 3.1e-07/0.7742, allocations: 0 / 0.6809 GB, free: 10.98 MB / 0.5137 GB
Notification: Performance of Templates: time 0.01661/0.7908, allocations: 8.335 MB / 0.689 GB, free: 2.66 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/FlueGas/FlueGas.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.FlueGas.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.366417891345918]