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.001491/0.001491, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.001636/0.001636, allocations: 211 kB / 24.48 MB, free: 4.035 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.423/1.423, allocations: 230.2 MB / 257.8 MB, free: 8.508 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.2252/0.2252, allocations: 46.89 MB / 361.1 MB, free: 4.637 MB / 286.1 MB " [Timeout remaining time 180] 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.002274/0.002274, allocations: 79.88 kB / 0.4968 GB, free: 7.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3081, allocations: 65.97 MB / 0.5612 GB, free: 5.051 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.1793/0.4874, allocations: 152.7 MB / 0.7103 GB, free: 11.71 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001567/0.489, allocations: 1.059 MB / 0.7114 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.691e-05/0.489, allocations: 0 / 0.7114 GB, free: 10.65 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002753/0.4893, allocations: 31.75 kB / 0.7114 GB, free: 10.62 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0007948/0.4901, allocations: 281.4 kB / 0.7117 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.4905, allocations: 119.6 kB / 0.7118 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.4908, allocations: 179.2 kB / 0.712 GB, free: 10.05 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.94e-05/0.4908, allocations: 7.922 kB / 0.712 GB, free: 10.04 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002246/0.491, allocations: 91.62 kB / 0.7121 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001182/0.4912, allocations: 67.73 kB / 0.7121 GB, free: 9.887 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.809e-05/0.4912, allocations: 4 kB / 0.7121 GB, free: 9.883 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000549/0.4917, allocations: 275.7 kB / 0.7124 GB, free: 9.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.641e-05/0.4918, allocations: 27.91 kB / 0.7124 GB, free: 9.586 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.151e-05/0.4918, allocations: 39.86 kB / 0.7125 GB, free: 9.547 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004465/0.4923, allocations: 287.2 kB / 0.7127 GB, free: 9.266 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.4923, allocations: 0 / 0.7127 GB, free: 9.266 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.303e-06/0.4923, allocations: 0 / 0.7127 GB, free: 9.266 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.4923, allocations: 0 / 0.7127 GB, free: 9.266 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.0005836/0.4929, allocations: 407 kB / 0.7131 GB, free: 8.82 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.4929, allocations: 16.03 kB / 0.7131 GB, free: 8.805 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00221/0.4951, allocations: 200.6 kB / 0.7133 GB, free: 8.609 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003648/0.4955, allocations: 211.6 kB / 0.7135 GB, free: 8.363 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.4955, allocations: 4 kB / 0.7135 GB, free: 8.359 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.866e-05/0.4956, allocations: 12 kB / 0.7135 GB, free: 8.348 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005127/0.4961, allocations: 224 kB / 0.7138 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.4961, allocations: 0 / 0.7138 GB, free: 8.113 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.4961, allocations: 4 kB / 0.7138 GB, free: 8.109 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.4961, allocations: 4 kB / 0.7138 GB, free: 8.105 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000441/0.4966, allocations: 171.8 kB / 0.7139 GB, free: 7.938 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.001105/0.4977, allocations: 0.5795 MB / 0.7145 GB, free: 7.301 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.498, allocations: 138.4 kB / 0.7146 GB, free: 7.156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.4982, allocations: 68.83 kB / 0.7147 GB, free: 7.086 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.339e-05/0.4982, allocations: 7.969 kB / 0.7147 GB, free: 7.078 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.175e-05/0.4982, allocations: 38.56 kB / 0.7147 GB, free: 7.031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.4982, allocations: 4 kB / 0.7147 GB, free: 7.027 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.005512/0.5038, allocations: 1.302 MB / 0.716 GB, free: 5.637 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.01e-05/0.5038, allocations: 59.41 kB / 0.7161 GB, free: 5.566 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001052/0.5039, allocations: 109.8 kB / 0.7162 GB, free: 5.449 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.5039, allocations: 29.7 kB / 0.7162 GB, free: 5.414 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.504, allocations: 95.98 kB / 0.7163 GB, free: 5.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.355e-05/0.5041, allocations: 71.41 kB / 0.7164 GB, free: 5.246 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.5042, allocations: 57.64 kB / 0.7164 GB, free: 5.184 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001525/0.5043, allocations: 322.8 kB / 0.7167 GB, free: 4.859 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000161/0.5045, allocations: 71.97 kB / 0.7168 GB, free: 4.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001918/0.5047, allocations: 107.2 kB / 0.7169 GB, free: 4.672 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.5051, allocations: 179.3 kB / 0.7171 GB, free: 4.484 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.5051, allocations: 0 / 0.7171 GB, free: 4.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005331/0.5056, allocations: 262.2 kB / 0.7173 GB, free: 4.219 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/0.5056, allocations: 8 kB / 0.7173 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5056, allocations: 0 / 0.7173 GB, free: 4.211 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001786/0.5058, allocations: 48.83 kB / 0.7174 GB, free: 4.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003278/0.5061, allocations: 55.89 kB / 0.7174 GB, free: 4.105 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004876/0.5066, allocations: 0.5645 MB / 0.718 GB, free: 3.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.5068, allocations: 12.02 kB / 0.718 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.989e-05/0.5068, allocations: 20 kB / 0.718 GB, free: 3.484 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.0001312/0.507, allocations: 125.8 kB / 0.7181 GB, free: 3.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.032e-05/0.507, allocations: 7.953 kB / 0.7181 GB, free: 3.344 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007802/0.5078, allocations: 365.8 kB / 0.7185 GB, free: 2.98 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.5078, allocations: 4 kB / 0.7185 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.5078, allocations: 0 / 0.7185 GB, free: 2.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.239e-05/0.5078, allocations: 81.06 kB / 0.7186 GB, free: 2.879 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.98e-05/0.5079, allocations: 7.984 kB / 0.7186 GB, free: 2.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002154/0.5081, allocations: 8 kB / 0.7186 GB, free: 2.863 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.451e-05/0.5081, allocations: 23.97 kB / 0.7186 GB, free: 2.84 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000854/0.509, allocations: 333.6 kB / 0.7189 GB, free: 2.504 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006783/0.5097, allocations: 457.7 kB / 0.7194 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001662/0.5098, allocations: 72 kB / 0.7194 GB, free: 1.973 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.301e-05/0.5099, allocations: 99.2 kB / 0.7195 GB, free: 1.875 MB / 0.545 GB Notification: Performance of Backend: time 3.5e-07/0.5099, allocations: 0 / 0.7195 GB, free: 1.875 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001062/0.511, allocations: 312 kB / 0.7198 GB, free: 1.566 MB / 0.545 GB Notification: Performance of SimCode: time 0.001054/0.512, allocations: 0.868 MB / 0.7207 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of Templates: time 0.01151/0.5235, allocations: 6.844 MB / 0.7273 GB, free: 9.793 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.334942178800702]