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.001961/0.001961, allocations: 76.66 kB / 20.79 MB, free: 3.664 MB / 18.57 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.002015/0.002015, allocations: 165 kB / 24.22 MB, free: 244 kB / 18.57 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.174/1.174, allocations: 158.6 MB / 186.1 MB, free: 2.355 MB / 170.7 MB " [Timeout remaining time 179] 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.1851/0.1851, allocations: 32.38 MB / 270.8 MB, free: 14.53 MB / 266.7 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.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.[0-9,]+.|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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.152e-06/1.152e-06, allocations: 0 / 299.3 MB, free: 2.055 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.354e-05/2.47e-05, allocations: 2.312 kB / 299.3 MB, free: 2.051 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3941/0.3941, allocations: 143.6 MB / 442.8 MB, free: 14.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.002913/0.397, allocations: 3.099 MB / 445.9 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.663e-05/0.3971, allocations: 0 / 445.9 MB, free: 11.01 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004409/0.3976, allocations: 55.66 kB / 446 MB, free: 10.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00204/0.3996, allocations: 1.026 MB / 447 MB, free: 9.922 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00036/0.4, allocations: 207.4 kB / 447.2 MB, free: 9.719 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003196/0.4003, allocations: 362.5 kB / 447.6 MB, free: 9.363 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.061e-05/0.4003, allocations: 11.39 kB / 447.6 MB, free: 9.355 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000257/0.4006, allocations: 195.4 kB / 447.8 MB, free: 9.164 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.4007, allocations: 99.73 kB / 447.9 MB, free: 9.066 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.492e-05/0.4008, allocations: 12 kB / 447.9 MB, free: 9.055 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.4025, allocations: 1.32 MB / 449.2 MB, free: 7.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.4026, allocations: 83.78 kB / 449.3 MB, free: 7.648 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.489e-05/0.4027, allocations: 83.81 kB / 449.4 MB, free: 7.566 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000968/0.4036, allocations: 1.009 MB / 450.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.4036, allocations: 0 / 450.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.4036, allocations: 0 / 450.4 MB, free: 6.555 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.66e-06/0.4037, allocations: 0 / 450.4 MB, free: 6.555 MB / 410.7 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.0005546/0.4042, allocations: 448.7 kB / 450.8 MB, free: 6.094 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.4042, allocations: 8.031 kB / 450.8 MB, free: 6.086 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007599/0.405, allocations: 260.3 kB / 451.1 MB, free: 5.832 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002371/0.4052, allocations: 177.5 kB / 451.2 MB, free: 5.633 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4053, allocations: 16.75 kB / 451.3 MB, free: 5.617 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.027e-05/0.4053, allocations: 20.38 kB / 451.3 MB, free: 5.598 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003371/0.4056, allocations: 449.2 kB / 451.7 MB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.4057, allocations: 0 / 451.7 MB, free: 5.098 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.4057, allocations: 8 kB / 451.7 MB, free: 5.09 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.4057, allocations: 4 kB / 451.7 MB, free: 5.086 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001853/0.4059, allocations: 145.5 kB / 451.9 MB, free: 4.941 MB / 410.7 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.0008367/0.4067, allocations: 0.583 MB / 452.5 MB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.4069, allocations: 194.9 kB / 452.7 MB, free: 4.129 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.309e-05/0.407, allocations: 69.61 kB / 452.7 MB, free: 4.055 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.4076, allocations: 302.3 kB / 453 MB, free: 3.758 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.4076, allocations: 38.56 kB / 453.1 MB, free: 3.711 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.4076, allocations: 4 kB / 453.1 MB, free: 3.707 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008615/0.4085, allocations: 244.6 kB / 453.3 MB, free: 3.461 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4085, allocations: 85.05 kB / 453.4 MB, free: 3.359 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.177e-05/0.4086, allocations: 118.7 kB / 453.5 MB, free: 3.23 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.345e-05/0.4086, allocations: 29.7 kB / 453.5 MB, free: 3.195 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.474e-05/0.4087, allocations: 108.5 kB / 453.6 MB, free: 3.086 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.857e-05/0.4087, allocations: 115 kB / 453.7 MB, free: 2.973 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-05/0.4088, allocations: 65.98 kB / 453.8 MB, free: 2.902 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.349e-05/0.4089, allocations: 330.7 kB / 454.1 MB, free: 2.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.41e-05/0.4089, allocations: 43.47 kB / 454.2 MB, free: 2.527 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.13e-05/0.409, allocations: 131.4 kB / 454.3 MB, free: 2.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.4092, allocations: 216.8 kB / 454.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.4092, allocations: 0 / 454.5 MB, free: 2.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002133/0.4094, allocations: 205.4 kB / 454.7 MB, free: 1.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.4094, allocations: 7.984 kB / 454.7 MB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.4094, allocations: 4 kB / 454.7 MB, free: 1.898 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.4094, allocations: 4 kB / 454.7 MB, free: 1.895 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001664/0.4096, allocations: 80.16 kB / 454.8 MB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.4096, allocations: 4 kB / 454.8 MB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.799e-05/0.4097, allocations: 39.7 kB / 454.8 MB, free: 1.773 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.571e-05/0.4097, allocations: 10.5 kB / 454.9 MB, free: 1.766 MB / 410.7 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 8.447e-05/0.4098, allocations: 132.6 kB / 455 MB, free: 1.625 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.008e-05/0.4099, allocations: 23.92 kB / 455 MB, free: 1.602 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.4101, allocations: 209.5 kB / 455.2 MB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.4101, allocations: 7.938 kB / 455.2 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.653e-06/0.4101, allocations: 0 / 455.2 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.4101, allocations: 0 / 455.2 MB, free: 1.391 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.4104, allocations: 162.5 kB / 455.4 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.4104, allocations: 0 / 455.4 MB, free: 1.215 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.4105, allocations: 67.89 kB / 455.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.4106, allocations: 0 / 455.4 MB, free: 1.148 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.729e-05/0.4106, allocations: 8 kB / 455.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.4106, allocations: 1.188 kB / 455.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.4106, allocations: 0 / 455.5 MB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003186/0.4109, allocations: 451 kB / 455.9 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.396e-05/0.4109, allocations: 19.84 kB / 455.9 MB, free: 0.6641 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.199e-05/0.4109, allocations: 8 kB / 455.9 MB, free: 0.6562 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001288/0.4111, allocations: 11.98 kB / 455.9 MB, free: 0.6445 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.4111, allocations: 35.83 kB / 456 MB, free: 0.6094 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.042e-05/0.4111, allocations: 7.984 kB / 456 MB, free: 0.6016 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.47e-05/0.4111, allocations: 21.16 kB / 456 MB, free: 0.5781 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.4111, allocations: 3.938 kB / 456 MB, free: 0.5742 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003954/0.4115, allocations: 223.4 kB / 456.2 MB, free: 364 kB / 410.7 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.2113/0.6228, allocations: 414.5 kB / 456.6 MB, free: 15.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004329/0.6233, allocations: 163.9 kB / 456.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/0.6233, allocations: 1.719 kB / 456.8 MB, free: 15.22 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.6234, allocations: 85.36 kB / 456.9 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.6238, allocations: 88.38 kB / 457 MB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001053/0.6249, allocations: 488.6 kB / 457.4 MB, free: 15 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.19e-05/0.625, allocations: 86.23 kB / 457.5 MB, free: 14.93 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002439/0.6252, allocations: 66.55 kB / 457.6 MB, free: 14.92 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003053/0.6255, allocations: 146.5 kB / 457.7 MB, free: 14.86 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.6255, allocations: 0.7812 kB / 457.7 MB, free: 14.86 MB / 410.7 MB Notification: Performance of Templates: time 0.01389/0.6394, allocations: 9.905 MB / 467.6 MB, free: 14.13 MB / 410.7 MB " [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=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.089375467970967]