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.00189/0.00189, allocations: 99.53 kB / 21.73 MB, free: 2.688 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.001948/0.001948, allocations: 164.1 kB / 25.03 MB, free: 8.414 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 1.34/1.34, allocations: 158.6 MB / 186.8 MB, free: 2.918 MB / 170.7 MB " [Timeout remaining time 178] 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.453e-06/1.453e-06, allocations: 0 / 250.4 MB, free: 7.844 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.774e-05/2.92e-05, allocations: 2.312 kB / 250.4 MB, free: 7.84 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3385/0.3385, allocations: 143.8 MB / 394.2 MB, free: 10.05 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003147/0.3416, allocations: 3.101 MB / 397.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.719e-05/0.3417, allocations: 0 / 397.3 MB, free: 9.848 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003624/0.3421, allocations: 60.56 kB / 397.4 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002227/0.3443, allocations: 1.054 MB / 398.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004622/0.3448, allocations: 204.4 kB / 398.6 MB, free: 9.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.3451, allocations: 364.7 kB / 399 MB, free: 9.539 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.836e-05/0.3451, allocations: 7.922 kB / 399 MB, free: 9.535 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002568/0.3454, allocations: 200.7 kB / 399.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001652/0.3456, allocations: 105 kB / 399.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.824e-05/0.3456, allocations: 11.28 kB / 399.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.3477, allocations: 1.291 MB / 400.6 MB, free: 8.992 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.3478, allocations: 83.28 kB / 400.7 MB, free: 8.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.831e-05/0.3479, allocations: 87.16 kB / 400.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00128/0.3492, allocations: 1.059 MB / 401.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.3492, allocations: 0 / 401.8 MB, free: 8.555 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.323e-06/0.3492, allocations: 3.938 kB / 401.8 MB, free: 8.551 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.701e-06/0.3492, allocations: 0 / 401.8 MB, free: 8.551 MB / 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.0006788/0.3499, allocations: 0.5769 MB / 402.4 MB, free: 8.062 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.35, allocations: 16.44 kB / 402.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.3513, allocations: 262.9 kB / 402.7 MB, free: 7.957 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003167/0.3516, allocations: 186.2 kB / 402.8 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.3517, allocations: 13.09 kB / 402.9 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.513e-05/0.3517, allocations: 24.38 kB / 402.9 MB, free: 7.801 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004631/0.3522, allocations: 487.3 kB / 403.4 MB, free: 7.43 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.3522, allocations: 7 kB / 403.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.3522, allocations: 6.562 kB / 403.4 MB, free: 7.426 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.174e-06/0.3522, allocations: 13.58 kB / 403.4 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004127/0.3527, allocations: 255.1 kB / 403.6 MB, free: 7.375 MB / 330.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.001428/0.3541, allocations: 0.7804 MB / 404.4 MB, free: 6.871 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003396/0.3544, allocations: 209.7 kB / 404.6 MB, free: 6.777 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001415/0.3546, allocations: 108.8 kB / 404.7 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001414/0.356, allocations: 306.7 kB / 405 MB, free: 6.656 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.356, allocations: 48.22 kB / 405.1 MB, free: 6.605 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.472e-06/0.356, allocations: 0 / 405.1 MB, free: 6.605 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001146/0.3572, allocations: 346.6 kB / 405.4 MB, free: 6.516 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.356e-05/0.3572, allocations: 82.64 kB / 405.5 MB, free: 6.422 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.274e-05/0.3572, allocations: 179.7 kB / 405.7 MB, free: 6.246 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.3573, allocations: 36.08 kB / 405.7 MB, free: 6.215 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/0.3573, allocations: 159.8 kB / 405.9 MB, free: 6.062 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-05/0.3574, allocations: 115.9 kB / 406 MB, free: 5.98 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001025/0.3575, allocations: 68.94 kB / 406 MB, free: 5.953 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.3575, allocations: 0.5006 MB / 406.5 MB, free: 5.453 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001517/0.3577, allocations: 87.36 kB / 406.6 MB, free: 5.441 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001828/0.3579, allocations: 211.8 kB / 406.8 MB, free: 5.281 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003522/0.3582, allocations: 321.4 kB / 407.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.3582, allocations: 2.531 kB / 407.1 MB, free: 5.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005285/0.3588, allocations: 329.8 kB / 407.5 MB, free: 5.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.3588, allocations: 13.42 kB / 407.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/0.3588, allocations: 2.562 kB / 407.5 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.3588, allocations: 14.2 kB / 407.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003273/0.3591, allocations: 70.31 kB / 407.6 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.3591, allocations: 6 kB / 407.6 MB, free: 5.004 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002073/0.3593, allocations: 32.61 kB / 407.6 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.195e-05/0.3594, allocations: 17.62 kB / 407.6 MB, free: 4.984 MB / 330.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 0.0001005/0.3595, allocations: 178.7 kB / 407.8 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001095/0.3596, allocations: 29.3 kB / 407.8 MB, free: 4.809 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005616/0.3602, allocations: 317.2 kB / 408.1 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3602, allocations: 6.688 kB / 408.1 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3602, allocations: 6.125 kB / 408.1 MB, free: 4.707 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3602, allocations: 3.984 kB / 408.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004279/0.3606, allocations: 249.6 kB / 408.4 MB, free: 4.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.3606, allocations: 4 kB / 408.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003207/0.3609, allocations: 53.62 kB / 408.4 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3609, allocations: 2.594 kB / 408.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.654e-05/0.361, allocations: 6.969 kB / 408.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.361, allocations: 3.938 kB / 408.5 MB, free: 4.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.361, allocations: 6.438 kB / 408.5 MB, free: 4.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006321/0.3616, allocations: 0.6072 MB / 409.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.752e-05/0.3616, allocations: 17.38 kB / 409.1 MB, free: 4.145 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.745e-05/0.3616, allocations: 14.3 kB / 409.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000308/0.362, allocations: 6.219 kB / 409.1 MB, free: 4.137 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.376e-05/0.362, allocations: 27.61 kB / 409.1 MB, free: 4.121 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.504e-05/0.362, allocations: 18.95 kB / 409.2 MB, free: 4.117 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.538e-05/0.3621, allocations: 130 kB / 409.3 MB, free: 4 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3621, allocations: 3.125 kB / 409.3 MB, free: 4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007061/0.3628, allocations: 221.5 kB / 409.5 MB, free: 3.961 MB / 330.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.0008789/0.3637, allocations: 460 kB / 410 MB, free: 3.734 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004233/0.3641, allocations: 246.7 kB / 410.2 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.3641, allocations: 3.188 kB / 410.2 MB, free: 3.68 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000189/0.3643, allocations: 132.2 kB / 410.3 MB, free: 3.645 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006613/0.3649, allocations: 90.41 kB / 410.4 MB, free: 3.613 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007823/0.3657, allocations: 0.5768 MB / 411 MB, free: 3.203 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.129e-05/0.3658, allocations: 121.3 kB / 411.1 MB, free: 3.105 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002744/0.3661, allocations: 75.02 kB / 411.2 MB, free: 3.059 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.327e-05/0.3662, allocations: 32.45 kB / 411.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of SimCode: time 4.71e-07/0.3662, allocations: 0 / 411.2 MB, free: 3.047 MB / 330.7 MB Notification: Performance of Templates: time 0.01351/0.3797, allocations: 8.542 MB / 419.8 MB, free: 14.66 MB / 346.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","/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.115869657951407]