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.001324/0.001324, allocations: 82.2 kB / 20.68 MB, free: 1.023 MB / 14.72 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.00153/0.00153, allocations: 164.5 kB / 23.95 MB, free: 4.16 MB / 14.72 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.383/1.383, allocations: 177.2 MB / 204.3 MB, free: 9.172 MB / 190.1 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.2071/0.2071, allocations: 32.82 MB / 293.5 MB, free: 16 kB / 270.1 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.513e-06/1.513e-06, allocations: 0 / 440.1 MB, free: 8.164 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.377e-05/2.528e-05, allocations: 2.281 kB / 440.1 MB, free: 8.16 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3739/0.3739, allocations: 131.8 MB / 0.5585 GB, free: 6.09 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.378, allocations: 2.827 MB / 0.5613 GB, free: 3.273 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.3781, allocations: 0 / 0.5613 GB, free: 3.273 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004031/0.3785, allocations: 55.62 kB / 0.5613 GB, free: 3.219 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00301/0.3815, allocations: 1.08 MB / 0.5624 GB, free: 2.133 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005973/0.3821, allocations: 203.9 kB / 0.5626 GB, free: 1.938 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005239/0.3826, allocations: 358.5 kB / 0.5629 GB, free: 1.586 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.909e-05/0.3827, allocations: 13.28 kB / 0.5629 GB, free: 1.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000417/0.3831, allocations: 199.4 kB / 0.5631 GB, free: 1.375 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002373/0.3834, allocations: 103.7 kB / 0.5632 GB, free: 1.273 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.799e-05/0.3834, allocations: 12 kB / 0.5632 GB, free: 1.262 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002941/0.3863, allocations: 1.321 MB / 0.5645 GB, free: 15.94 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000125/0.3865, allocations: 79.77 kB / 0.5646 GB, free: 15.86 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001416/0.3866, allocations: 83.83 kB / 0.5647 GB, free: 15.78 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002228/0.3888, allocations: 1.068 MB / 0.5657 GB, free: 14.71 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.3888, allocations: 0 / 0.5657 GB, free: 14.71 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.3889, allocations: 4 kB / 0.5657 GB, free: 14.7 MB / 478.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.3889, allocations: 0 / 0.5657 GB, free: 14.7 MB / 478.1 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.0012/0.3901, allocations: 489.1 kB / 0.5662 GB, free: 14.2 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.3901, allocations: 8.031 kB / 0.5662 GB, free: 14.19 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001635/0.3917, allocations: 212.5 kB / 0.5664 GB, free: 13.98 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003847/0.3921, allocations: 197.6 kB / 0.5666 GB, free: 13.76 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.3921, allocations: 13.69 kB / 0.5666 GB, free: 13.75 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.519e-05/0.3922, allocations: 28.52 kB / 0.5666 GB, free: 13.73 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007828/0.393, allocations: 0.5618 MB / 0.5672 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.393, allocations: 0 / 0.5672 GB, free: 13.11 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.3931, allocations: 11.98 kB / 0.5672 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.3931, allocations: 4 kB / 0.5672 GB, free: 13.09 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006343/0.3937, allocations: 404.3 kB / 0.5676 GB, free: 12.7 MB / 478.1 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.001659/0.3954, allocations: 0.707 MB / 0.5682 GB, free: 11.95 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004125/0.3958, allocations: 222.8 kB / 0.5685 GB, free: 11.72 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001844/0.396, allocations: 117.7 kB / 0.5686 GB, free: 11.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00154/0.3975, allocations: 305.7 kB / 0.5689 GB, free: 11.3 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.487e-05/0.3975, allocations: 40.25 kB / 0.5689 GB, free: 11.25 MB / 478.1 MB Notification: Performance of pre-optimization done (n=29): time 2.204e-06/0.3975, allocations: 4 kB / 0.5689 GB, free: 11.25 MB / 478.1 MB Notification: Performance of matching and sorting (n=29): time 0.001243/0.3988, allocations: 369.8 kB / 0.5693 GB, free: 10.88 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/0.3988, allocations: 81.11 kB / 0.5693 GB, free: 10.79 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.8e-05/0.3989, allocations: 113.8 kB / 0.5694 GB, free: 10.66 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.201e-05/0.399, allocations: 33.69 kB / 0.5695 GB, free: 10.62 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.114e-05/0.399, allocations: 112.5 kB / 0.5696 GB, free: 10.51 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.344e-05/0.3991, allocations: 111.1 kB / 0.5697 GB, free: 10.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000106/0.3992, allocations: 61.98 kB / 0.5698 GB, free: 10.34 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3994, allocations: 322.8 kB / 0.5701 GB, free: 10.01 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.3996, allocations: 104.6 kB / 0.5702 GB, free: 9.91 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000262/0.3998, allocations: 187.5 kB / 0.5703 GB, free: 9.691 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004835/0.4003, allocations: 302.5 kB / 0.5706 GB, free: 9.363 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.816e-06/0.4003, allocations: 0 / 0.5706 GB, free: 9.363 MB / 478.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000644/0.401, allocations: 342.8 kB / 0.571 GB, free: 9.023 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.401, allocations: 11.88 kB / 0.571 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.401, allocations: 4.312 kB / 0.571 GB, free: 9.008 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.891e-05/0.401, allocations: 8 kB / 0.571 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003562/0.4014, allocations: 75.83 kB / 0.571 GB, free: 8.926 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.052e-05/0.4014, allocations: 6.344 kB / 0.5711 GB, free: 8.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002174/0.4016, allocations: 23.83 kB / 0.5711 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.4017, allocations: 19.98 kB / 0.5711 GB, free: 8.879 MB / 478.1 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 0.000149/0.4018, allocations: 137.8 kB / 0.5712 GB, free: 8.734 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.4019, allocations: 15.91 kB / 0.5712 GB, free: 8.719 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006839/0.4026, allocations: 322.6 kB / 0.5716 GB, free: 8.395 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.4026, allocations: 4 kB / 0.5716 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.4026, allocations: 0 / 0.5716 GB, free: 8.391 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.105e-06/0.4026, allocations: 3.984 kB / 0.5716 GB, free: 8.387 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005008/0.4031, allocations: 235 kB / 0.5718 GB, free: 8.125 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4031, allocations: 4 kB / 0.5718 GB, free: 8.121 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003373/0.4034, allocations: 55.91 kB / 0.5718 GB, free: 8.066 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.4035, allocations: 4 kB / 0.5718 GB, free: 8.062 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.372e-05/0.4035, allocations: 16.8 kB / 0.5719 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.4035, allocations: 0 / 0.5719 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.4035, allocations: 0 / 0.5719 GB, free: 8.047 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007985/0.4043, allocations: 0.5114 MB / 0.5724 GB, free: 7.52 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.175e-05/0.4043, allocations: 15.88 kB / 0.5724 GB, free: 7.504 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.218e-05/0.4044, allocations: 16 kB / 0.5724 GB, free: 7.488 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.4047, allocations: 12.8 kB / 0.5724 GB, free: 7.477 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.177e-05/0.4047, allocations: 19.97 kB / 0.5724 GB, free: 7.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.903e-05/0.4048, allocations: 15.98 kB / 0.5724 GB, free: 7.441 MB / 478.1 MB Notification: Performance of sorting global known variables: time 5.56e-05/0.4048, allocations: 91.56 kB / 0.5725 GB, free: 7.352 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4048, allocations: 7.938 kB / 0.5725 GB, free: 7.344 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0008285/0.4056, allocations: 231.4 kB / 0.5728 GB, free: 7.117 MB / 478.1 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.001089/0.4067, allocations: 450.3 kB / 0.5732 GB, free: 6.668 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0005246/0.4073, allocations: 259 kB / 0.5734 GB, free: 6.418 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.4073, allocations: 0 / 0.5734 GB, free: 6.418 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002225/0.4075, allocations: 119.9 kB / 0.5735 GB, free: 6.301 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006713/0.4082, allocations: 86.14 kB / 0.5736 GB, free: 6.223 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.4092, allocations: 0.5789 MB / 0.5742 GB, free: 5.617 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.4093, allocations: 127.7 kB / 0.5743 GB, free: 5.477 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002781/0.4096, allocations: 69.84 kB / 0.5744 GB, free: 5.406 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.4097, allocations: 32.5 kB / 0.5744 GB, free: 5.375 MB / 478.1 MB Notification: Performance of SimCode: time 4.01e-07/0.4097, allocations: 0 / 0.5744 GB, free: 5.375 MB / 478.1 MB Notification: Performance of Templates: time 0.01511/0.4248, allocations: 8.324 MB / 0.5825 GB, free: 13.14 MB / 494.1 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.343088541179895]