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.0009759/0.0009759, allocations: 79.73 kB / 21.97 MB, free: 2.602 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.001083/0.001083, allocations: 170.5 kB / 25.33 MB, free: 9.051 MB / 18.57 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 0.8093/0.8093, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 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.[0-9,]+.|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.[0-9,]+.|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 251 MB, free: 3.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.38e-05/1.526e-05, allocations: 2.312 kB / 251 MB, free: 3.613 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2129/0.2129, allocations: 144.2 MB / 395.2 MB, free: 7.883 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002445/0.2154, allocations: 3.095 MB / 398.3 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.307e-05/0.2155, allocations: 0 / 398.3 MB, free: 4.797 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003444/0.2158, allocations: 63.61 kB / 398.4 MB, free: 4.734 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001711/0.2175, allocations: 1.061 MB / 399.4 MB, free: 3.668 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002997/0.2178, allocations: 199.5 kB / 399.6 MB, free: 3.473 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002863/0.2181, allocations: 358.5 kB / 400 MB, free: 3.121 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.2181, allocations: 5.312 kB / 400 MB, free: 3.117 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002017/0.2183, allocations: 195.4 kB / 400.2 MB, free: 2.926 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.2185, allocations: 103.7 kB / 400.3 MB, free: 2.824 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.2185, allocations: 12 kB / 400.3 MB, free: 2.812 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001426/0.2199, allocations: 1.301 MB / 401.6 MB, free: 1.508 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.433e-05/0.22, allocations: 83.77 kB / 401.7 MB, free: 1.426 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.2201, allocations: 87.83 kB / 401.7 MB, free: 1.34 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009608/0.221, allocations: 1.001 MB / 402.7 MB, free: 344 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.221, allocations: 3.938 kB / 402.8 MB, free: 340 kB / 330.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.221, allocations: 0 / 402.8 MB, free: 340 kB / 330.7 MB Notification: Performance of Transformations before backend: time 4.418e-06/0.221, allocations: 0 / 402.8 MB, free: 340 kB / 330.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.0005989/0.2216, allocations: 0.5704 MB / 403.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.2217, allocations: 11.98 kB / 403.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008098/0.2225, allocations: 264.2 kB / 403.6 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002072/0.2227, allocations: 192.3 kB / 403.8 MB, free: 15.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.2227, allocations: 12.75 kB / 403.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/0.2227, allocations: 24.38 kB / 403.8 MB, free: 15.21 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003735/0.2231, allocations: 477.5 kB / 404.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.2231, allocations: 3.938 kB / 404.3 MB, free: 14.68 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.894e-05/0.2232, allocations: 12 kB / 404.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.19e-05/0.2232, allocations: 8 kB / 404.3 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002484/0.2234, allocations: 208.3 kB / 404.5 MB, free: 14.45 MB / 346.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.000901/0.2243, allocations: 0.7479 MB / 405.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002344/0.2246, allocations: 194 kB / 405.4 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.229e-05/0.2246, allocations: 95.33 kB / 405.5 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006905/0.2253, allocations: 306.8 kB / 405.8 MB, free: 13.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.2254, allocations: 45.58 kB / 405.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of pre-optimization done (n=29): time 1.262e-06/0.2254, allocations: 0 / 405.9 MB, free: 12.99 MB / 346.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006334/0.226, allocations: 329.9 kB / 406.2 MB, free: 12.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.226, allocations: 77.11 kB / 406.3 MB, free: 12.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.05e-05/0.2261, allocations: 169.9 kB / 406.4 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.401e-05/0.2261, allocations: 33.7 kB / 406.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.607e-05/0.2262, allocations: 155.3 kB / 406.6 MB, free: 12.19 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.746e-05/0.2262, allocations: 115 kB / 406.7 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.638e-05/0.2263, allocations: 67.64 kB / 406.8 MB, free: 12 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.2264, allocations: 0.504 MB / 407.3 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.268e-05/0.2265, allocations: 63.81 kB / 407.4 MB, free: 11.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000126/0.2266, allocations: 181.4 kB / 407.6 MB, free: 11.2 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002259/0.2268, allocations: 265.2 kB / 407.8 MB, free: 10.89 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2268, allocations: 7.938 kB / 407.8 MB, free: 10.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003197/0.2272, allocations: 288.3 kB / 408.1 MB, free: 10.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.113e-05/0.2272, allocations: 4 kB / 408.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.86e-06/0.2272, allocations: 4.312 kB / 408.1 MB, free: 10.59 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.335e-05/0.2272, allocations: 11.94 kB / 408.1 MB, free: 10.58 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2274, allocations: 75.89 kB / 408.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.2274, allocations: 4 kB / 408.2 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.135e-05/0.2275, allocations: 23.83 kB / 408.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.786e-05/0.2275, allocations: 19.98 kB / 408.2 MB, free: 10.46 MB / 346.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.592e-05/0.2276, allocations: 176.5 kB / 408.4 MB, free: 10.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.472e-05/0.2276, allocations: 35.78 kB / 408.5 MB, free: 10.24 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003327/0.228, allocations: 276.3 kB / 408.7 MB, free: 9.969 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.228, allocations: 4 kB / 408.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.228, allocations: 0 / 408.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.228, allocations: 0 / 408.7 MB, free: 9.965 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002874/0.2283, allocations: 242.9 kB / 409 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2283, allocations: 0 / 409 MB, free: 9.691 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001581/0.2284, allocations: 55.91 kB / 409 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2284, allocations: 0 / 409 MB, free: 9.637 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.141e-05/0.2284, allocations: 15.98 kB / 409 MB, free: 9.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2284, allocations: 3.938 kB / 409 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.2285, allocations: 0 / 409 MB, free: 9.617 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004074/0.2289, allocations: 0.5534 MB / 409.6 MB, free: 9.043 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.226e-05/0.2289, allocations: 15.84 kB / 409.6 MB, free: 9.027 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.2289, allocations: 12.81 kB / 409.6 MB, free: 9.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001441/0.229, allocations: 15.98 kB / 409.6 MB, free: 9 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.2291, allocations: 19.97 kB / 409.7 MB, free: 8.98 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.121e-05/0.2291, allocations: 15.98 kB / 409.7 MB, free: 8.965 MB / 346.7 MB Notification: Performance of sorting global known variables: time 3.872e-05/0.2291, allocations: 134.2 kB / 409.8 MB, free: 8.836 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2291, allocations: 0 / 409.8 MB, free: 8.836 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004295/0.2296, allocations: 227.4 kB / 410 MB, free: 8.613 MB / 346.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.0006316/0.2302, allocations: 453 kB / 410.5 MB, free: 8.164 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002516/0.2304, allocations: 200.1 kB / 410.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2304, allocations: 0 / 410.7 MB, free: 7.965 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001008/0.2305, allocations: 115.5 kB / 410.8 MB, free: 7.848 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003689/0.2309, allocations: 93.19 kB / 410.9 MB, free: 7.762 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008821/0.2318, allocations: 0.5738 MB / 411.4 MB, free: 7.16 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.803e-05/0.2318, allocations: 80.33 kB / 411.5 MB, free: 7.062 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000183/0.232, allocations: 69.83 kB / 411.6 MB, free: 6.988 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.041e-05/0.2321, allocations: 40.48 kB / 411.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of SimCode: time 4.11e-07/0.2321, allocations: 0 / 411.6 MB, free: 6.949 MB / 346.7 MB Notification: Performance of Templates: time 0.009986/0.2421, allocations: 9.899 MB / 421.5 MB, free: 13.05 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] 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","",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.109136590734124]