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.000903/0.000903, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.00085/0.00085, allocations: 161.5 kB / 25.45 MB, free: 9.348 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.8327/0.8327, allocations: 158.6 MB / 187.2 MB, free: 3.039 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.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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.125e-05/2.279e-05, allocations: 2.281 kB / 299.7 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2527/0.2527, allocations: 130 MB / 429.7 MB, free: 9.656 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.2552, allocations: 2.736 MB / 432.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.745e-05/0.2553, allocations: 0 / 432.5 MB, free: 6.93 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.2557, allocations: 59.61 kB / 432.5 MB, free: 6.871 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002008/0.2577, allocations: 1.065 MB / 433.6 MB, free: 5.801 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003511/0.258, allocations: 200.6 kB / 433.8 MB, free: 5.605 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003379/0.2583, allocations: 358.5 kB / 434.1 MB, free: 5.254 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.547e-05/0.2584, allocations: 9.797 kB / 434.2 MB, free: 5.246 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002293/0.2586, allocations: 199.4 kB / 434.3 MB, free: 5.051 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.2588, allocations: 107.7 kB / 434.5 MB, free: 4.945 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.2588, allocations: 12 kB / 434.5 MB, free: 4.934 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.2609, allocations: 1.285 MB / 435.8 MB, free: 3.645 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.967e-05/0.261, allocations: 89.83 kB / 435.8 MB, free: 3.559 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.914e-05/0.2611, allocations: 87.81 kB / 435.9 MB, free: 3.473 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2623, allocations: 1.06 MB / 437 MB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.2623, allocations: 0 / 437 MB, free: 2.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.2623, allocations: 0 / 437 MB, free: 2.41 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.2623, allocations: 7.938 kB / 437 MB, free: 2.402 MB / 362.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.0007386/0.263, allocations: 481.7 kB / 437.5 MB, free: 1.902 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.263, allocations: 11.98 kB / 437.5 MB, free: 1.891 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007786/0.2638, allocations: 204.6 kB / 437.7 MB, free: 1.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.2641, allocations: 185.6 kB / 437.9 MB, free: 1.484 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.105e-05/0.2642, allocations: 16.75 kB / 437.9 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.2642, allocations: 16.38 kB / 437.9 MB, free: 1.453 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005569/0.2648, allocations: 0.5702 MB / 438.5 MB, free: 0.8242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.2648, allocations: 7.922 kB / 438.5 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.299e-05/0.2648, allocations: 8 kB / 438.5 MB, free: 0.8086 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2648, allocations: 8 kB / 438.5 MB, free: 0.8008 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.2652, allocations: 415.7 kB / 438.9 MB, free: 404 kB / 362.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.001186/0.2664, allocations: 0.7029 MB / 439.6 MB, free: 15.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002893/0.2667, allocations: 219.6 kB / 439.8 MB, free: 15.43 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001222/0.2668, allocations: 115.7 kB / 439.9 MB, free: 15.31 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.2676, allocations: 310.9 kB / 440.2 MB, free: 15.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.2676, allocations: 34.56 kB / 440.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.2677, allocations: 0 / 440.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007153/0.2684, allocations: 379.1 kB / 440.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.2684, allocations: 81.11 kB / 440.7 MB, free: 14.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.583e-05/0.2685, allocations: 113.8 kB / 440.8 MB, free: 14.37 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.814e-05/0.2685, allocations: 29.7 kB / 440.8 MB, free: 14.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.2686, allocations: 116.5 kB / 441 MB, free: 14.22 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.996e-05/0.2686, allocations: 107.1 kB / 441.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.077e-05/0.2687, allocations: 69.97 kB / 441.1 MB, free: 14.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.423e-05/0.2688, allocations: 322.8 kB / 441.4 MB, free: 13.71 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.2689, allocations: 96.61 kB / 441.5 MB, free: 13.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001572/0.2691, allocations: 191.4 kB / 441.7 MB, free: 13.4 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003057/0.2694, allocations: 304.1 kB / 442 MB, free: 13.07 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2694, allocations: 0 / 442 MB, free: 13.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003909/0.2698, allocations: 342.1 kB / 442.4 MB, free: 12.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2698, allocations: 4 kB / 442.4 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.626e-06/0.2698, allocations: 7.562 kB / 442.4 MB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.2698, allocations: 7.938 kB / 442.4 MB, free: 12.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.27, allocations: 71.91 kB / 442.4 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.27, allocations: 4 kB / 442.5 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.961e-05/0.2701, allocations: 31.77 kB / 442.5 MB, free: 12.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.236e-05/0.2701, allocations: 16 kB / 442.5 MB, free: 12.59 MB / 378.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.917e-05/0.2702, allocations: 137.8 kB / 442.6 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.651e-05/0.2703, allocations: 19.84 kB / 442.7 MB, free: 12.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007738/0.2711, allocations: 325.6 kB / 443 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.639e-06/0.2711, allocations: 8 kB / 443 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2711, allocations: 0 / 443 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2711, allocations: 0 / 443 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000308/0.2714, allocations: 239.1 kB / 443.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2714, allocations: 0 / 443.2 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001613/0.2716, allocations: 59.89 kB / 443.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.767e-06/0.2716, allocations: 4 kB / 443.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.778e-05/0.2716, allocations: 8 kB / 443.3 MB, free: 11.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.2716, allocations: 7.875 kB / 443.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2716, allocations: 0 / 443.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.272, allocations: 0.5173 MB / 443.8 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.599e-05/0.2721, allocations: 11.89 kB / 443.8 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.728e-05/0.2721, allocations: 12 kB / 443.8 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001405/0.2722, allocations: 11.98 kB / 443.8 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.937e-05/0.2723, allocations: 23.95 kB / 443.9 MB, free: 11.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.156e-05/0.2723, allocations: 12 kB / 443.9 MB, free: 11.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.3e-05/0.2723, allocations: 91.27 kB / 444 MB, free: 11.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.2723, allocations: 0 / 444 MB, free: 11.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005216/0.2728, allocations: 231.4 kB / 444.2 MB, free: 10.84 MB / 378.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.0007076/0.2735, allocations: 450.3 kB / 444.6 MB, free: 10.39 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003696/0.2739, allocations: 252.1 kB / 444.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.2739, allocations: 4.188 kB / 444.9 MB, free: 10.14 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.274, allocations: 123.8 kB / 445 MB, free: 10.02 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003985/0.2744, allocations: 79.83 kB / 445.1 MB, free: 9.945 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007632/0.2752, allocations: 0.616 MB / 445.7 MB, free: 9.293 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.317e-05/0.2753, allocations: 119.9 kB / 445.8 MB, free: 9.156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.11e-05/0.2754, allocations: 44.44 kB / 445.9 MB, free: 9.113 MB / 378.7 MB Notification: Performance of SimCode: time 3.71e-07/0.2754, allocations: 0 / 445.9 MB, free: 9.113 MB / 378.7 MB Notification: Performance of Templates: time 0.00722/0.2826, allocations: 6.572 MB / 452.4 MB, free: 2.535 MB / 378.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=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.347415713593364]