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.001132/0.001132, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001242/0.001242, allocations: 169.9 kB / 24.91 MB, free: 9.191 MB / 18.57 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.052/1.052, allocations: 177.1 MB / 205.3 MB, free: 5.484 MB / 186.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.3073/0.3073, allocations: 34.26 MB / 296.1 MB, free: 0.7305 MB / 266.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.154e-06/2.154e-06, allocations: 0 / 325.2 MB, free: 7.727 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.893e-05/3.108e-05, allocations: 2.969 kB / 325.2 MB, free: 7.723 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3417/0.3417, allocations: 145.2 MB / 470.4 MB, free: 12.57 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003912/0.3456, allocations: 3.3 MB / 473.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00018/0.3458, allocations: 6.75 kB / 473.7 MB, free: 12.34 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004337/0.3462, allocations: 57.97 kB / 473.8 MB, free: 12.32 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003067/0.3493, allocations: 1.128 MB / 474.9 MB, free: 12.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004093/0.3497, allocations: 201.6 kB / 475.1 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004926/0.3502, allocations: 373.1 kB / 475.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.545e-05/0.3503, allocations: 10 kB / 475.5 MB, free: 12.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003899/0.3507, allocations: 211.7 kB / 475.7 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.3509, allocations: 101.7 kB / 475.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.331e-05/0.3509, allocations: 11.28 kB / 475.8 MB, free: 12.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002544/0.3535, allocations: 1.341 MB / 477.1 MB, free: 12.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001175/0.3536, allocations: 87.91 kB / 477.2 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001209/0.3537, allocations: 86.44 kB / 477.3 MB, free: 12.07 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001819/0.3555, allocations: 1.035 MB / 478.3 MB, free: 12.01 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.3555, allocations: 0 / 478.3 MB, free: 12.01 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3555, allocations: 0 / 478.3 MB, free: 12.01 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.3555, allocations: 0 / 478.3 MB, free: 12.01 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008773/0.3564, allocations: 476.9 kB / 478.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/0.3565, allocations: 8 kB / 478.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001001/0.3575, allocations: 271.6 kB / 479.1 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.3578, allocations: 181 kB / 479.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.3578, allocations: 16.86 kB / 479.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.351e-05/0.3578, allocations: 20.69 kB / 479.3 MB, free: 11.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003803/0.3582, allocations: 453.4 kB / 479.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3582, allocations: 0 / 479.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.917e-05/0.3582, allocations: 9.531 kB / 479.7 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.256e-05/0.3583, allocations: 9.25 kB / 479.8 MB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001924/0.3585, allocations: 156.5 kB / 479.9 MB, free: 11.19 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.0008545/0.3593, allocations: 0.5831 MB / 480.5 MB, free: 10.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3595, allocations: 251.5 kB / 480.7 MB, free: 10.77 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.761e-05/0.3596, allocations: 69.27 kB / 480.8 MB, free: 10.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006789/0.3602, allocations: 291.1 kB / 481.1 MB, free: 10.74 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.3603, allocations: 38.94 kB / 481.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.3603, allocations: 0 / 481.1 MB, free: 10.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=31): time 0.0005312/0.3608, allocations: 270.2 kB / 481.4 MB, free: 10.62 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.416e-05/0.3608, allocations: 80.05 kB / 481.5 MB, free: 10.53 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.211e-05/0.3609, allocations: 118.4 kB / 481.6 MB, free: 10.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.161e-05/0.3609, allocations: 34.92 kB / 481.6 MB, free: 10.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.282e-05/0.3609, allocations: 108.2 kB / 481.7 MB, free: 10.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.46e-05/0.361, allocations: 124.7 kB / 481.8 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.418e-05/0.361, allocations: 59.81 kB / 481.9 MB, free: 10.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.608e-05/0.3611, allocations: 328.6 kB / 482.2 MB, free: 9.883 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.309e-05/0.3611, allocations: 47.89 kB / 482.3 MB, free: 9.875 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.358e-05/0.3612, allocations: 131.3 kB / 482.4 MB, free: 9.777 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.3614, allocations: 223.4 kB / 482.6 MB, free: 9.652 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3614, allocations: 0 / 482.6 MB, free: 9.652 MB / 410.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0002195/0.3616, allocations: 221.8 kB / 482.8 MB, free: 9.586 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3616, allocations: 12.22 kB / 482.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3616, allocations: 4.234 kB / 482.8 MB, free: 9.582 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.3616, allocations: 8.812 kB / 482.9 MB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/0.3618, allocations: 69.53 kB / 482.9 MB, free: 9.574 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.3618, allocations: 11.98 kB / 482.9 MB, free: 9.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.564e-05/0.3619, allocations: 31.39 kB / 483 MB, free: 9.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.28e-05/0.3619, allocations: 11.78 kB / 483 MB, free: 9.551 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 (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 7.604e-05/0.362, allocations: 135.5 kB / 483.1 MB, free: 9.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.362, allocations: 34.12 kB / 483.1 MB, free: 9.418 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002462/0.3623, allocations: 202.9 kB / 483.3 MB, free: 9.375 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.3623, allocations: 6.812 kB / 483.3 MB, free: 9.371 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3623, allocations: 6.062 kB / 483.4 MB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.3623, allocations: 6.453 kB / 483.4 MB, free: 9.367 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002735/0.3626, allocations: 161 kB / 483.5 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.3626, allocations: 0 / 483.5 MB, free: 9.285 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001423/0.3627, allocations: 51.81 kB / 483.6 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.489e-06/0.3627, allocations: 2.531 kB / 483.6 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.973e-05/0.3627, allocations: 11.97 kB / 483.6 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.3627, allocations: 2.406 kB / 483.6 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.3627, allocations: 3.047 kB / 483.6 MB, free: 9.281 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003348/0.3631, allocations: 0.4993 MB / 484.1 MB, free: 8.957 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.741e-05/0.3631, allocations: 24.88 kB / 484.1 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.3631, allocations: 9.859 kB / 484.1 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000131/0.3633, allocations: 10.91 kB / 484.1 MB, free: 8.941 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.978e-05/0.3633, allocations: 33.16 kB / 484.2 MB, free: 8.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/0.3633, allocations: 16.84 kB / 484.2 MB, free: 8.93 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.558e-05/0.3633, allocations: 14.84 kB / 484.2 MB, free: 8.922 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3633, allocations: 0 / 484.2 MB, free: 8.922 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006712/0.364, allocations: 238.7 kB / 484.4 MB, free: 8.887 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 (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.0007127/0.3647, allocations: 448.7 kB / 484.9 MB, free: 8.742 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002113/0.3649, allocations: 166.2 kB / 485 MB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.869e-06/0.3649, allocations: 0 / 485 MB, free: 8.723 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 6.798e-05/0.365, allocations: 94.7 kB / 485.1 MB, free: 8.703 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.3653, allocations: 95.47 kB / 485.2 MB, free: 8.688 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.3661, allocations: 0.4931 MB / 485.7 MB, free: 8.383 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.055e-05/0.3661, allocations: 84.95 kB / 485.8 MB, free: 8.312 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001842/0.3663, allocations: 71.03 kB / 485.9 MB, free: 8.277 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002227/0.3665, allocations: 148.7 kB / 486 MB, free: 8.223 MB / 410.7 MB Notification: Performance of SimCode: time 9.72e-07/0.3665, allocations: 0 / 486 MB, free: 8.223 MB / 410.7 MB Notification: Performance of Templates: time 0.01022/0.3767, allocations: 10.29 MB / 496.3 MB, free: 3.68 MB / 410.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 -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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.7337200506590307]