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.000944/0.000944, allocations: 75.75 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.0009298/0.0009298, allocations: 159.5 kB / 25.32 MB, free: 9.062 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.9117/0.9117, allocations: 158.6 MB / 187.2 MB, free: 2.922 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.613e-06/1.613e-06, allocations: 3.938 kB / 251 MB, free: 7.523 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.372e-05/2.534e-05, allocations: 6.312 kB / 251 MB, free: 7.516 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.3184/0.3184, allocations: 144.2 MB / 395.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002614/0.321, allocations: 3.089 MB / 398.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001241/0.3211, allocations: 3.062 kB / 398.3 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003861/0.3215, allocations: 56.84 kB / 398.4 MB, free: 10.06 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002236/0.3237, allocations: 1.066 MB / 399.4 MB, free: 9.895 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003854/0.3241, allocations: 197.9 kB / 399.6 MB, free: 9.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004118/0.3245, allocations: 360.5 kB / 400 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.486e-05/0.3246, allocations: 6.969 kB / 400 MB, free: 9.715 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003107/0.3249, allocations: 195.9 kB / 400.2 MB, free: 9.652 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3251, allocations: 104.8 kB / 400.3 MB, free: 9.617 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.3251, allocations: 18.38 kB / 400.3 MB, free: 9.613 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002251/0.3274, allocations: 1.295 MB / 401.6 MB, free: 9.168 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.3275, allocations: 79.84 kB / 401.7 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001228/0.3276, allocations: 86.7 kB / 401.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001824/0.3294, allocations: 1.006 MB / 402.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3294, allocations: 0 / 402.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3295, allocations: 0 / 402.7 MB, free: 8.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.924e-06/0.3295, allocations: 4 kB / 402.7 MB, free: 8.766 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.0008039/0.3303, allocations: 0.5712 MB / 403.3 MB, free: 8.281 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.302e-05/0.3303, allocations: 12.77 kB / 403.3 MB, free: 8.277 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009313/0.3312, allocations: 263.5 kB / 403.6 MB, free: 8.176 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003456/0.3316, allocations: 186.3 kB / 403.8 MB, free: 8.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.608e-05/0.3316, allocations: 17.12 kB / 403.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.524e-05/0.3317, allocations: 24.06 kB / 403.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003947/0.332, allocations: 473.5 kB / 404.3 MB, free: 7.641 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.3321, allocations: 6.625 kB / 404.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.3321, allocations: 9.469 kB / 404.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.556e-06/0.3321, allocations: 3.531 kB / 404.3 MB, free: 7.637 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.3324, allocations: 206.9 kB / 404.5 MB, free: 7.594 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.00114/0.3335, allocations: 0.7555 MB / 405.3 MB, free: 7.086 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.3338, allocations: 202.8 kB / 405.4 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-05/0.3339, allocations: 89.05 kB / 405.5 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008818/0.3347, allocations: 297 kB / 405.8 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.3348, allocations: 42.3 kB / 405.9 MB, free: 6.84 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 3.667e-06/0.3348, allocations: 3.984 kB / 405.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.000844/0.3356, allocations: 333.1 kB / 406.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.3357, allocations: 82.67 kB / 406.3 MB, free: 6.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.642e-05/0.3357, allocations: 181.5 kB / 406.5 MB, free: 6.441 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.3357, allocations: 35.58 kB / 406.5 MB, free: 6.41 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.3358, allocations: 156 kB / 406.6 MB, free: 6.262 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.3358, allocations: 108.4 kB / 406.7 MB, free: 6.18 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.467e-05/0.3359, allocations: 73.95 kB / 406.8 MB, free: 6.145 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.774e-05/0.336, allocations: 0.4932 MB / 407.3 MB, free: 5.648 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.353e-05/0.3361, allocations: 65.77 kB / 407.4 MB, free: 5.637 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.3362, allocations: 173.5 kB / 407.5 MB, free: 5.484 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002348/0.3364, allocations: 277.9 kB / 407.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.3364, allocations: 0 / 407.8 MB, free: 5.312 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003572/0.3368, allocations: 278.9 kB / 408.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.3368, allocations: 5.406 kB / 408.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.3368, allocations: 3.438 kB / 408.1 MB, free: 5.234 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.522e-05/0.3368, allocations: 9.5 kB / 408.1 MB, free: 5.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001959/0.337, allocations: 73.55 kB / 408.2 MB, free: 5.215 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.3371, allocations: 9.688 kB / 408.2 MB, free: 5.211 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001139/0.3372, allocations: 28.28 kB / 408.2 MB, free: 5.195 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.3372, allocations: 18.12 kB / 408.2 MB, free: 5.195 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 8.226e-05/0.3373, allocations: 180.1 kB / 408.4 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.015e-05/0.3374, allocations: 29.38 kB / 408.4 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003928/0.3378, allocations: 284.7 kB / 408.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3378, allocations: 2.875 kB / 408.7 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.3378, allocations: 6.391 kB / 408.7 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.3378, allocations: 0 / 408.7 MB, free: 4.914 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.3381, allocations: 235.3 kB / 409 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.3381, allocations: 0 / 409 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001837/0.3383, allocations: 56.34 kB / 409 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.731e-06/0.3383, allocations: 2.438 kB / 409 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.656e-05/0.3384, allocations: 6.219 kB / 409 MB, free: 4.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.183e-06/0.3384, allocations: 11.53 kB / 409 MB, free: 4.719 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.3384, allocations: 4 kB / 409 MB, free: 4.715 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005189/0.3389, allocations: 0.5537 MB / 409.6 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.051e-05/0.3389, allocations: 13.27 kB / 409.6 MB, free: 4.355 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.3389, allocations: 14.62 kB / 409.6 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001758/0.3391, allocations: 13.08 kB / 409.6 MB, free: 4.344 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/0.3392, allocations: 21.16 kB / 409.6 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.904e-05/0.3392, allocations: 18.67 kB / 409.7 MB, free: 4.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.958e-05/0.3392, allocations: 135.5 kB / 409.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3392, allocations: 0 / 409.8 MB, free: 4.211 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008106/0.34, allocations: 226.6 kB / 410 MB, free: 4.168 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.0008297/0.3409, allocations: 450.4 kB / 410.5 MB, free: 3.949 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003173/0.3412, allocations: 203.5 kB / 410.7 MB, free: 3.898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.3412, allocations: 3.938 kB / 410.7 MB, free: 3.895 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.3413, allocations: 112.5 kB / 410.8 MB, free: 3.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.3417, allocations: 93.31 kB / 410.9 MB, free: 3.824 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001022/0.3427, allocations: 0.5639 MB / 411.4 MB, free: 3.406 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.818e-05/0.3428, allocations: 88.78 kB / 411.5 MB, free: 3.324 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002174/0.343, allocations: 70.2 kB / 411.6 MB, free: 3.277 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.444e-05/0.3431, allocations: 28.94 kB / 411.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.3431, allocations: 0 / 411.6 MB, free: 3.27 MB / 330.7 MB Notification: Performance of Templates: time 0.009933/0.353, allocations: 8.555 MB / 420.2 MB, free: 14.91 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","",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.458321156911552]