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.001492/0.001492, 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.001658/0.001658, 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.434/1.434, allocations: 230.2 MB / 257.8 MB, free: 8.512 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.2486/0.2486, allocations: 46.88 MB / 361.1 MB, free: 4.668 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.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.002255/0.002255, allocations: 79.86 kB / 0.4967 GB, free: 7.875 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3054/0.3076, allocations: 65.99 MB / 0.5612 GB, free: 5.082 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.1862/0.4939, allocations: 152.9 MB / 0.7105 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002051/0.4959, allocations: 1.604 MB / 0.7121 GB, free: 9.953 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.725e-05/0.496, allocations: 8 kB / 0.7121 GB, free: 9.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003503/0.4963, allocations: 51.72 kB / 0.7122 GB, free: 9.895 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.000921/0.4972, allocations: 414 kB / 0.7125 GB, free: 9.488 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.4977, allocations: 178 kB / 0.7127 GB, free: 9.32 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002565/0.498, allocations: 175.3 kB / 0.7129 GB, free: 9.148 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.771e-05/0.498, allocations: 7.984 kB / 0.7129 GB, free: 9.141 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001716/0.4982, allocations: 83.62 kB / 0.713 GB, free: 9.059 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001441/0.4983, allocations: 67.8 kB / 0.713 GB, free: 8.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.4984, allocations: 8 kB / 0.713 GB, free: 8.984 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001099/0.4995, allocations: 0.6197 MB / 0.7136 GB, free: 8.363 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.574e-05/0.4995, allocations: 27.91 kB / 0.7137 GB, free: 8.336 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 7.029e-05/0.4996, allocations: 55.72 kB / 0.7137 GB, free: 8.281 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006027/0.5002, allocations: 406.9 kB / 0.7141 GB, free: 7.883 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.5002, allocations: 0 / 0.7141 GB, free: 7.883 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5002, allocations: 0 / 0.7141 GB, free: 7.883 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.5002, allocations: 4 kB / 0.7141 GB, free: 7.879 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.0006126/0.5008, allocations: 434.9 kB / 0.7145 GB, free: 7.406 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.5008, allocations: 8.031 kB / 0.7145 GB, free: 7.398 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.5032, allocations: 196.6 kB / 0.7147 GB, free: 7.207 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.5035, allocations: 211.8 kB / 0.7149 GB, free: 6.961 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.5035, allocations: 4 kB / 0.7149 GB, free: 6.957 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/0.5036, allocations: 11.94 kB / 0.7149 GB, free: 6.945 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004976/0.5041, allocations: 208.3 kB / 0.7151 GB, free: 6.738 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5041, allocations: 3.938 kB / 0.7152 GB, free: 6.734 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.354e-05/0.5041, allocations: 4 kB / 0.7152 GB, free: 6.73 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.107e-05/0.5041, allocations: 7.938 kB / 0.7152 GB, free: 6.723 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005924/0.5047, allocations: 231.8 kB / 0.7154 GB, free: 6.496 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.001863/0.5066, allocations: 0.663 MB / 0.716 GB, free: 5.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.507, allocations: 186.4 kB / 0.7162 GB, free: 5.586 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.5073, allocations: 96.81 kB / 0.7163 GB, free: 5.488 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001558/0.5074, allocations: 89.09 kB / 0.7164 GB, free: 5.383 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.105e-05/0.5075, allocations: 34.56 kB / 0.7164 GB, free: 5.34 MB / 0.545 GB Notification: Performance of pre-optimization done (n=14): time 1.623e-06/0.5075, allocations: 0 / 0.7164 GB, free: 5.34 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.006029/0.5135, allocations: 1.55 MB / 0.7179 GB, free: 3.672 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.375e-05/0.5135, allocations: 55.41 kB / 0.718 GB, free: 3.605 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001043/0.5136, allocations: 113.8 kB / 0.7181 GB, free: 3.484 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.604e-05/0.5137, allocations: 29.7 kB / 0.7181 GB, free: 3.449 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.242e-05/0.5138, allocations: 92.42 kB / 0.7182 GB, free: 3.355 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.858e-05/0.5138, allocations: 79.36 kB / 0.7183 GB, free: 3.277 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.654e-05/0.5139, allocations: 37.7 kB / 0.7183 GB, free: 3.234 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.5141, allocations: 326.8 kB / 0.7186 GB, free: 2.906 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.5143, allocations: 87.95 kB / 0.7187 GB, free: 2.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002682/0.5146, allocations: 123.4 kB / 0.7188 GB, free: 2.688 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004969/0.5151, allocations: 230.6 kB / 0.7191 GB, free: 2.453 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.5151, allocations: 0 / 0.7191 GB, free: 2.453 MB / 0.545 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006503/0.5157, allocations: 286.3 kB / 0.7193 GB, free: 2.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.941e-05/0.5157, allocations: 4 kB / 0.7193 GB, free: 2.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.544e-06/0.5157, allocations: 7.938 kB / 0.7193 GB, free: 2.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001303/0.5159, allocations: 20.84 kB / 0.7194 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004751/0.5163, allocations: 59.91 kB / 0.7194 GB, free: 2.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000439/0.5168, allocations: 0.5291 MB / 0.7199 GB, free: 1.516 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003255/0.5171, allocations: 19.89 kB / 0.72 GB, free: 1.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.482e-05/0.5171, allocations: 12 kB / 0.72 GB, free: 1.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.0001441/0.5173, allocations: 125.8 kB / 0.7201 GB, free: 1.352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.631e-05/0.5174, allocations: 7.953 kB / 0.7201 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007731/0.5181, allocations: 317.4 kB / 0.7204 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.787e-06/0.5181, allocations: 7.938 kB / 0.7204 GB, free: 1.016 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.5181, allocations: 3.984 kB / 0.7204 GB, free: 1.012 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.47e-05/0.5182, allocations: 85.02 kB / 0.7205 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.897e-05/0.5182, allocations: 4 kB / 0.7205 GB, free: 0.9062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003378/0.5186, allocations: 12 kB / 0.7205 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.134e-05/0.5186, allocations: 15.97 kB / 0.7205 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001076/0.5197, allocations: 325.6 kB / 0.7208 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008268/0.5205, allocations: 455.9 kB / 0.7213 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002185/0.5207, allocations: 79.95 kB / 0.7213 GB, free: 12 kB / 0.545 GB Notification: Performance of sorting global known variables: time 7.818e-05/0.5208, allocations: 87.27 kB / 0.7214 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of Backend: time 5.01e-07/0.5208, allocations: 0 / 0.7214 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.5223, allocations: 428.3 kB / 0.7218 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of SimCode: time 0.001058/0.5233, allocations: 0.8759 MB / 0.7227 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of Templates: time 0.01329/0.5366, allocations: 8.041 MB / 0.7305 GB, free: 6.527 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/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: 5.446116281207651]