Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001532/0.001532, allocations: 107.2 kB / 19.69 MB, free: 2.199 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.001918/0.001918, allocations: 189.5 kB / 22.98 MB, free: 5.062 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.758/1.758, 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.2572/0.2572, allocations: 44.24 MB / 330.2 MB, free: 9.566 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix")
translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [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.002449/0.002449, allocations: 71.89 kB / 467.9 MB, free: 4.062 MB / 334.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1421, allocations: 61.02 MB / 0.5166 GB, free: 6.902 MB / 398.1 MB
Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4715/0.6137, allocations: 151.4 MB / 0.6644 GB, free: 12.32 MB / 0.4981 GB
Notification: Performance of NFInst.instExpressions: time 0.002478/0.6161, allocations: 1.503 MB / 0.6658 GB, free: 10.82 MB / 0.4981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001341/0.6163, allocations: 0.9375 kB / 0.6658 GB, free: 10.82 MB / 0.4981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0003747/0.6166, allocations: 51.72 kB / 0.6659 GB, free: 10.77 MB / 0.4981 GB
Notification: Performance of NFTyping.typeBindings: time 0.001297/0.6179, allocations: 405.9 kB / 0.6663 GB, free: 10.38 MB / 0.4981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0006033/0.6185, allocations: 169.3 kB / 0.6664 GB, free: 10.21 MB / 0.4981 GB
Notification: Performance of NFFlatten.flatten: time 0.0003916/0.6189, allocations: 187.2 kB / 0.6666 GB, free: 10.03 MB / 0.4981 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.619, allocations: 7.969 kB / 0.6666 GB, free: 10.02 MB / 0.4981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002942/0.6193, allocations: 79.7 kB / 0.6667 GB, free: 9.945 MB / 0.4981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.6195, allocations: 67.8 kB / 0.6668 GB, free: 9.879 MB / 0.4981 GB
Notification: Performance of NFPackage.collectConstants: time 2.416e-05/0.6195, allocations: 7.938 kB / 0.6668 GB, free: 9.871 MB / 0.4981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001377/0.6209, allocations: 0.6041 MB / 0.6674 GB, free: 9.266 MB / 0.4981 GB
Notification: Performance of NFScalarize.scalarize: time 7.128e-05/0.621, allocations: 28.94 kB / 0.6674 GB, free: 9.238 MB / 0.4981 GB
Notification: Performance of NFVerifyModel.verify: time 8.481e-05/0.621, allocations: 55.78 kB / 0.6674 GB, free: 9.184 MB / 0.4981 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008551/0.6219, allocations: 381.7 kB / 0.6678 GB, free: 8.816 MB / 0.4981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.6219, allocations: 0 / 0.6678 GB, free: 8.816 MB / 0.4981 GB
Notification: Performance of FrontEnd: time 1.624e-06/0.6219, allocations: 0 / 0.6678 GB, free: 8.816 MB / 0.4981 GB
Notification: Performance of Transformations before backend: time 8.366e-06/0.6219, allocations: 0 / 0.6678 GB, free: 8.816 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: 21
 * Number of variables: 21
Notification: Performance of Generate backend data structure: time 0.0007425/0.6226, allocations: 357.9 kB / 0.6681 GB, free: 8.438 MB / 0.4981 GB
Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6227, allocations: 8.031 kB / 0.6682 GB, free: 8.43 MB / 0.4981 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002402/0.6251, allocations: 201.1 kB / 0.6683 GB, free: 8.234 MB / 0.4981 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003051/0.6254, allocations: 146.4 kB / 0.6685 GB, free: 8.066 MB / 0.4981 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.6254, allocations: 12.31 kB / 0.6685 GB, free: 8.055 MB / 0.4981 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.6255, allocations: 17.22 kB / 0.6685 GB, free: 8.039 MB / 0.4981 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005337/0.626, allocations: 193.5 kB / 0.6687 GB, free: 7.844 MB / 0.4981 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.626, allocations: 4 kB / 0.6687 GB, free: 7.84 MB / 0.4981 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.6261, allocations: 4 kB / 0.6687 GB, free: 7.836 MB / 0.4981 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.6261, allocations: 0 / 0.6687 GB, free: 7.836 MB / 0.4981 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006481/0.6267, allocations: 247.7 kB / 0.6689 GB, free: 7.594 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.00188/0.6286, allocations: 0.6072 MB / 0.6695 GB, free: 6.945 MB / 0.4981 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000474/0.6291, allocations: 182.5 kB / 0.6697 GB, free: 6.758 MB / 0.4981 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002313/0.6293, allocations: 92.81 kB / 0.6698 GB, free: 6.664 MB / 0.4981 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.6294, allocations: 16 kB / 0.6698 GB, free: 6.648 MB / 0.4981 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.49e-05/0.6295, allocations: 44.77 kB / 0.6699 GB, free: 6.598 MB / 0.4981 GB
Notification: Performance of pre-optimization done (n=14): time 2.224e-06/0.6295, allocations: 0 / 0.6699 GB, free: 6.598 MB / 0.4981 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.006167/0.6356, allocations: 1.392 MB / 0.6712 GB, free: 5.133 MB / 0.4981 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.6357, allocations: 59.39 kB / 0.6713 GB, free: 5.062 MB / 0.4981 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.6358, allocations: 105.8 kB / 0.6714 GB, free: 4.949 MB / 0.4981 GB
Notification: Performance of collectPreVariables (initialization): time 4.124e-05/0.6358, allocations: 33.7 kB / 0.6714 GB, free: 4.91 MB / 0.4981 GB
Notification: Performance of collectInitialEqns (initialization): time 6.858e-05/0.6359, allocations: 88.42 kB / 0.6715 GB, free: 4.82 MB / 0.4981 GB
Notification: Performance of collectInitialBindings (initialization): time 7.658e-05/0.636, allocations: 83.31 kB / 0.6716 GB, free: 4.738 MB / 0.4981 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.6361, allocations: 41.7 kB / 0.6716 GB, free: 4.691 MB / 0.4981 GB
Notification: Performance of setup shared object (initialization): time 0.0001485/0.6362, allocations: 322.8 kB / 0.6719 GB, free: 4.367 MB / 0.4981 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002368/0.6365, allocations: 87.95 kB / 0.672 GB, free: 4.281 MB / 0.4981 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.6368, allocations: 131.1 kB / 0.6721 GB, free: 4.141 MB / 0.4981 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004971/0.6372, allocations: 223.3 kB / 0.6723 GB, free: 3.91 MB / 0.4981 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6372, allocations: 0 / 0.6723 GB, free: 3.91 MB / 0.4981 GB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006756/0.6379, allocations: 298.1 kB / 0.6726 GB, free: 3.609 MB / 0.4981 GB
Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.6379, allocations: 4 kB / 0.6726 GB, free: 3.605 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.638, allocations: 0 / 0.6726 GB, free: 3.605 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0001523/0.6381, allocations: 24.84 kB / 0.6726 GB, free: 3.578 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004857/0.6386, allocations: 55.97 kB / 0.6727 GB, free: 3.523 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004409/0.639, allocations: 0.5368 MB / 0.6732 GB, free: 2.961 MB / 0.4981 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002886/0.6393, allocations: 8.891 kB / 0.6732 GB, free: 2.953 MB / 0.4981 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/0.6394, allocations: 12 kB / 0.6732 GB, free: 2.941 MB / 0.4981 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.0001642/0.6395, allocations: 129.7 kB / 0.6734 GB, free: 2.805 MB / 0.4981 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.779e-05/0.6396, allocations: 11.91 kB / 0.6734 GB, free: 2.793 MB / 0.4981 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008206/0.6404, allocations: 310.6 kB / 0.6737 GB, free: 2.477 MB / 0.4981 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.224e-06/0.6404, allocations: 4 kB / 0.6737 GB, free: 2.473 MB / 0.4981 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.6404, allocations: 3.938 kB / 0.6737 GB, free: 2.469 MB / 0.4981 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.6404, allocations: 3.984 kB / 0.6737 GB, free: 2.465 MB / 0.4981 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.6417, allocations: 0.653 MB / 0.6743 GB, free: 1.758 MB / 0.4981 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.6417, allocations: 0 / 0.6743 GB, free: 1.758 MB / 0.4981 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004816/0.6422, allocations: 51.89 kB / 0.6744 GB, free: 1.707 MB / 0.4981 GB
Notification: Performance of postOpt tearingSystem (simulation): time 8.635e-05/0.6423, allocations: 28.89 kB / 0.6744 GB, free: 1.676 MB / 0.4981 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.143e-05/0.6423, allocations: 8 kB / 0.6744 GB, free: 1.668 MB / 0.4981 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001063/0.6434, allocations: 1.267 MB / 0.6756 GB, free: 292 kB / 0.4981 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.6434, allocations: 0 / 0.6756 GB, free: 292 kB / 0.4981 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009249/0.6443, allocations: 450.8 kB / 0.6761 GB, free: 15.82 MB / 0.5137 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.359e-05/0.6443, allocations: 15.84 kB / 0.6761 GB, free: 15.8 MB / 0.5137 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.326e-05/0.6443, allocations: 7.984 kB / 0.6761 GB, free: 15.79 MB / 0.5137 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003376/0.6447, allocations: 8 kB / 0.6761 GB, free: 15.79 MB / 0.5137 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.527e-05/0.6447, allocations: 15.97 kB / 0.6761 GB, free: 15.77 MB / 0.5137 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.311e-05/0.6448, allocations: 11.98 kB / 0.6761 GB, free: 15.76 MB / 0.5137 GB
Notification: Performance of sorting global known variables: time 6.102e-05/0.6448, allocations: 95.64 kB / 0.6762 GB, free: 15.66 MB / 0.5137 GB
Notification: Performance of sort global known variables: time 7e-08/0.6448, allocations: 0 / 0.6762 GB, free: 15.66 MB / 0.5137 GB
Notification: Performance of remove unused functions: time 0.0005538/0.6454, allocations: 131.7 kB / 0.6764 GB, free: 15.54 MB / 0.5137 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 (19):
 * Single equations (assignments): 18
 * 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.000744/0.6461, allocations: 254.7 kB / 0.6766 GB, free: 15.28 MB / 0.5137 GB
Notification: Performance of simCode: created initialization part: time 0.0006601/0.6468, allocations: 215.8 kB / 0.6768 GB, free: 15.07 MB / 0.5137 GB
Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.6468, allocations: 4 kB / 0.6768 GB, free: 15.06 MB / 0.5137 GB
Notification: Performance of simCode: created simulation system equations: time 0.0004342/0.6472, allocations: 226.8 kB / 0.677 GB, free: 14.83 MB / 0.5137 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.6476, allocations: 46.89 kB / 0.6771 GB, free: 14.79 MB / 0.5137 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.6487, allocations: 492.1 kB / 0.6775 GB, free: 14.27 MB / 0.5137 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003765/0.649, allocations: 0.7086 MB / 0.6782 GB, free: 13.53 MB / 0.5137 GB
Notification: Performance of simCode: alias equations: time 0.0002877/0.6493, allocations: 53.62 kB / 0.6783 GB, free: 13.48 MB / 0.5137 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001229/0.6494, allocations: 27.44 kB / 0.6783 GB, free: 13.45 MB / 0.5137 GB
Notification: Performance of SimCode: time 6.41e-07/0.6494, allocations: 0 / 0.6783 GB, free: 13.45 MB / 0.5137 GB
Notification: Performance of Templates: time 0.01305/0.6625, allocations: 6.393 MB / 0.6845 GB, free: 7.07 MB / 0.5137 GB
"
[Timeout remaining time 659]
make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660]
(rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480]
diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.067821227945387]