Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001781/0.001781, allocations: 100.4 kB / 20.45 MB, free: 1.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002413/0.002413, allocations: 210.1 kB / 23.74 MB, free: 4.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.786/1.786, allocations: 207.7 MB / 234.6 MB, free: 9.809 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2152/0.2152, allocations: 44.26 MB / 331.1 MB, free: 9.316 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002303/0.002303, allocations: 75.89 kB / 468.7 MB, free: 3.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1249, allocations: 61.04 MB / 0.5174 GB, free: 6.688 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2Mix): time 0.4278/0.5527, allocations: 129.7 MB / 0.6441 GB, free: 0.5039 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001893/0.5546, allocations: 1.349 MB / 0.6454 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.875e-05/0.5546, allocations: 4 kB / 0.6454 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003586/0.555, allocations: 47.73 kB / 0.6454 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009739/0.556, allocations: 394 kB / 0.6458 GB, free: 14.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005083/0.5565, allocations: 180.3 kB / 0.646 GB, free: 14.56 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.5567, allocations: 183.2 kB / 0.6461 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.514e-05/0.5568, allocations: 11.97 kB / 0.6462 GB, free: 14.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001601/0.5569, allocations: 75.75 kB / 0.6462 GB, free: 14.29 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001414/0.5571, allocations: 59.73 kB / 0.6463 GB, free: 14.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.5571, allocations: 11.94 kB / 0.6463 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009658/0.5581, allocations: 0.5183 MB / 0.6468 GB, free: 13.7 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.5581, allocations: 27.97 kB / 0.6468 GB, free: 13.68 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.5582, allocations: 47.78 kB / 0.6469 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005732/0.5588, allocations: 381.5 kB / 0.6472 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.5588, allocations: 0 / 0.6472 GB, free: 13.27 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.5588, allocations: 0 / 0.6472 GB, free: 13.27 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.73e-06/0.5588, allocations: 0 / 0.6472 GB, free: 13.27 MB / 494.1 MB 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.0005612/0.5593, allocations: 357.8 kB / 0.6476 GB, free: 12.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.5594, allocations: 8.031 kB / 0.6476 GB, free: 12.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002217/0.5616, allocations: 201.1 kB / 0.6478 GB, free: 12.68 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003001/0.5619, allocations: 150.4 kB / 0.6479 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5619, allocations: 4.312 kB / 0.6479 GB, free: 12.51 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.959e-05/0.562, allocations: 12 kB / 0.6479 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.5625, allocations: 278.6 kB / 0.6482 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.5625, allocations: 0 / 0.6482 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.656e-05/0.5625, allocations: 0 / 0.6482 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.5625, allocations: 7.984 kB / 0.6482 GB, free: 12.19 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005821/0.5631, allocations: 239.8 kB / 0.6484 GB, free: 11.96 MB / 494.1 MB 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.001721/0.5648, allocations: 0.5414 MB / 0.649 GB, free: 11.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004431/0.5653, allocations: 186.4 kB / 0.6492 GB, free: 11.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.5655, allocations: 100.8 kB / 0.6492 GB, free: 11.09 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001292/0.5656, allocations: 15.98 kB / 0.6493 GB, free: 11.08 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.5657, allocations: 38.5 kB / 0.6493 GB, free: 11.03 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.333e-06/0.5657, allocations: 0 / 0.6493 GB, free: 11.03 MB / 494.1 MB 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.005609/0.5713, allocations: 1.376 MB / 0.6506 GB, free: 9.582 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.5713, allocations: 59.34 kB / 0.6507 GB, free: 9.512 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.916e-05/0.5714, allocations: 113.8 kB / 0.6508 GB, free: 9.391 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.61e-05/0.5715, allocations: 29.7 kB / 0.6508 GB, free: 9.355 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.259e-05/0.5715, allocations: 108.3 kB / 0.6509 GB, free: 9.246 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.5716, allocations: 71.38 kB / 0.651 GB, free: 9.176 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-05/0.5717, allocations: 45.69 kB / 0.6511 GB, free: 9.125 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.5718, allocations: 318.8 kB / 0.6514 GB, free: 8.805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002187/0.572, allocations: 92.77 kB / 0.6514 GB, free: 8.715 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002629/0.5723, allocations: 131.1 kB / 0.6516 GB, free: 8.574 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004673/0.5728, allocations: 227.3 kB / 0.6518 GB, free: 8.34 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.5728, allocations: 0 / 0.6518 GB, free: 8.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006151/0.5734, allocations: 286.2 kB / 0.6521 GB, free: 8.051 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/0.5734, allocations: 7.938 kB / 0.6521 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.5734, allocations: 0 / 0.6521 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001314/0.5735, allocations: 24.84 kB / 0.6521 GB, free: 8.016 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004545/0.574, allocations: 56.83 kB / 0.6521 GB, free: 7.961 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003925/0.5744, allocations: 0.5368 MB / 0.6527 GB, free: 7.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002857/0.5747, allocations: 16.02 kB / 0.6527 GB, free: 7.383 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.5747, allocations: 4 kB / 0.6527 GB, free: 7.379 MB / 494.1 MB 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.0001393/0.5748, allocations: 133.7 kB / 0.6528 GB, free: 7.238 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.251e-05/0.5749, allocations: 7.953 kB / 0.6528 GB, free: 7.23 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007624/0.5757, allocations: 319.1 kB / 0.6531 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.5757, allocations: 0 / 0.6531 GB, free: 6.902 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5757, allocations: 7.938 kB / 0.6531 GB, free: 6.898 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.47e-06/0.5757, allocations: 3.938 kB / 0.6531 GB, free: 6.895 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.5768, allocations: 0.5858 MB / 0.6537 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.5768, allocations: 0 / 0.6537 GB, free: 6.262 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004473/0.5773, allocations: 59.83 kB / 0.6538 GB, free: 6.203 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-05/0.5773, allocations: 20.84 kB / 0.6538 GB, free: 6.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.879e-05/0.5774, allocations: 7.984 kB / 0.6538 GB, free: 6.172 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001026/0.5784, allocations: 1.233 MB / 0.655 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.5784, allocations: 0 / 0.655 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008633/0.5793, allocations: 455 kB / 0.6554 GB, free: 4.363 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.047e-05/0.5793, allocations: 15.92 kB / 0.6554 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.5793, allocations: 8 kB / 0.6555 GB, free: 4.34 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.5796, allocations: 11.94 kB / 0.6555 GB, free: 4.328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.5797, allocations: 16.12 kB / 0.6555 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/0.5797, allocations: 19.98 kB / 0.6555 GB, free: 4.293 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.539e-05/0.5798, allocations: 83.27 kB / 0.6556 GB, free: 4.211 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.5798, allocations: 0 / 0.6556 GB, free: 4.211 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0005302/0.5803, allocations: 131.7 kB / 0.6557 GB, free: 4.082 MB / 494.1 MB 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.0006415/0.5809, allocations: 258.7 kB / 0.656 GB, free: 3.82 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006092/0.5815, allocations: 215.8 kB / 0.6562 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5815, allocations: 0 / 0.6562 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.582, allocations: 242.8 kB / 0.6564 GB, free: 3.359 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004386/0.5824, allocations: 49.62 kB / 0.6564 GB, free: 3.316 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009387/0.5833, allocations: 0.5037 MB / 0.6569 GB, free: 2.773 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.959e-05/0.5834, allocations: 93.97 kB / 0.657 GB, free: 2.664 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001564/0.5836, allocations: 27.42 kB / 0.657 GB, free: 2.637 MB / 494.1 MB Notification: Performance of SimCode: time 3.51e-07/0.5836, allocations: 0 / 0.657 GB, free: 2.637 MB / 494.1 MB Notification: Performance of Templates: time 0.008337/0.5919, allocations: 5.162 MB / 0.6621 GB, free: 13.48 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_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: 9.310387779958546]