Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0008609/0.0008609, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001919/0.00278, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.001156/0.001156, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002693, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.011/1.011, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1007/1.112, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3108/0.3108, allocations: 34.25 MB / 278.4 MB, free: 15.29 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02912/0.3399, allocations: 13.1 MB / 291.5 MB, free: 7.34 MB / 282.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.004e-06/2.004e-06, allocations: 0 / 292.8 MB, free: 6.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.127e-05/3.327e-05, allocations: 8.75 kB / 292.8 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1409/0.1409, allocations: 145.7 MB / 438.5 MB, free: 4.008 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.003746/0.1447, allocations: 3.317 MB / 441.8 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1448, allocations: 4 kB / 441.8 MB, free: 0.6719 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000287/0.1451, allocations: 51.67 kB / 441.8 MB, free: 0.6211 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.2551/0.4002, allocations: 1.072 MB / 442.9 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005048/0.4007, allocations: 208.5 kB / 443.1 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005469/0.4012, allocations: 371.9 kB / 443.5 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.904e-05/0.4013, allocations: 10.83 kB / 443.5 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003455/0.4016, allocations: 217.6 kB / 443.7 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.4018, allocations: 101.3 kB / 443.8 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.951e-05/0.4018, allocations: 13.03 kB / 443.8 MB, free: 4.23 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002345/0.4042, allocations: 1.381 MB / 445.2 MB, free: 4.227 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001024/0.4043, allocations: 70.28 kB / 445.3 MB, free: 4.227 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.4044, allocations: 67.39 kB / 445.3 MB, free: 4.227 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001296/0.4057, allocations: 0.877 MB / 446.2 MB, free: 4.195 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.898e-06/0.4057, allocations: 0 / 446.2 MB, free: 4.195 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4057, allocations: 0 / 446.2 MB, free: 4.195 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.838e-06/0.4057, allocations: 3.875 kB / 446.2 MB, free: 4.195 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001089/0.4068, allocations: 0.5637 MB / 446.8 MB, free: 19.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4068, allocations: 8.594 kB / 446.8 MB, free: 19.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009492/0.4078, allocations: 342.9 kB / 447.1 MB, free: 19.76 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.408, allocations: 182 kB / 447.3 MB, free: 19.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.408, allocations: 15.97 kB / 447.3 MB, free: 19.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.794e-05/0.4081, allocations: 24.06 kB / 447.3 MB, free: 19.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003482/0.4084, allocations: 447.3 kB / 447.8 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.4084, allocations: 0 / 447.8 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.012e-05/0.4085, allocations: 9.922 kB / 447.8 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.218e-05/0.4085, allocations: 11.28 kB / 447.8 MB, free: 19.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001822/0.4087, allocations: 153.6 kB / 447.9 MB, free: 19.31 MB / 442.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.0008805/0.4096, allocations: 0.5802 MB / 448.5 MB, free: 19.04 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002029/0.4098, allocations: 247.2 kB / 448.8 MB, free: 18.91 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.737e-05/0.4098, allocations: 63.88 kB / 448.8 MB, free: 18.89 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006964/0.4105, allocations: 307.6 kB / 449.1 MB, free: 18.88 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.4105, allocations: 41.38 kB / 449.2 MB, free: 18.84 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 2.805e-06/0.4105, allocations: 0 / 449.2 MB, free: 18.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005498/0.4111, allocations: 256.4 kB / 449.4 MB, free: 18.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.63e-05/0.4111, allocations: 84.08 kB / 449.5 MB, free: 18.68 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.943e-05/0.4112, allocations: 129 kB / 449.6 MB, free: 18.57 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.707e-05/0.4112, allocations: 29.64 kB / 449.7 MB, free: 18.54 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.674e-05/0.4113, allocations: 109.6 kB / 449.8 MB, free: 18.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.697e-05/0.4113, allocations: 122.6 kB / 449.9 MB, free: 18.36 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.122e-05/0.4114, allocations: 64.75 kB / 449.9 MB, free: 18.35 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.4115, allocations: 326.2 kB / 450.3 MB, free: 18.04 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.4116, allocations: 45.09 kB / 450.3 MB, free: 18.03 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.085e-05/0.4117, allocations: 137.3 kB / 450.4 MB, free: 17.93 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.4118, allocations: 220 kB / 450.7 MB, free: 17.83 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.4119, allocations: 0 / 450.7 MB, free: 17.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002646/0.4121, allocations: 222.5 kB / 450.9 MB, free: 17.78 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.4121, allocations: 9.953 kB / 450.9 MB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.4121, allocations: 5.516 kB / 450.9 MB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.4122, allocations: 4.156 kB / 450.9 MB, free: 17.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.4124, allocations: 89 kB / 451 MB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4124, allocations: 7.219 kB / 451 MB, free: 17.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.754e-05/0.4125, allocations: 21.81 kB / 451 MB, free: 17.76 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.705e-05/0.4125, allocations: 15.53 kB / 451 MB, free: 17.76 MB / 442.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 (40): * Single equations (assignments): 39 * Array equations: 1 * 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.204e-05/0.4126, allocations: 136 kB / 451.2 MB, free: 17.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.66e-05/0.4126, allocations: 32.08 kB / 451.2 MB, free: 17.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.4129, allocations: 216.3 kB / 451.4 MB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.4129, allocations: 7.469 kB / 451.4 MB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.4129, allocations: 5.484 kB / 451.4 MB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.4129, allocations: 0 / 451.4 MB, free: 17.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002778/0.4132, allocations: 162.9 kB / 451.6 MB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.4132, allocations: 0.8438 kB / 451.6 MB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.4134, allocations: 65.17 kB / 451.6 MB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.42e-05/0.4134, allocations: 17.66 kB / 451.7 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.4134, allocations: 3.812 kB / 451.7 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.803e-05/0.4134, allocations: 13.17 kB / 451.7 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4134, allocations: 7.062 kB / 451.7 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.4134, allocations: 3.938 kB / 451.7 MB, free: 17.49 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.4138, allocations: 0.5028 MB / 452.2 MB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.238e-05/0.4138, allocations: 11.02 kB / 452.2 MB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.4139, allocations: 10.44 kB / 452.2 MB, free: 17.17 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.861e-05/0.4139, allocations: 24.89 kB / 452.2 MB, free: 17.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.1e-05/0.414, allocations: 17.14 kB / 452.2 MB, free: 17.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.56e-05/0.414, allocations: 16.59 kB / 452.3 MB, free: 17.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.414, allocations: 0.875 kB / 452.3 MB, free: 17.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007948/0.4148, allocations: 233.3 kB / 452.5 MB, free: 17.12 MB / 442.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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0008189/0.4156, allocations: 448.8 kB / 452.9 MB, free: 17.01 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000246/0.4158, allocations: 161 kB / 453.1 MB, free: 17 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/0.4159, allocations: 8.578 kB / 453.1 MB, free: 17 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 9.28e-05/0.4159, allocations: 114.1 kB / 453.2 MB, free: 16.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.4163, allocations: 136.2 kB / 453.3 MB, free: 16.98 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.4188, allocations: 476.6 kB / 453.8 MB, free: 16.71 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.554e-05/0.4188, allocations: 85.83 kB / 453.9 MB, free: 16.64 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0002068/0.419, allocations: 71.42 kB / 454 MB, free: 16.63 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002546/0.4193, allocations: 147.8 kB / 454.1 MB, free: 16.58 MB / 442.7 MB Notification: Performance of SimCode: time 1.132e-06/0.4193, allocations: 0 / 454.1 MB, free: 16.58 MB / 442.7 MB Notification: Performance of Templates: time 0.01233/0.4316, allocations: 10.23 MB / 464.3 MB, free: 15.72 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.612196939997375]