Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.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.001291/0.001291, allocations: 105.1 kB / 21.22 MB, free: 0.5117 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.001544/0.001544, allocations: 217.3 kB / 24.54 MB, free: 3.898 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.514/1.514, allocations: 230.3 MB / 258 MB, free: 8.18 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2667/0.2667, allocations: 46.93 MB / 361.4 MB, free: 4.383 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002399/0.002399, allocations: 83.86 kB / 0.4972 GB, free: 7.5 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3779, allocations: 66.04 MB / 0.5616 GB, free: 4.523 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1932/0.5712, allocations: 152.9 MB / 0.711 GB, free: 10.99 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.5732, allocations: 1.6 MB / 0.7126 GB, free: 9.387 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.88e-05/0.5733, allocations: 4 kB / 0.7126 GB, free: 9.383 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003363/0.5736, allocations: 51.72 kB / 0.7126 GB, free: 9.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0009425/0.5746, allocations: 426 kB / 0.713 GB, free: 8.914 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004639/0.575, allocations: 171 kB / 0.7132 GB, free: 8.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002502/0.5753, allocations: 179.3 kB / 0.7134 GB, free: 8.574 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.5753, allocations: 11.94 kB / 0.7134 GB, free: 8.562 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.5755, allocations: 87.62 kB / 0.7134 GB, free: 8.477 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001288/0.5756, allocations: 63.8 kB / 0.7135 GB, free: 8.414 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.5756, allocations: 4 kB / 0.7135 GB, free: 8.41 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001089/0.5767, allocations: 0.6314 MB / 0.7141 GB, free: 7.777 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.857e-05/0.5768, allocations: 31.84 kB / 0.7142 GB, free: 7.746 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.623e-05/0.5768, allocations: 51.78 kB / 0.7142 GB, free: 7.695 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006278/0.5775, allocations: 409.8 kB / 0.7146 GB, free: 7.297 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.5775, allocations: 0 / 0.7146 GB, free: 7.297 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.273e-06/0.5775, allocations: 0 / 0.7146 GB, free: 7.297 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.5775, allocations: 4 kB / 0.7146 GB, free: 7.293 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005798/0.5781, allocations: 361.8 kB / 0.7149 GB, free: 6.91 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.399e-05/0.5781, allocations: 8.031 kB / 0.715 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002153/0.5802, allocations: 196.6 kB / 0.7151 GB, free: 6.711 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002567/0.5805, allocations: 158 kB / 0.7153 GB, free: 6.531 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.5805, allocations: 12 kB / 0.7153 GB, free: 6.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.886e-05/0.5806, allocations: 8 kB / 0.7153 GB, free: 6.512 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.5811, allocations: 208.9 kB / 0.7155 GB, free: 6.305 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.5811, allocations: 3.938 kB / 0.7155 GB, free: 6.301 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.127e-05/0.5811, allocations: 4 kB / 0.7155 GB, free: 6.297 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5811, allocations: 7.938 kB / 0.7155 GB, free: 6.289 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006096/0.5817, allocations: 227.9 kB / 0.7157 GB, free: 6.066 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.001757/0.5835, allocations: 0.6096 MB / 0.7163 GB, free: 5.414 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004654/0.5839, allocations: 186.4 kB / 0.7165 GB, free: 5.223 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000218/0.5842, allocations: 92.81 kB / 0.7166 GB, free: 5.129 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001235/0.5843, allocations: 19.98 kB / 0.7166 GB, free: 5.109 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.735e-05/0.5843, allocations: 30.56 kB / 0.7167 GB, free: 5.07 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.182e-06/0.5843, allocations: 0 / 0.7167 GB, free: 5.07 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.005933/0.5903, allocations: 1.391 MB / 0.718 GB, free: 3.602 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.5903, allocations: 51.41 kB / 0.7181 GB, free: 3.539 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.5904, allocations: 121.8 kB / 0.7182 GB, free: 3.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.5904, allocations: 25.7 kB / 0.7182 GB, free: 3.379 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.362e-05/0.5905, allocations: 100.4 kB / 0.7183 GB, free: 3.277 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.262e-05/0.5906, allocations: 75.36 kB / 0.7184 GB, free: 3.203 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.389e-05/0.5907, allocations: 41.7 kB / 0.7184 GB, free: 3.156 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001407/0.5908, allocations: 318.8 kB / 0.7187 GB, free: 2.836 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.591, allocations: 91.89 kB / 0.7188 GB, free: 2.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002524/0.5913, allocations: 127.4 kB / 0.7189 GB, free: 2.609 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004833/0.5918, allocations: 227.2 kB / 0.7191 GB, free: 2.375 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5918, allocations: 0 / 0.7191 GB, free: 2.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006625/0.5924, allocations: 285.3 kB / 0.7194 GB, free: 2.09 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5924, allocations: 8 kB / 0.7194 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5924, allocations: 0 / 0.7194 GB, free: 2.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001412/0.5926, allocations: 24.84 kB / 0.7194 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/0.5931, allocations: 55.89 kB / 0.7195 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004451/0.5935, allocations: 0.5407 MB / 0.72 GB, free: 1.434 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002834/0.5938, allocations: 15.92 kB / 0.72 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.891e-05/0.5938, allocations: 4 kB / 0.72 GB, free: 1.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.0001449/0.594, allocations: 125.8 kB / 0.7202 GB, free: 1.281 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-05/0.594, allocations: 7.953 kB / 0.7202 GB, free: 1.273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007794/0.5948, allocations: 321.4 kB / 0.7205 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.92e-06/0.5948, allocations: 3.984 kB / 0.7205 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.979e-06/0.5948, allocations: 8 kB / 0.7205 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.5948, allocations: 0 / 0.7205 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001183/0.596, allocations: 0.6536 MB / 0.7211 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.596, allocations: 0 / 0.7211 GB, free: 228 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004514/0.5965, allocations: 51.89 kB / 0.7212 GB, free: 176 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.777e-05/0.5965, allocations: 24.94 kB / 0.7212 GB, free: 148 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.666e-05/0.5966, allocations: 8 kB / 0.7212 GB, free: 140 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001066/0.5976, allocations: 1.267 MB / 0.7224 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.5976, allocations: 3.984 kB / 0.7225 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/0.5985, allocations: 450.8 kB / 0.7229 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.5985, allocations: 7.984 kB / 0.7229 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/0.5986, allocations: 8 kB / 0.7229 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003313/0.5989, allocations: 8 kB / 0.7229 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.727e-05/0.5989, allocations: 11.97 kB / 0.7229 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.35e-05/0.599, allocations: 20.05 kB / 0.7229 GB, free: 14.23 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.013e-05/0.599, allocations: 91.2 kB / 0.723 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.599, allocations: 0 / 0.723 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0005345/0.5996, allocations: 131.7 kB / 0.7231 GB, free: 14.01 MB / 0.5606 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.0006443/0.6002, allocations: 263.2 kB / 0.7234 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006631/0.6009, allocations: 227.6 kB / 0.7236 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.6009, allocations: 4 kB / 0.7236 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004211/0.6013, allocations: 230.8 kB / 0.7238 GB, free: 13.28 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004304/0.6017, allocations: 56.36 kB / 0.7239 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009182/0.6027, allocations: 476.8 kB / 0.7243 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003567/0.603, allocations: 0.7086 MB / 0.725 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000282/0.6033, allocations: 61.38 kB / 0.7251 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.6034, allocations: 15.44 kB / 0.7251 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of SimCode: time 3.1e-07/0.6034, allocations: 4 kB / 0.7251 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of Templates: time 0.01144/0.6148, allocations: 6.356 MB / 0.7313 GB, free: 5.559 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_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: 5.79410336446017]