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.001175/0.001175, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.00773/0.00773, allocations: 160.2 kB / 24.7 MB, free: 9.418 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 0.8975/0.8975, allocations: 177.1 MB / 205 MB, free: 5.719 MB / 186.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.2423/0.2423, allocations: 32.79 MB / 294.2 MB, free: 1.199 MB / 266.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.1.|medium2.X.2.|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.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 440.8 MB, free: 3.758 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.243e-05/2.433e-05, allocations: 7.969 kB / 440.8 MB, free: 3.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.2731/0.2731, allocations: 131.8 MB / 0.5592 GB, free: 416 kB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.002287/0.2754, allocations: 2.815 MB / 0.562 GB, free: 13.58 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.523e-05/0.2755, allocations: 4 kB / 0.562 GB, free: 13.58 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000308/0.2758, allocations: 55.61 kB / 0.562 GB, free: 13.52 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001362/0.2771, allocations: 1.079 MB / 0.5631 GB, free: 12.44 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003007/0.2774, allocations: 215.9 kB / 0.5633 GB, free: 12.23 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002579/0.2777, allocations: 360.4 kB / 0.5636 GB, free: 11.88 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.273e-05/0.2777, allocations: 9.297 kB / 0.5637 GB, free: 11.88 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000226/0.278, allocations: 195.4 kB / 0.5638 GB, free: 11.68 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001394/0.2781, allocations: 107.7 kB / 0.5639 GB, free: 11.58 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.2781, allocations: 12 kB / 0.564 GB, free: 11.57 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001365/0.2795, allocations: 1.317 MB / 0.5652 GB, free: 10.25 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 7.69e-05/0.2796, allocations: 91.75 kB / 0.5653 GB, free: 10.16 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 6.755e-05/0.2796, allocations: 83.83 kB / 0.5654 GB, free: 10.07 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009172/0.2806, allocations: 1.06 MB / 0.5664 GB, free: 9.012 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.2806, allocations: 7.984 kB / 0.5665 GB, free: 9.004 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2806, allocations: 0 / 0.5665 GB, free: 9.004 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.01e-06/0.2806, allocations: 0 / 0.5665 GB, free: 9.004 MB / 474.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.0006591/0.2812, allocations: 481.8 kB / 0.5669 GB, free: 8.508 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.2813, allocations: 12.03 kB / 0.5669 GB, free: 8.496 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007686/0.282, allocations: 212.6 kB / 0.5671 GB, free: 8.289 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.2823, allocations: 192.9 kB / 0.5673 GB, free: 8.078 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.127e-05/0.2823, allocations: 16.75 kB / 0.5673 GB, free: 8.062 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.2823, allocations: 24.31 kB / 0.5673 GB, free: 8.039 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004479/0.2828, allocations: 0.5696 MB / 0.5679 GB, free: 7.41 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.2828, allocations: 3.938 kB / 0.5679 GB, free: 7.406 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.866e-05/0.2828, allocations: 16 kB / 0.5679 GB, free: 7.391 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.2828, allocations: 4 kB / 0.5679 GB, free: 7.387 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003652/0.2832, allocations: 396.8 kB / 0.5683 GB, free: 7 MB / 474.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.0009674/0.2841, allocations: 0.7027 MB / 0.569 GB, free: 6.266 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.2844, allocations: 213.1 kB / 0.5692 GB, free: 6.039 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001105/0.2845, allocations: 120.7 kB / 0.5693 GB, free: 5.918 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007231/0.2852, allocations: 314.4 kB / 0.5696 GB, free: 5.613 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.2852, allocations: 42.5 kB / 0.5697 GB, free: 5.562 MB / 474.7 MB Notification: Performance of pre-optimization done (n=29): time 1.783e-06/0.2853, allocations: 0 / 0.5697 GB, free: 5.562 MB / 474.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006883/0.2859, allocations: 370.7 kB / 0.57 GB, free: 5.199 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.613e-05/0.286, allocations: 77.11 kB / 0.5701 GB, free: 5.105 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.485e-05/0.286, allocations: 117.7 kB / 0.5702 GB, free: 4.98 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.482e-05/0.2861, allocations: 37.7 kB / 0.5702 GB, free: 4.938 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.748e-05/0.2861, allocations: 112.5 kB / 0.5703 GB, free: 4.824 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.2862, allocations: 111 kB / 0.5704 GB, free: 4.715 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.648e-05/0.2862, allocations: 65.97 kB / 0.5705 GB, free: 4.645 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.818e-05/0.2863, allocations: 322.8 kB / 0.5708 GB, free: 4.32 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.2864, allocations: 96.61 kB / 0.5709 GB, free: 4.227 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001514/0.2866, allocations: 183.5 kB / 0.5711 GB, free: 4.012 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.2869, allocations: 299.6 kB / 0.5714 GB, free: 3.684 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.2869, allocations: 3.938 kB / 0.5714 GB, free: 3.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003777/0.2873, allocations: 350.7 kB / 0.5717 GB, free: 3.336 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.2873, allocations: 11.94 kB / 0.5717 GB, free: 3.324 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.2873, allocations: 4 kB / 0.5717 GB, free: 3.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.2873, allocations: 4 kB / 0.5717 GB, free: 3.316 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.2875, allocations: 67.91 kB / 0.5718 GB, free: 3.25 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.2875, allocations: 4 kB / 0.5718 GB, free: 3.246 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.831e-05/0.2876, allocations: 27.88 kB / 0.5718 GB, free: 3.219 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.2876, allocations: 20.25 kB / 0.5718 GB, free: 3.199 MB / 474.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.405e-05/0.2877, allocations: 147.2 kB / 0.572 GB, free: 3.047 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.218e-05/0.2877, allocations: 19.84 kB / 0.572 GB, free: 3.027 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004132/0.2882, allocations: 320.2 kB / 0.5723 GB, free: 2.715 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.2882, allocations: 4 kB / 0.5723 GB, free: 2.711 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.2882, allocations: 4 kB / 0.5723 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2882, allocations: 0 / 0.5723 GB, free: 2.707 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003008/0.2885, allocations: 235 kB / 0.5725 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.2885, allocations: 0 / 0.5725 GB, free: 2.449 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.2886, allocations: 63.94 kB / 0.5726 GB, free: 2.387 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2886, allocations: 3.938 kB / 0.5726 GB, free: 2.383 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.2887, allocations: 11.94 kB / 0.5726 GB, free: 2.371 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.275e-06/0.2887, allocations: 8 kB / 0.5726 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2887, allocations: 0 / 0.5726 GB, free: 2.363 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.2891, allocations: 0.5009 MB / 0.5731 GB, free: 1.855 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.597e-05/0.2891, allocations: 23.89 kB / 0.5731 GB, free: 1.832 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.2892, allocations: 4 kB / 0.5731 GB, free: 1.828 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001504/0.2893, allocations: 17.8 kB / 0.5731 GB, free: 1.812 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.721e-05/0.2893, allocations: 19.95 kB / 0.5732 GB, free: 1.793 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.2894, allocations: 12 kB / 0.5732 GB, free: 1.781 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.234e-05/0.2894, allocations: 91.27 kB / 0.5733 GB, free: 1.691 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2894, allocations: 7.938 kB / 0.5733 GB, free: 1.684 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004402/0.2898, allocations: 239.4 kB / 0.5735 GB, free: 1.449 MB / 474.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.000658/0.2905, allocations: 452.1 kB / 0.5739 GB, free: 1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003231/0.2908, allocations: 251.2 kB / 0.5742 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.2908, allocations: 4 kB / 0.5742 GB, free: 0.7539 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.2909, allocations: 119.8 kB / 0.5743 GB, free: 0.6367 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003787/0.2913, allocations: 89.95 kB / 0.5744 GB, free: 0.5547 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006863/0.292, allocations: 0.5986 MB / 0.575 GB, free: 15.93 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.363e-05/0.2921, allocations: 119.9 kB / 0.5751 GB, free: 15.79 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.752e-05/0.2922, allocations: 40.48 kB / 0.5751 GB, free: 15.75 MB / 490.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2922, allocations: 0 / 0.5751 GB, free: 15.75 MB / 490.7 MB Notification: Performance of Templates: time 0.005692/0.2979, allocations: 6.5 MB / 0.5815 GB, free: 9.266 MB / 490.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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.699015812017024]