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.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.001231/0.001231, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001947/0.003178, allocations: 449.7 kB / 10.37 MB, free: 328 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.001439/0.001439, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001815/0.003254, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.061/1.061, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1102/1.171, allocations: 53.65 MB / 243.3 MB, free: 15.57 MB / 250.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.2771/0.2771, allocations: 32.79 MB / 276.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0263/0.3034, allocations: 12.53 MB / 289.3 MB, free: 8.664 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.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.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.854e-06/1.854e-06, allocations: 0 / 290.6 MB, free: 7.652 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.833e-05/3.019e-05, allocations: 3.688 kB / 290.6 MB, free: 7.648 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1521/0.1521, allocations: 145.6 MB / 436.2 MB, free: 6.125 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002976/0.1551, allocations: 3.212 MB / 439.4 MB, free: 2.898 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.1552, allocations: 4 kB / 439.4 MB, free: 2.895 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003026/0.1555, allocations: 55.67 kB / 439.5 MB, free: 2.84 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00155/0.157, allocations: 1.041 MB / 440.5 MB, free: 1.793 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003843/0.1574, allocations: 200.4 kB / 440.7 MB, free: 1.598 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003285/0.1577, allocations: 370.4 kB / 441.1 MB, free: 1.234 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.1578, allocations: 9.953 kB / 441.1 MB, free: 1.223 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002622/0.158, allocations: 199.4 kB / 441.3 MB, free: 1.027 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001499/0.1582, allocations: 99.73 kB / 441.4 MB, free: 0.9297 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.27e-05/0.1582, allocations: 15.94 kB / 441.4 MB, free: 0.9141 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2202/0.3784, allocations: 1.339 MB / 442.7 MB, free: 4.84 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.3786, allocations: 65.61 kB / 442.8 MB, free: 4.84 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001728/0.3788, allocations: 63.72 kB / 442.9 MB, free: 4.84 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.3805, allocations: 0.8639 MB / 443.7 MB, free: 4.84 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.45e-05/0.3805, allocations: 0 / 443.7 MB, free: 4.84 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.3805, allocations: 3.781 kB / 443.7 MB, free: 4.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.3805, allocations: 0 / 443.7 MB, free: 4.84 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: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.0007453/0.3813, allocations: 0.5605 MB / 444.3 MB, free: 20.55 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.773e-05/0.3813, allocations: 10.19 kB / 444.3 MB, free: 20.55 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008525/0.3822, allocations: 345.5 kB / 444.6 MB, free: 20.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002323/0.3824, allocations: 171.3 kB / 444.8 MB, free: 20.3 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.3824, allocations: 15.14 kB / 444.8 MB, free: 20.3 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.256e-05/0.3825, allocations: 24.31 kB / 444.8 MB, free: 20.3 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003357/0.3828, allocations: 448.4 kB / 445.3 MB, free: 19.99 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.3828, allocations: 4.156 kB / 445.3 MB, free: 19.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.704e-05/0.3828, allocations: 9.812 kB / 445.3 MB, free: 19.99 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.253e-06/0.3828, allocations: 5.562 kB / 445.3 MB, free: 19.99 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001788/0.383, allocations: 146.7 kB / 445.4 MB, free: 19.98 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.0008282/0.3838, allocations: 0.5672 MB / 446 MB, free: 19.71 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.384, allocations: 192.9 kB / 446.2 MB, free: 19.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.093e-05/0.3841, allocations: 71.12 kB / 446.3 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006729/0.3848, allocations: 294.5 kB / 446.6 MB, free: 19.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.904e-05/0.3848, allocations: 44.14 kB / 446.6 MB, free: 19.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.3848, allocations: 0 / 446.6 MB, free: 19.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=29): time 0.000522/0.3853, allocations: 259.2 kB / 446.9 MB, free: 19.5 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3854, allocations: 87.98 kB / 446.9 MB, free: 19.4 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.146e-05/0.3854, allocations: 116.8 kB / 447.1 MB, free: 19.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/0.3854, allocations: 32.39 kB / 447.1 MB, free: 19.27 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.349e-05/0.3855, allocations: 112.7 kB / 447.2 MB, free: 19.16 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.568e-05/0.3855, allocations: 119.4 kB / 447.3 MB, free: 19.09 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.718e-05/0.3856, allocations: 57.16 kB / 447.4 MB, free: 19.07 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001063/0.3857, allocations: 328.9 kB / 447.7 MB, free: 18.76 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.3857, allocations: 41.03 kB / 447.7 MB, free: 18.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.143e-05/0.3858, allocations: 127.5 kB / 447.9 MB, free: 18.66 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.386, allocations: 212.3 kB / 448.1 MB, free: 18.55 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.386, allocations: 0.875 kB / 448.1 MB, free: 18.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002237/0.3862, allocations: 214.5 kB / 448.3 MB, free: 18.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.3862, allocations: 5.938 kB / 448.3 MB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.3862, allocations: 3.812 kB / 448.3 MB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.3862, allocations: 7.641 kB / 448.3 MB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.3864, allocations: 84.83 kB / 448.4 MB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.3864, allocations: 9.609 kB / 448.4 MB, free: 18.51 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.919e-05/0.3865, allocations: 28.84 kB / 448.4 MB, free: 18.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.561e-05/0.3865, allocations: 14.41 kB / 448.4 MB, free: 18.49 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 (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.095e-05/0.3866, allocations: 130.1 kB / 448.6 MB, free: 18.38 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.844e-05/0.3867, allocations: 31.16 kB / 448.6 MB, free: 18.37 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.3869, allocations: 210.4 kB / 448.8 MB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.3869, allocations: 9.906 kB / 448.8 MB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.573e-06/0.3869, allocations: 1.094 kB / 448.8 MB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3869, allocations: 3.266 kB / 448.8 MB, free: 18.32 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.3872, allocations: 155.6 kB / 449 MB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3872, allocations: 4.312 kB / 449 MB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001652/0.3873, allocations: 63.84 kB / 449 MB, free: 18.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.207e-05/0.3873, allocations: 19.5 kB / 449 MB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.3874, allocations: 3.281 kB / 449 MB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.617e-05/0.3874, allocations: 8.375 kB / 449.1 MB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.3874, allocations: 0.9688 kB / 449.1 MB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3874, allocations: 7.344 kB / 449.1 MB, free: 18.22 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003185/0.3877, allocations: 456.8 kB / 449.5 MB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.3877, allocations: 8.078 kB / 449.5 MB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001263/0.3878, allocations: 15.89 kB / 449.5 MB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.913e-05/0.3879, allocations: 23.17 kB / 449.6 MB, free: 17.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.3879, allocations: 13.34 kB / 449.6 MB, free: 17.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.267e-05/0.3879, allocations: 19.92 kB / 449.6 MB, free: 17.94 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3879, allocations: 0 / 449.6 MB, free: 17.94 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0004387/0.3883, allocations: 236.6 kB / 449.8 MB, free: 17.9 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 (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.0006538/0.389, allocations: 432.6 kB / 450.2 MB, free: 17.8 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000171/0.3892, allocations: 162.2 kB / 450.4 MB, free: 17.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.3892, allocations: 5.156 kB / 450.4 MB, free: 17.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 6.518e-05/0.3892, allocations: 93.3 kB / 450.5 MB, free: 17.77 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003273/0.3896, allocations: 117.2 kB / 450.6 MB, free: 17.76 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.3919, allocations: 464.8 kB / 451.1 MB, free: 17.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.491e-05/0.392, allocations: 86.69 kB / 451.1 MB, free: 17.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0001805/0.3921, allocations: 70.16 kB / 451.2 MB, free: 17.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002253/0.3924, allocations: 148 kB / 451.4 MB, free: 17.38 MB / 442.7 MB Notification: Performance of SimCode: time 5.91e-07/0.3924, allocations: 0.9062 kB / 451.4 MB, free: 17.38 MB / 442.7 MB Notification: Performance of Templates: time 0.01125/0.4036, allocations: 10.13 MB / 461.5 MB, free: 16.58 MB / 442.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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.5326848765835166]