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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001201/0.001201, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 212.9 kB / 23.76 MB, free: 4.727 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.271/1.271, allocations: 207.6 MB / 234.5 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] 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.1997/0.1997, allocations: 44.24 MB / 331 MB, free: 9.52 MB / 270.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002228/0.002228, allocations: 71.83 kB / 468.7 MB, free: 4.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1094, allocations: 61.04 MB / 0.5174 GB, free: 6.84 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.3524/0.4618, allocations: 151.3 MB / 0.6651 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.4637, allocations: 1.503 MB / 0.6666 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.829e-05/0.4637, allocations: 4 kB / 0.6666 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.464, allocations: 52.66 kB / 0.6667 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008922/0.4649, allocations: 402 kB / 0.6671 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004584/0.4654, allocations: 171.4 kB / 0.6672 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002431/0.4656, allocations: 187.2 kB / 0.6674 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.777e-05/0.4657, allocations: 7.984 kB / 0.6674 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.4658, allocations: 83.62 kB / 0.6675 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.466, allocations: 59.81 kB / 0.6675 GB, free: 9.793 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.466, allocations: 8 kB / 0.6675 GB, free: 9.785 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.467, allocations: 0.6119 MB / 0.6681 GB, free: 9.172 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.661e-05/0.4671, allocations: 27.91 kB / 0.6682 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.908e-05/0.4672, allocations: 52.83 kB / 0.6682 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005901/0.4678, allocations: 385.7 kB / 0.6686 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.4678, allocations: 0 / 0.6686 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4678, allocations: 0 / 0.6686 GB, free: 8.723 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.4678, allocations: 0 / 0.6686 GB, free: 8.723 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.0005214/0.4683, allocations: 353.9 kB / 0.6689 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.4683, allocations: 16.02 kB / 0.6689 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002073/0.4704, allocations: 193.1 kB / 0.6691 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002495/0.4706, allocations: 150.4 kB / 0.6693 GB, free: 7.973 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.4707, allocations: 12.31 kB / 0.6693 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.954e-05/0.4707, allocations: 6.625 kB / 0.6693 GB, free: 7.957 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000462/0.4712, allocations: 210.6 kB / 0.6695 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4712, allocations: 0 / 0.6695 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.936e-05/0.4712, allocations: 8 kB / 0.6695 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.4712, allocations: 0 / 0.6695 GB, free: 7.738 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005622/0.4718, allocations: 239.8 kB / 0.6697 GB, free: 7.504 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.001665/0.4734, allocations: 0.6033 MB / 0.6703 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004197/0.4739, allocations: 186.5 kB / 0.6705 GB, free: 6.668 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001962/0.474, allocations: 88.81 kB / 0.6706 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.4742, allocations: 19.91 kB / 0.6706 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.32e-05/0.4742, allocations: 45 kB / 0.6706 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.242e-06/0.4742, allocations: 0 / 0.6706 GB, free: 6.508 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.005335/0.4795, allocations: 1.389 MB / 0.672 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.767e-05/0.4796, allocations: 51.41 kB / 0.672 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.859e-05/0.4797, allocations: 113.8 kB / 0.6722 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.006e-05/0.4797, allocations: 25.7 kB / 0.6722 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.436e-05/0.4798, allocations: 104.4 kB / 0.6723 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.515e-05/0.4798, allocations: 75.31 kB / 0.6724 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.617e-05/0.4799, allocations: 49.7 kB / 0.6724 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.4801, allocations: 322.8 kB / 0.6727 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002065/0.4803, allocations: 87.95 kB / 0.6728 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.4805, allocations: 127.1 kB / 0.6729 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004391/0.481, allocations: 227.3 kB / 0.6731 GB, free: 3.816 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.481, allocations: 4 kB / 0.6731 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005932/0.4816, allocations: 278.3 kB / 0.6734 GB, free: 3.531 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.4816, allocations: 15.94 kB / 0.6734 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.4816, allocations: 3.938 kB / 0.6734 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001183/0.4817, allocations: 24.84 kB / 0.6734 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.4821, allocations: 51.95 kB / 0.6735 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003768/0.4825, allocations: 0.5328 MB / 0.674 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002739/0.4828, allocations: 16.11 kB / 0.674 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.063e-05/0.4828, allocations: 8 kB / 0.674 GB, free: 2.852 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.0001341/0.483, allocations: 129.7 kB / 0.6742 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.483, allocations: 19.91 kB / 0.6742 GB, free: 2.695 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000706/0.4837, allocations: 315 kB / 0.6745 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.4837, allocations: 4 kB / 0.6745 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.4838, allocations: 3.938 kB / 0.6745 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.4838, allocations: 1.562 kB / 0.6745 GB, free: 2.367 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.4849, allocations: 0.6454 MB / 0.6751 GB, free: 1.664 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.558e-06/0.4849, allocations: 4 kB / 0.6751 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004386/0.4853, allocations: 51.89 kB / 0.6752 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.653e-05/0.4854, allocations: 24.8 kB / 0.6752 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.4854, allocations: 8.078 kB / 0.6752 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009667/0.4864, allocations: 1.267 MB / 0.6764 GB, free: 200 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.4864, allocations: 8.016 kB / 0.6764 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008471/0.4872, allocations: 446.8 kB / 0.6769 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 2.486e-05/0.4872, allocations: 15.88 kB / 0.6769 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.361e-05/0.4873, allocations: 4 kB / 0.6769 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4876, allocations: 8 kB / 0.6769 GB, free: 15.69 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.4876, allocations: 19.97 kB / 0.6769 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.816e-05/0.4877, allocations: 11.98 kB / 0.6769 GB, free: 15.66 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.376e-05/0.4877, allocations: 87.27 kB / 0.677 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.4877, allocations: 4.062 kB / 0.677 GB, free: 15.57 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006225/0.4883, allocations: 131.7 kB / 0.6771 GB, free: 15.44 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.0006037/0.4889, allocations: 250.6 kB / 0.6774 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0005877/0.4895, allocations: 223.8 kB / 0.6776 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4895, allocations: 0 / 0.6776 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0003973/0.4899, allocations: 234.9 kB / 0.6778 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004086/0.4903, allocations: 41.78 kB / 0.6779 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008922/0.4912, allocations: 0.5085 MB / 0.6784 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.4915, allocations: 0.7086 MB / 0.679 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001562/0.4917, allocations: 31.42 kB / 0.6791 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of SimCode: time 4.21e-07/0.4917, allocations: 0 / 0.6791 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of Templates: time 0.008256/0.5, allocations: 5.119 MB / 0.6841 GB, free: 8.262 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 [Calling sys.exit(0), Time elapsed: 7.71408232091926]