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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001766/0.001766, allocations: 101 kB / 18.9 MB, free: 3.406 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001959/0.001959, allocations: 193.9 kB / 22.06 MB, free: 268 kB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 207.6 MB / 232.6 MB, free: 11.05 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2242/0.2242, allocations: 44.25 MB / 328.9 MB, free: 10.13 MB / 270.1 MB [Timeout remaining time 89] 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.002143/0.002143, allocations: 74.33 kB / 465.9 MB, free: 5.141 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1172/0.1194, allocations: 61.01 MB / 0.5146 GB, free: 7.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4357/0.5551, allocations: 151.3 MB / 0.6623 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002214/0.5573, allocations: 1.501 MB / 0.6638 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.68e-05/0.5574, allocations: 0 / 0.6638 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003593/0.5577, allocations: 59.66 kB / 0.6638 GB, free: 11.84 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001093/0.5588, allocations: 390 kB / 0.6642 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005665/0.5594, allocations: 171.4 kB / 0.6644 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003057/0.5597, allocations: 175.3 kB / 0.6645 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.338e-05/0.5598, allocations: 11.98 kB / 0.6646 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002617/0.56, allocations: 83.69 kB / 0.6646 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001692/0.5602, allocations: 67.73 kB / 0.6647 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.5602, allocations: 8 kB / 0.6647 GB, free: 10.95 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001356/0.5616, allocations: 0.5947 MB / 0.6653 GB, free: 10.36 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.664e-05/0.5616, allocations: 35.84 kB / 0.6653 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.5617, allocations: 47.78 kB / 0.6654 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008498/0.5626, allocations: 389.7 kB / 0.6657 GB, free: 9.898 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.5626, allocations: 4 kB / 0.6657 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.5626, allocations: 0 / 0.6657 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.5626, allocations: 0 / 0.6657 GB, free: 9.895 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.0006714/0.5633, allocations: 423 kB / 0.6661 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.5633, allocations: 11.89 kB / 0.6662 GB, free: 9.422 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002167/0.5655, allocations: 201.1 kB / 0.6664 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000319/0.5658, allocations: 208.2 kB / 0.6665 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.5658, allocations: 8.312 kB / 0.6666 GB, free: 8.977 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.5659, allocations: 12 kB / 0.6666 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005088/0.5664, allocations: 201.5 kB / 0.6668 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.5664, allocations: 4 kB / 0.6668 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.344e-05/0.5664, allocations: 4 kB / 0.6668 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.5664, allocations: 0 / 0.6668 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.567, allocations: 239.8 kB / 0.667 GB, free: 8.52 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.001875/0.5689, allocations: 0.6684 MB / 0.6676 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004945/0.5694, allocations: 182.4 kB / 0.6678 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.5696, allocations: 88.81 kB / 0.6679 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001924/0.5698, allocations: 101.1 kB / 0.668 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.977e-05/0.5698, allocations: 35.78 kB / 0.668 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5698, allocations: 0 / 0.668 GB, free: 7.359 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.006393/0.5762, allocations: 1.531 MB / 0.6695 GB, free: 5.719 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.662e-05/0.5763, allocations: 59.39 kB / 0.6696 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/0.5765, allocations: 117.8 kB / 0.6697 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.5765, allocations: 25.7 kB / 0.6697 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.5766, allocations: 100.4 kB / 0.6698 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001176/0.5767, allocations: 83.31 kB / 0.6699 GB, free: 5.309 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001411/0.5769, allocations: 41.7 kB / 0.6699 GB, free: 5.262 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001845/0.577, allocations: 318.8 kB / 0.6702 GB, free: 4.941 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002463/0.5773, allocations: 87.95 kB / 0.6703 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003114/0.5776, allocations: 131.1 kB / 0.6705 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.5781, allocations: 223.3 kB / 0.6707 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5781, allocations: 0 / 0.6707 GB, free: 4.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007475/0.5789, allocations: 290.2 kB / 0.6709 GB, free: 4.191 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.843e-05/0.5789, allocations: 4 kB / 0.6709 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/0.5789, allocations: 4.938 kB / 0.671 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001591/0.5791, allocations: 24.84 kB / 0.671 GB, free: 4.156 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004614/0.5795, allocations: 55.91 kB / 0.671 GB, free: 4.102 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004518/0.58, allocations: 0.5368 MB / 0.6716 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002866/0.5803, allocations: 11.98 kB / 0.6716 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/0.5803, allocations: 8 kB / 0.6716 GB, free: 3.52 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.0001576/0.5805, allocations: 125.8 kB / 0.6717 GB, free: 3.387 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.414e-05/0.5805, allocations: 11.91 kB / 0.6717 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007988/0.5813, allocations: 316 kB / 0.672 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.868e-06/0.5813, allocations: 0 / 0.672 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/0.5814, allocations: 4.812 kB / 0.672 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.005e-05/0.5814, allocations: 7.984 kB / 0.672 GB, free: 3.047 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001314/0.5827, allocations: 0.682 MB / 0.6727 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.876e-06/0.5827, allocations: 0 / 0.6727 GB, free: 2.293 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.5831, allocations: 51.89 kB / 0.6727 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.214e-05/0.5832, allocations: 24.94 kB / 0.6728 GB, free: 2.215 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.948e-05/0.5833, allocations: 11.38 kB / 0.6728 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001216/0.5845, allocations: 1.367 MB / 0.6741 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5845, allocations: 3.938 kB / 0.6741 GB, free: 0.6992 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009119/0.5854, allocations: 454.2 kB / 0.6745 GB, free: 236 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.5855, allocations: 96.94 kB / 0.6746 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.071e-05/0.5855, allocations: 0 / 0.6746 GB, free: 120 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003225/0.5859, allocations: 8 kB / 0.6746 GB, free: 112 kB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.5859, allocations: 19.97 kB / 0.6747 GB, free: 92 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.115e-05/0.5859, allocations: 11.98 kB / 0.6747 GB, free: 80 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.92e-05/0.586, allocations: 91.34 kB / 0.6748 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.586, allocations: 0 / 0.6748 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0005752/0.5866, allocations: 131.7 kB / 0.6749 GB, free: 15.86 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.0007285/0.5873, allocations: 254.6 kB / 0.6751 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0006873/0.588, allocations: 219.8 kB / 0.6753 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.588, allocations: 0 / 0.6753 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004964/0.5885, allocations: 230.9 kB / 0.6756 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004689/0.589, allocations: 52.48 kB / 0.6756 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.59, allocations: 0.504 MB / 0.6761 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003658/0.5904, allocations: 0.7046 MB / 0.6768 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.5905, allocations: 35.41 kB / 0.6768 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of SimCode: time 1.263e-06/0.5905, allocations: 0 / 0.6768 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of Templates: time 0.009671/0.6002, allocations: 5.121 MB / 0.6818 GB, free: 8.676 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/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