Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.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.001487/0.001487, allocations: 73.56 kB / 21.24 MB, free: 0.5039 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.001575/0.001575, allocations: 167 kB / 24.5 MB, free: 3.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.316/1.316, allocations: 158.6 MB / 186.2 MB, free: 6.504 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") translateModel(Modelica.Media.Examples.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="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 55.92 kB / 298.6 MB, free: 8.957 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2209/0.2227, allocations: 49.14 MB / 347.7 MB, free: 15.66 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.1691/0.3918, allocations: 130 MB / 477.8 MB, free: 14.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.3956, allocations: 2.749 MB / 480.5 MB, free: 12.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.922e-05/0.3957, allocations: 0 / 480.5 MB, free: 12.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003337/0.396, allocations: 47.69 kB / 480.6 MB, free: 12.08 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00234/0.3984, allocations: 1.038 MB / 481.6 MB, free: 11.04 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004881/0.3989, allocations: 199.5 kB / 481.8 MB, free: 10.85 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.3993, allocations: 354.7 kB / 482.1 MB, free: 10.5 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.135e-05/0.3993, allocations: 13.25 kB / 482.2 MB, free: 10.49 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003309/0.3997, allocations: 199.4 kB / 482.3 MB, free: 10.29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002024/0.3999, allocations: 111.6 kB / 482.5 MB, free: 10.18 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.3999, allocations: 12 kB / 482.5 MB, free: 10.17 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002425/0.4023, allocations: 1.285 MB / 483.8 MB, free: 8.887 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001275/0.4025, allocations: 83.77 kB / 483.8 MB, free: 8.805 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.4026, allocations: 95.64 kB / 483.9 MB, free: 8.711 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001396/0.404, allocations: 0.9507 MB / 484.9 MB, free: 7.758 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.404, allocations: 4 kB / 484.9 MB, free: 7.754 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.404, allocations: 0 / 484.9 MB, free: 7.754 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.72e-06/0.404, allocations: 0 / 484.9 MB, free: 7.754 MB / 446.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.0009245/0.4049, allocations: 489.2 kB / 485.4 MB, free: 7.246 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.798e-05/0.405, allocations: 15.98 kB / 485.4 MB, free: 7.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001374/0.4063, allocations: 196.6 kB / 485.6 MB, free: 7.039 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003481/0.4067, allocations: 194.3 kB / 485.8 MB, free: 6.824 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.4067, allocations: 16.75 kB / 485.8 MB, free: 6.809 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.29e-05/0.4068, allocations: 27.89 kB / 485.8 MB, free: 6.781 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007894/0.4076, allocations: 0.5697 MB / 486.4 MB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.4076, allocations: 0 / 486.4 MB, free: 6.152 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.349e-05/0.4076, allocations: 8 kB / 486.4 MB, free: 6.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.303e-06/0.4076, allocations: 11.94 kB / 486.4 MB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000644/0.4083, allocations: 407.7 kB / 486.8 MB, free: 5.734 MB / 446.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.001694/0.41, allocations: 0.7148 MB / 487.5 MB, free: 4.984 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004368/0.4104, allocations: 213.1 kB / 487.7 MB, free: 4.758 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001864/0.4106, allocations: 113.7 kB / 487.8 MB, free: 4.641 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001504/0.4121, allocations: 305.6 kB / 488.1 MB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.4121, allocations: 38.56 kB / 488.2 MB, free: 4.293 MB / 446.1 MB Notification: Performance of pre-optimization done (n=29): time 1.693e-06/0.4121, allocations: 0 / 488.2 MB, free: 4.293 MB / 446.1 MB Notification: Performance of matching and sorting (n=29): time 0.001207/0.4133, allocations: 366.6 kB / 488.5 MB, free: 3.93 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.4134, allocations: 89.11 kB / 488.6 MB, free: 3.824 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.4135, allocations: 113.8 kB / 488.7 MB, free: 3.703 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.4136, allocations: 33.7 kB / 488.7 MB, free: 3.664 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.593e-05/0.4136, allocations: 116.5 kB / 488.9 MB, free: 3.547 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001019/0.4137, allocations: 119 kB / 489 MB, free: 3.43 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001163/0.4139, allocations: 61.97 kB / 489 MB, free: 3.363 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.414, allocations: 326.8 kB / 489.4 MB, free: 3.035 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002044/0.4142, allocations: 96.61 kB / 489.4 MB, free: 2.941 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002777/0.4145, allocations: 179.6 kB / 489.6 MB, free: 2.73 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.415, allocations: 310.3 kB / 489.9 MB, free: 2.391 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.415, allocations: 0 / 489.9 MB, free: 2.391 MB / 446.1 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006793/0.4157, allocations: 341.2 kB / 490.3 MB, free: 2.051 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.805e-05/0.4157, allocations: 8 kB / 490.3 MB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.4157, allocations: 0 / 490.3 MB, free: 2.043 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.948e-05/0.4158, allocations: 8 kB / 490.3 MB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003607/0.4161, allocations: 71.89 kB / 490.3 MB, free: 1.965 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.049e-05/0.4161, allocations: 4.312 kB / 490.4 MB, free: 1.961 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002134/0.4163, allocations: 27.83 kB / 490.4 MB, free: 1.934 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.421e-05/0.4164, allocations: 23.98 kB / 490.4 MB, free: 1.91 MB / 446.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.0001518/0.4165, allocations: 141.7 kB / 490.5 MB, free: 1.762 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000105/0.4166, allocations: 19.84 kB / 490.6 MB, free: 1.742 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006976/0.4173, allocations: 318.1 kB / 490.9 MB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4173, allocations: 0 / 490.9 MB, free: 1.426 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.117e-06/0.4173, allocations: 7.984 kB / 490.9 MB, free: 1.418 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.4174, allocations: 3.984 kB / 490.9 MB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005235/0.4179, allocations: 246.9 kB / 491.1 MB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4179, allocations: 0 / 491.1 MB, free: 1.141 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003545/0.4182, allocations: 59.84 kB / 491.2 MB, free: 1.082 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.4182, allocations: 4 kB / 491.2 MB, free: 1.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.239e-05/0.4183, allocations: 15.98 kB / 491.2 MB, free: 1.062 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.4183, allocations: 4 kB / 491.2 MB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.4183, allocations: 0 / 491.2 MB, free: 1.059 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008052/0.4191, allocations: 0.5101 MB / 491.7 MB, free: 0.5312 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.4191, allocations: 15.89 kB / 491.7 MB, free: 0.5156 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.612e-05/0.4191, allocations: 4.062 kB / 491.7 MB, free: 0.5117 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003199/0.4195, allocations: 15.98 kB / 491.8 MB, free: 0.4961 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.682e-05/0.4195, allocations: 15.97 kB / 491.8 MB, free: 492 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.4195, allocations: 23.98 kB / 491.8 MB, free: 468 kB / 446.1 MB Notification: Performance of sorting global known variables: time 6.795e-05/0.4196, allocations: 91.2 kB / 491.9 MB, free: 376 kB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4196, allocations: 0 / 491.9 MB, free: 376 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007598/0.4204, allocations: 227.4 kB / 492.1 MB, free: 148 kB / 446.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.1592/0.5795, allocations: 426.6 kB / 492.5 MB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007355/0.5803, allocations: 245.1 kB / 492.8 MB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/0.5803, allocations: 0.5625 kB / 492.8 MB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002506/0.5805, allocations: 131 kB / 492.9 MB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006794/0.5812, allocations: 84.72 kB / 493 MB, free: 140.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.5824, allocations: 0.7158 MB / 493.7 MB, free: 140.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001337/0.5825, allocations: 130.4 kB / 493.8 MB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003124/0.5828, allocations: 70.55 kB / 493.9 MB, free: 140.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.583, allocations: 29 kB / 493.9 MB, free: 140.1 MB / 446.1 MB Notification: Performance of SimCode: time 6.11e-07/0.583, allocations: 0.625 kB / 493.9 MB, free: 140.1 MB / 446.1 MB Notification: Performance of Templates: time 0.01285/0.5958, allocations: 8.397 MB / 0.4905 GB, free: 134.7 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.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.091657321900129]