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.001606/0.001606, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.001882/0.001882, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.532/1.532, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2733/0.2733, allocations: 46.89 MB / 361.1 MB, free: 4.656 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.002379/0.002379, allocations: 75.88 kB / 0.4967 GB, free: 7.863 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4045/0.4068, allocations: 65.99 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.2152/0.622, allocations: 152.9 MB / 0.7105 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002697/0.6247, allocations: 1.624 MB / 0.7121 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.6249, allocations: 0 / 0.7121 GB, free: 9.914 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0004309/0.6253, allocations: 51.67 kB / 0.7121 GB, free: 9.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001399/0.6267, allocations: 410 kB / 0.7125 GB, free: 9.461 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006433/0.6273, allocations: 170.3 kB / 0.7127 GB, free: 9.297 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003698/0.6277, allocations: 183.3 kB / 0.7129 GB, free: 9.117 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.606e-05/0.6278, allocations: 4 kB / 0.7129 GB, free: 9.113 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000248/0.628, allocations: 83.62 kB / 0.713 GB, free: 9.031 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000195/0.6282, allocations: 63.81 kB / 0.713 GB, free: 8.969 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.6282, allocations: 4 kB / 0.713 GB, free: 8.965 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.6298, allocations: 0.6197 MB / 0.7136 GB, free: 8.344 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.566e-05/0.6298, allocations: 39.88 kB / 0.7137 GB, free: 8.305 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.504e-05/0.6299, allocations: 51.73 kB / 0.7137 GB, free: 8.254 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.6309, allocations: 406.9 kB / 0.7141 GB, free: 7.855 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.631, allocations: 0 / 0.7141 GB, free: 7.855 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.773e-06/0.631, allocations: 0 / 0.7141 GB, free: 7.855 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.337e-06/0.631, allocations: 0 / 0.7141 GB, free: 7.855 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.0009311/0.6319, allocations: 442.9 kB / 0.7145 GB, free: 7.375 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.6319, allocations: 8.031 kB / 0.7145 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002506/0.6344, allocations: 196.6 kB / 0.7147 GB, free: 7.176 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003785/0.6348, allocations: 211.8 kB / 0.7149 GB, free: 6.93 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/0.6348, allocations: 8 kB / 0.7149 GB, free: 6.922 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.6349, allocations: 8 kB / 0.7149 GB, free: 6.914 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005609/0.6355, allocations: 208.8 kB / 0.7151 GB, free: 6.707 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.497e-05/0.6355, allocations: 3.938 kB / 0.7151 GB, free: 6.703 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.185e-05/0.6355, allocations: 8 kB / 0.7152 GB, free: 6.695 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.6355, allocations: 3.938 kB / 0.7152 GB, free: 6.691 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006414/0.6362, allocations: 231.8 kB / 0.7154 GB, free: 6.465 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.002144/0.6383, allocations: 0.6631 MB / 0.716 GB, free: 5.746 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004929/0.6388, allocations: 186.4 kB / 0.7162 GB, free: 5.555 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002323/0.639, allocations: 88.81 kB / 0.7163 GB, free: 5.465 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.6392, allocations: 97.08 kB / 0.7164 GB, free: 5.352 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.745e-05/0.6393, allocations: 38.56 kB / 0.7164 GB, free: 5.305 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 2.605e-06/0.6393, allocations: 0 / 0.7164 GB, free: 5.305 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.006525/0.6458, allocations: 1.542 MB / 0.7179 GB, free: 3.648 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001536/0.646, allocations: 55.41 kB / 0.718 GB, free: 3.582 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.6461, allocations: 105.8 kB / 0.7181 GB, free: 3.469 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.6461, allocations: 33.7 kB / 0.7181 GB, free: 3.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001494/0.6463, allocations: 96.41 kB / 0.7182 GB, free: 3.332 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 9.534e-05/0.6464, allocations: 75.36 kB / 0.7183 GB, free: 3.258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.6465, allocations: 45.69 kB / 0.7183 GB, free: 3.207 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.6467, allocations: 326.8 kB / 0.7186 GB, free: 2.879 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.647, allocations: 95.89 kB / 0.7187 GB, free: 2.785 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.6472, allocations: 115.4 kB / 0.7188 GB, free: 2.66 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006328/0.6479, allocations: 235.2 kB / 0.7191 GB, free: 2.418 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.6479, allocations: 0 / 0.7191 GB, free: 2.418 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007117/0.6486, allocations: 285.1 kB / 0.7193 GB, free: 2.133 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.232e-05/0.6486, allocations: 4 kB / 0.7193 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.568e-06/0.6486, allocations: 0 / 0.7193 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001587/0.6488, allocations: 24.84 kB / 0.7194 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.6492, allocations: 55.89 kB / 0.7194 GB, free: 2.047 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004797/0.6497, allocations: 0.5369 MB / 0.7199 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004186/0.6501, allocations: 15.91 kB / 0.7199 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.991e-05/0.6502, allocations: 11.98 kB / 0.72 GB, free: 1.457 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.0001738/0.6504, allocations: 121.8 kB / 0.7201 GB, free: 1.328 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.392e-05/0.6504, allocations: 11.95 kB / 0.7201 GB, free: 1.316 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000845/0.6513, allocations: 317.2 kB / 0.7204 GB, free: 0.9961 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.135e-06/0.6513, allocations: 4 kB / 0.7204 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.6513, allocations: 0 / 0.7204 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.6513, allocations: 0 / 0.7204 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001389/0.6527, allocations: 0.6742 MB / 0.721 GB, free: 256 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.6527, allocations: 7.984 kB / 0.7211 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004768/0.6532, allocations: 47.95 kB / 0.7211 GB, free: 200 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.315e-05/0.6533, allocations: 24.78 kB / 0.7211 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.523e-05/0.6533, allocations: 16.08 kB / 0.7211 GB, free: 156 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001302/0.6546, allocations: 1.364 MB / 0.7225 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.6546, allocations: 3.938 kB / 0.7225 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009583/0.6556, allocations: 450.8 kB / 0.7229 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.922e-05/0.6556, allocations: 85.09 kB / 0.723 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.08e-05/0.6557, allocations: 4 kB / 0.723 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.656, allocations: 11.98 kB / 0.723 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.956e-05/0.6561, allocations: 19.92 kB / 0.723 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.4e-05/0.6561, allocations: 11.92 kB / 0.723 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.04e-05/0.6562, allocations: 95.33 kB / 0.7231 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6562, allocations: 0 / 0.7231 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000635/0.6568, allocations: 131.7 kB / 0.7232 GB, free: 13.8 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.0008377/0.6577, allocations: 258.8 kB / 0.7235 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007078/0.6584, allocations: 235.5 kB / 0.7237 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6584, allocations: 0 / 0.7237 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004708/0.6589, allocations: 230.9 kB / 0.7239 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005024/0.6594, allocations: 48.42 kB / 0.724 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.6605, allocations: 488 kB / 0.7245 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004386/0.6609, allocations: 0.7046 MB / 0.7251 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002888/0.6612, allocations: 53.38 kB / 0.7252 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001199/0.6613, allocations: 19.44 kB / 0.7252 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of SimCode: time 6.71e-07/0.6613, allocations: 4 kB / 0.7252 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Templates: time 0.01366/0.675, allocations: 6.332 MB / 0.7314 GB, free: 5.383 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 6.126037474256009]