Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007534/0.0007534, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001127/0.00188, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006567/0.0006567, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009721/0.001629, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9035/0.9035, allocations: 173.4 MB / 186 MB, free: 7.535 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.176/1.079, allocations: 52.49 MB / 238.5 MB, free: 7.633 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1646/0.1646, allocations: 32.79 MB / 272 MB, free: 6.305 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02239/0.187, allocations: 12.53 MB / 284.5 MB, free: 9.727 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 285.8 MB, free: 8.445 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.337e-05/1.493e-05, allocations: 9.547 kB / 285.8 MB, free: 8.438 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3067/0.3067, allocations: 142.7 MB / 428.6 MB, free: 9.918 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0036/0.3103, allocations: 3.197 MB / 431.8 MB, free: 6.738 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.158e-05/0.3104, allocations: 0 / 431.8 MB, free: 6.738 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002914/0.3106, allocations: 65.84 kB / 431.8 MB, free: 6.676 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008098/0.3187, allocations: 1.041 MB / 432.9 MB, free: 5.629 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003702/0.3191, allocations: 191.5 kB / 433 MB, free: 5.441 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003688/0.3195, allocations: 374.2 kB / 433.4 MB, free: 5.074 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.152e-05/0.3195, allocations: 9.922 kB / 433.4 MB, free: 5.066 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002455/0.3198, allocations: 199.5 kB / 433.6 MB, free: 4.871 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001584/0.3199, allocations: 103.7 kB / 433.7 MB, free: 4.77 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.32, allocations: 12 kB / 433.7 MB, free: 4.758 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008093/0.328, allocations: 1.344 MB / 435.1 MB, free: 3.41 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.1e-05/0.3281, allocations: 69.58 kB / 435.1 MB, free: 3.344 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 8.142e-05/0.3282, allocations: 59.94 kB / 435.2 MB, free: 3.285 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001099/0.3293, allocations: 0.8573 MB / 436.1 MB, free: 2.426 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.3293, allocations: 0 / 436.1 MB, free: 2.426 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3293, allocations: 0 / 436.1 MB, free: 2.426 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.207e-06/0.3293, allocations: 7.984 kB / 436.1 MB, free: 2.418 MB / 394.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.0006669/0.33, allocations: 0.5463 MB / 436.6 MB, free: 1.848 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.33, allocations: 8.031 kB / 436.6 MB, free: 1.84 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00718/0.3372, allocations: 341.4 kB / 437 MB, free: 1.488 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.3374, allocations: 181.4 kB / 437.1 MB, free: 1.285 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.52e-05/0.3375, allocations: 16.75 kB / 437.1 MB, free: 1.27 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.554e-05/0.3375, allocations: 24.5 kB / 437.2 MB, free: 1.246 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003778/0.3379, allocations: 443.6 kB / 437.6 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.3379, allocations: 0 / 437.6 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.211e-05/0.3379, allocations: 7.984 kB / 437.6 MB, free: 0.7461 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.3379, allocations: 8 kB / 437.6 MB, free: 0.7383 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.3382, allocations: 148.5 kB / 437.8 MB, free: 0.5938 MB / 394.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.006928/0.3451, allocations: 0.5665 MB / 438.3 MB, free: 4 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003745/0.3455, allocations: 194.2 kB / 438.5 MB, free: 15.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.788e-05/0.3456, allocations: 75.34 kB / 438.6 MB, free: 15.72 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008046/0.3464, allocations: 314 kB / 438.9 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.3464, allocations: 38.56 kB / 438.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.3464, allocations: 0 / 438.9 MB, free: 15.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006424/0.347, allocations: 257.9 kB / 439.2 MB, free: 15.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.3471, allocations: 81.11 kB / 439.3 MB, free: 15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.118e-05/0.3471, allocations: 110.7 kB / 439.4 MB, free: 14.88 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.882e-05/0.3472, allocations: 33.7 kB / 439.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.711e-05/0.3472, allocations: 120.5 kB / 439.5 MB, free: 14.72 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.3473, allocations: 107.1 kB / 439.6 MB, free: 14.62 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.909e-05/0.3473, allocations: 58 kB / 439.7 MB, free: 14.55 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.259e-05/0.3474, allocations: 330.8 kB / 440 MB, free: 14.22 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.347e-05/0.3475, allocations: 43.47 kB / 440.1 MB, free: 14.18 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001051/0.3476, allocations: 135.5 kB / 440.2 MB, free: 14.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.3478, allocations: 218.4 kB / 440.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3478, allocations: 0 / 440.4 MB, free: 13.76 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.006307/0.3541, allocations: 209.8 kB / 440.6 MB, free: 13.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.3541, allocations: 8 kB / 440.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3541, allocations: 320 / 440.6 MB, free: 13.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.3542, allocations: 11.94 kB / 440.6 MB, free: 13.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000247/0.3544, allocations: 90.33 kB / 440.7 MB, free: 13.45 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.3544, allocations: 5.562 kB / 440.7 MB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.3545, allocations: 23.84 kB / 440.7 MB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.06e-05/0.3546, allocations: 15.98 kB / 440.8 MB, free: 13.4 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 9.277e-05/0.3546, allocations: 132.5 kB / 440.9 MB, free: 13.26 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.933e-05/0.3547, allocations: 31.86 kB / 440.9 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000304/0.355, allocations: 202.4 kB / 441.1 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.355, allocations: 7.938 kB / 441.1 MB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.355, allocations: 7.984 kB / 441.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.3551, allocations: 0 / 441.1 MB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003283/0.3554, allocations: 149.7 kB / 441.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3554, allocations: 4 kB / 441.3 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002204/0.3556, allocations: 71.89 kB / 441.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.3556, allocations: 19.83 kB / 441.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.085e-06/0.3556, allocations: 0 / 441.4 MB, free: 12.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.219e-05/0.3556, allocations: 11.98 kB / 441.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.958e-06/0.3556, allocations: 7.938 kB / 441.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3556, allocations: 0 / 441.4 MB, free: 12.75 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003765/0.356, allocations: 445.3 kB / 441.8 MB, free: 12.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.748e-05/0.3561, allocations: 11.98 kB / 441.8 MB, free: 12.28 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.3562, allocations: 12.69 kB / 441.8 MB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.06e-05/0.3563, allocations: 23.89 kB / 441.9 MB, free: 12.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.721e-05/0.3563, allocations: 15.98 kB / 441.9 MB, free: 12.23 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.456e-05/0.3563, allocations: 8.859 kB / 441.9 MB, free: 12.22 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.3563, allocations: 0 / 441.9 MB, free: 12.22 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006582/0.3629, allocations: 235.4 kB / 442.1 MB, free: 11.99 MB / 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.0008278/0.3637, allocations: 437.3 kB / 442.6 MB, free: 11.55 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002448/0.364, allocations: 168.2 kB / 442.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.138e-05/0.364, allocations: 7.984 kB / 442.7 MB, free: 11.38 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001148/0.3641, allocations: 93.64 kB / 442.8 MB, free: 11.28 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.3646, allocations: 128.7 kB / 442.9 MB, free: 11.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00923/0.3738, allocations: 463.7 kB / 443.4 MB, free: 10.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.707e-05/0.3739, allocations: 84.33 kB / 443.5 MB, free: 10.58 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002289/0.3741, allocations: 69.77 kB / 443.5 MB, free: 10.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/0.3744, allocations: 145.2 kB / 443.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of SimCode: time 1.253e-06/0.3744, allocations: 4 kB / 443.7 MB, free: 10.36 MB / 410.7 MB Notification: Performance of Templates: time 0.01703/0.3914, allocations: 9.737 MB / 453.4 MB, free: 0.7109 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.258193776011467]