Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.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.001684/0.001684, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001783/0.001783, allocations: 211.8 kB / 24.54 MB, free: 4.016 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.526/1.526, allocations: 230.3 MB / 258 MB, free: 8.23 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.244/0.244, 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.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2") [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.002342/0.002342, allocations: 79.86 kB / 0.4972 GB, free: 7.504 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.367/0.3694, allocations: 66.04 MB / 0.5616 GB, free: 4.5 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1996/0.569, allocations: 152.7 MB / 0.7108 GB, free: 11.16 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001626/0.5706, allocations: 1.067 MB / 0.7118 GB, free: 10.09 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.5707, allocations: 4 kB / 0.7118 GB, free: 10.08 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002911/0.5709, allocations: 31.77 kB / 0.7119 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007711/0.5717, allocations: 286.2 kB / 0.7122 GB, free: 9.773 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00039/0.5721, allocations: 115.1 kB / 0.7123 GB, free: 9.664 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002798/0.5724, allocations: 187.2 kB / 0.7124 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.027e-05/0.5724, allocations: 7.984 kB / 0.7124 GB, free: 9.473 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002328/0.5727, allocations: 103.5 kB / 0.7125 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.5728, allocations: 47.83 kB / 0.7126 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.96e-05/0.5728, allocations: 8 kB / 0.7126 GB, free: 9.316 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005451/0.5734, allocations: 271.7 kB / 0.7129 GB, free: 9.051 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.5734, allocations: 27.86 kB / 0.7129 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.704e-05/0.5735, allocations: 47.84 kB / 0.7129 GB, free: 8.977 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004708/0.574, allocations: 282.1 kB / 0.7132 GB, free: 8.703 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.574, allocations: 0 / 0.7132 GB, free: 8.703 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.472e-06/0.574, allocations: 4 kB / 0.7132 GB, free: 8.699 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.574, allocations: 0 / 0.7132 GB, free: 8.699 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000571/0.5745, allocations: 337.8 kB / 0.7135 GB, free: 8.34 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.5746, allocations: 8.031 kB / 0.7135 GB, free: 8.332 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002049/0.5766, allocations: 196.6 kB / 0.7137 GB, free: 8.141 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.577, allocations: 157.7 kB / 0.7139 GB, free: 7.961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.396e-05/0.577, allocations: 8 kB / 0.7139 GB, free: 7.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.795e-05/0.5771, allocations: 8 kB / 0.7139 GB, free: 7.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005324/0.5776, allocations: 216.1 kB / 0.7141 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.5776, allocations: 0 / 0.7141 GB, free: 7.719 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.128e-05/0.5776, allocations: 7.938 kB / 0.7141 GB, free: 7.711 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.818e-06/0.5776, allocations: 4 kB / 0.7141 GB, free: 7.707 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004549/0.5781, allocations: 175.8 kB / 0.7143 GB, free: 7.535 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.001123/0.5792, allocations: 0.5511 MB / 0.7148 GB, free: 6.934 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003828/0.5796, allocations: 138.5 kB / 0.7149 GB, free: 6.789 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001473/0.5798, allocations: 68.77 kB / 0.715 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.397e-05/0.5798, allocations: 0 / 0.715 GB, free: 6.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.697e-05/0.5798, allocations: 42.55 kB / 0.715 GB, free: 6.668 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 8.32e-07/0.5798, allocations: 0 / 0.715 GB, free: 6.668 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.005247/0.5851, allocations: 1.161 MB / 0.7162 GB, free: 5.453 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.506e-05/0.5851, allocations: 51.41 kB / 0.7162 GB, free: 5.391 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.5852, allocations: 113.8 kB / 0.7163 GB, free: 5.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.306e-05/0.5853, allocations: 29.7 kB / 0.7164 GB, free: 5.234 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.156e-05/0.5853, allocations: 103.9 kB / 0.7165 GB, free: 5.129 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 7.78e-05/0.5854, allocations: 71.42 kB / 0.7165 GB, free: 5.059 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.823e-05/0.5855, allocations: 57.64 kB / 0.7166 GB, free: 4.996 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.5857, allocations: 318.8 kB / 0.7169 GB, free: 4.676 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001639/0.5858, allocations: 75.95 kB / 0.717 GB, free: 4.602 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001972/0.586, allocations: 103.2 kB / 0.7171 GB, free: 4.488 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.5864, allocations: 182.7 kB / 0.7172 GB, free: 4.301 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.5864, allocations: 0 / 0.7172 GB, free: 4.301 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000519/0.5869, allocations: 258.3 kB / 0.7175 GB, free: 4.039 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.5869, allocations: 6.188 kB / 0.7175 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.5869, allocations: 4.094 kB / 0.7175 GB, free: 4.031 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001831/0.5871, allocations: 48.83 kB / 0.7175 GB, free: 3.98 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003488/0.5874, allocations: 55.91 kB / 0.7176 GB, free: 3.926 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006801/0.5881, allocations: 0.5679 MB / 0.7182 GB, free: 3.332 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001682/0.5883, allocations: 4 kB / 0.7182 GB, free: 3.328 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.585e-05/0.5883, allocations: 32.08 kB / 0.7182 GB, free: 3.297 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.0002154/0.5886, allocations: 117.8 kB / 0.7183 GB, free: 3.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.975e-05/0.5886, allocations: 11.95 kB / 0.7183 GB, free: 3.16 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007774/0.5894, allocations: 357.9 kB / 0.7187 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.5894, allocations: 0 / 0.7187 GB, free: 2.809 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.5894, allocations: 4 kB / 0.7187 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.5894, allocations: 0 / 0.7187 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001066/0.5905, allocations: 0.5947 MB / 0.7192 GB, free: 2.148 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.5905, allocations: 3.938 kB / 0.7192 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003516/0.5908, allocations: 67.89 kB / 0.7193 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.999e-05/0.5909, allocations: 20.94 kB / 0.7193 GB, free: 2.055 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.592e-05/0.5909, allocations: 12 kB / 0.7193 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001266/0.5922, allocations: 1.263 MB / 0.7206 GB, free: 0.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.5922, allocations: 4.031 kB / 0.7206 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007346/0.5929, allocations: 434.6 kB / 0.721 GB, free: 216 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.8e-05/0.593, allocations: 11.97 kB / 0.721 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.329e-05/0.593, allocations: 8 kB / 0.721 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002141/0.5932, allocations: 4 kB / 0.721 GB, free: 192 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.274e-05/0.5933, allocations: 19.97 kB / 0.721 GB, free: 172 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-05/0.5933, allocations: 35.98 kB / 0.7211 GB, free: 136 kB / 0.545 GB Notification: Performance of sorting global known variables: time 6.391e-05/0.5934, allocations: 87.27 kB / 0.7211 GB, free: 48 kB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5934, allocations: 0 / 0.7211 GB, free: 48 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004331/0.5938, allocations: 87.92 kB / 0.7212 GB, free: 15.96 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 (21): * Single equations (assignments): 20 * 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.0003889/0.5942, allocations: 151 kB / 0.7214 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005438/0.5947, allocations: 199.2 kB / 0.7216 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.5947, allocations: 0 / 0.7216 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004024/0.5951, allocations: 220.7 kB / 0.7218 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.5956, allocations: 48.86 kB / 0.7218 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009127/0.5965, allocations: 484.4 kB / 0.7223 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003876/0.5969, allocations: 0.7086 MB / 0.723 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0003034/0.5972, allocations: 73.39 kB / 0.723 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.5973, allocations: 55.34 kB / 0.7231 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of SimCode: time 7.41e-07/0.5973, allocations: 3.938 kB / 0.7231 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.01209/0.6094, allocations: 5.778 MB / 0.7287 GB, free: 8.176 MB / 0.5606 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestOnly.IdealGasN2.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.821014588698745]