Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.001697/0.001697, 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.002311/0.002311, allocations: 211.4 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.533/1.533, allocations: 207.7 MB / 234.6 MB, free: 9.789 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.2426/0.2426, allocations: 44.26 MB / 331.1 MB, free: 9.305 MB / 270.1 MB " [Timeout remaining time 179] 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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [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.002582/0.002582, allocations: 67.91 kB / 468.7 MB, free: 3.863 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.144, allocations: 61.05 MB / 0.5174 GB, free: 6.691 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.4665/0.6105, allocations: 130 MB / 0.6443 GB, free: 228 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00442/0.6149, allocations: 2.728 MB / 0.647 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.615, allocations: 0 / 0.647 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004007/0.6154, allocations: 59.66 kB / 0.6471 GB, free: 13.45 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002779/0.6182, allocations: 1.046 MB / 0.6481 GB, free: 12.4 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.6188, allocations: 196.1 kB / 0.6483 GB, free: 12.21 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005351/0.6194, allocations: 358.7 kB / 0.6486 GB, free: 11.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.037e-05/0.6194, allocations: 5.312 kB / 0.6486 GB, free: 11.85 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002994/0.6197, allocations: 155.5 kB / 0.6488 GB, free: 11.7 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.62, allocations: 119.5 kB / 0.6489 GB, free: 11.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.064e-05/0.62, allocations: 12 kB / 0.6489 GB, free: 11.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.6229, allocations: 1.274 MB / 0.6501 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001367/0.623, allocations: 83.77 kB / 0.6502 GB, free: 10.21 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.6232, allocations: 83.72 kB / 0.6503 GB, free: 10.13 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.6249, allocations: 0.9494 MB / 0.6512 GB, free: 9.184 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.6249, allocations: 0 / 0.6512 GB, free: 9.184 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.6249, allocations: 0 / 0.6512 GB, free: 9.184 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.918e-06/0.6249, allocations: 0 / 0.6512 GB, free: 9.184 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001043/0.626, allocations: 485.2 kB / 0.6517 GB, free: 8.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.092e-05/0.626, allocations: 12.03 kB / 0.6517 GB, free: 8.668 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001447/0.6275, allocations: 196.6 kB / 0.6519 GB, free: 8.477 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004186/0.6279, allocations: 194.3 kB / 0.6521 GB, free: 8.262 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.075e-05/0.6279, allocations: 12.94 kB / 0.6521 GB, free: 8.25 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.97e-05/0.628, allocations: 23.94 kB / 0.6521 GB, free: 8.227 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008148/0.6288, allocations: 0.5733 MB / 0.6527 GB, free: 7.594 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.758e-05/0.6288, allocations: 11.92 kB / 0.6527 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.469e-05/0.6289, allocations: 12 kB / 0.6527 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.6289, allocations: 4 kB / 0.6527 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006927/0.6296, allocations: 411.7 kB / 0.6531 GB, free: 7.164 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.00187/0.6314, allocations: 0.7029 MB / 0.6538 GB, free: 6.426 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004527/0.6319, allocations: 225.1 kB / 0.654 GB, free: 6.188 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002048/0.6321, allocations: 113.7 kB / 0.6541 GB, free: 6.07 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001668/0.6338, allocations: 297.8 kB / 0.6544 GB, free: 5.777 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.376e-05/0.6338, allocations: 46.44 kB / 0.6544 GB, free: 5.723 MB / 494.1 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.6338, allocations: 0 / 0.6544 GB, free: 5.723 MB / 494.1 MB Notification: Performance of matching and sorting (n=29): time 0.001297/0.6351, allocations: 365.9 kB / 0.6548 GB, free: 5.359 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.907e-05/0.6352, allocations: 77.11 kB / 0.6549 GB, free: 5.266 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001366/0.6353, allocations: 117.8 kB / 0.655 GB, free: 5.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.651e-05/0.6353, allocations: 37.7 kB / 0.655 GB, free: 5.098 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.235e-05/0.6354, allocations: 112.5 kB / 0.6551 GB, free: 4.984 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/0.6355, allocations: 111 kB / 0.6552 GB, free: 4.875 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.6357, allocations: 66.02 kB / 0.6553 GB, free: 4.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001844/0.6358, allocations: 322.8 kB / 0.6556 GB, free: 4.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002155/0.6361, allocations: 96.61 kB / 0.6557 GB, free: 4.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.6363, allocations: 187.5 kB / 0.6559 GB, free: 4.168 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005362/0.6369, allocations: 304.1 kB / 0.6561 GB, free: 3.836 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.6369, allocations: 0 / 0.6561 GB, free: 3.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007019/0.6376, allocations: 345.9 kB / 0.6565 GB, free: 3.492 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.719e-05/0.6376, allocations: 8 kB / 0.6565 GB, free: 3.484 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.6376, allocations: 6.438 kB / 0.6565 GB, free: 3.48 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.6377, allocations: 4 kB / 0.6565 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.638, allocations: 71.91 kB / 0.6566 GB, free: 3.406 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.638, allocations: 7.938 kB / 0.6566 GB, free: 3.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/0.6383, allocations: 31.77 kB / 0.6566 GB, free: 3.367 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.129e-05/0.6383, allocations: 19.94 kB / 0.6566 GB, free: 3.348 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001745/0.6385, allocations: 142 kB / 0.6568 GB, free: 3.199 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.6386, allocations: 19.84 kB / 0.6568 GB, free: 3.18 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007837/0.6394, allocations: 328.6 kB / 0.6571 GB, free: 2.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.905e-06/0.6394, allocations: 4 kB / 0.6571 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.6394, allocations: 3.938 kB / 0.6571 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6394, allocations: 0 / 0.6571 GB, free: 2.852 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005741/0.64, allocations: 230.9 kB / 0.6573 GB, free: 2.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.64, allocations: 3.984 kB / 0.6573 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/0.6403, allocations: 55.91 kB / 0.6574 GB, free: 2.535 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.808e-06/0.6404, allocations: 7.938 kB / 0.6574 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.405e-05/0.6404, allocations: 8 kB / 0.6574 GB, free: 2.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6404, allocations: 4 kB / 0.6574 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.6404, allocations: 0 / 0.6574 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008818/0.6413, allocations: 0.5208 MB / 0.6579 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.129e-05/0.6413, allocations: 23.84 kB / 0.6579 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.65e-05/0.6413, allocations: 8 kB / 0.6579 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003496/0.6417, allocations: 11.98 kB / 0.6579 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.622e-05/0.6417, allocations: 19.95 kB / 0.658 GB, free: 1.918 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.954e-05/0.6418, allocations: 16 kB / 0.658 GB, free: 1.902 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.739e-05/0.6419, allocations: 91.27 kB / 0.6581 GB, free: 1.812 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6419, allocations: 0 / 0.6581 GB, free: 1.812 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009085/0.6428, allocations: 227.5 kB / 0.6583 GB, free: 1.586 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[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 (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001099/0.6439, allocations: 426.2 kB / 0.6587 GB, free: 1.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0005775/0.6444, allocations: 244.6 kB / 0.6589 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/0.6444, allocations: 4 kB / 0.6589 GB, free: 0.918 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002523/0.6447, allocations: 119.8 kB / 0.659 GB, free: 0.8008 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007253/0.6454, allocations: 94.47 kB / 0.6591 GB, free: 0.7148 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001404/0.6468, allocations: 0.7592 MB / 0.6599 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001759/0.647, allocations: 115.8 kB / 0.66 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.6471, allocations: 43.42 kB / 0.66 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of SimCode: time 5.21e-07/0.6471, allocations: 0 / 0.66 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of Templates: time 0.01166/0.6588, allocations: 6.395 MB / 0.6663 GB, free: 9.348 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.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.420654583256692]