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.001089/0.001089, allocations: 76.81 kB / 22.29 MB, free: 2.195 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.0009706/0.0009706, allocations: 164.3 kB / 25.7 MB, free: 8.773 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.011/1.011, allocations: 158.6 MB / 187.6 MB, free: 2.777 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.933e-06/1.933e-06, allocations: 0 / 251.6 MB, free: 7.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.791e-05, allocations: 6.312 kB / 251.6 MB, free: 7.223 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.289/0.289, allocations: 143.6 MB / 395.1 MB, free: 9.223 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.2916, allocations: 3.094 MB / 398.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001069/0.2917, allocations: 0 / 398.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.292, allocations: 61.31 kB / 398.3 MB, free: 8.984 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001954/0.294, allocations: 1.031 MB / 399.3 MB, free: 8.848 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003668/0.2943, allocations: 199.7 kB / 399.5 MB, free: 8.836 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003609/0.2947, allocations: 367.5 kB / 399.9 MB, free: 8.773 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.971e-05/0.2948, allocations: 7.094 kB / 399.9 MB, free: 8.77 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002654/0.295, allocations: 196.3 kB / 400.1 MB, free: 8.734 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001607/0.2952, allocations: 93.91 kB / 400.2 MB, free: 8.703 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.692e-05/0.2952, allocations: 17.59 kB / 400.2 MB, free: 8.699 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002002/0.2972, allocations: 1.328 MB / 401.5 MB, free: 8.234 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.133e-05/0.2973, allocations: 86.42 kB / 401.6 MB, free: 8.207 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.511e-05/0.2974, allocations: 77.09 kB / 401.7 MB, free: 8.195 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001224/0.2986, allocations: 0.9978 MB / 402.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2986, allocations: 0 / 402.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.2986, allocations: 0 / 402.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.2986, allocations: 0 / 402.7 MB, free: 7.848 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.0006303/0.2993, allocations: 458.7 kB / 403.1 MB, free: 7.496 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.323e-05/0.2993, allocations: 12.52 kB / 403.1 MB, free: 7.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009046/0.3002, allocations: 256.9 kB / 403.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002226/0.3004, allocations: 175.7 kB / 403.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3004, allocations: 15.91 kB / 403.6 MB, free: 7.246 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.789e-05/0.3005, allocations: 28.39 kB / 403.6 MB, free: 7.238 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000281/0.3008, allocations: 436.8 kB / 404 MB, free: 6.863 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.3008, allocations: 7.938 kB / 404 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.663e-05/0.3008, allocations: 9.125 kB / 404 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.3008, allocations: 5.156 kB / 404.1 MB, free: 6.855 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000191/0.301, allocations: 149.9 kB / 404.2 MB, free: 6.812 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.0008226/0.3018, allocations: 0.5787 MB / 404.8 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.302, allocations: 198.5 kB / 405 MB, free: 6.355 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.706e-05/0.3021, allocations: 68.41 kB / 405 MB, free: 6.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006873/0.3027, allocations: 286.1 kB / 405.3 MB, free: 6.27 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.3028, allocations: 41.03 kB / 405.4 MB, free: 6.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.054e-06/0.3028, allocations: 2 kB / 405.4 MB, free: 6.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005494/0.3033, allocations: 248.6 kB / 405.6 MB, free: 6.129 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.057e-05/0.3033, allocations: 84.11 kB / 405.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.052e-05/0.3034, allocations: 122 kB / 405.8 MB, free: 5.914 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.3034, allocations: 32.39 kB / 405.8 MB, free: 5.883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.3034, allocations: 112.1 kB / 405.9 MB, free: 5.777 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.475e-05/0.3035, allocations: 120.5 kB / 406.1 MB, free: 5.691 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.528e-05/0.3036, allocations: 62.27 kB / 406.1 MB, free: 5.668 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.197e-05/0.3036, allocations: 326.1 kB / 406.4 MB, free: 5.352 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.194e-05/0.3036, allocations: 40.22 kB / 406.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.004e-05/0.3037, allocations: 127.1 kB / 406.6 MB, free: 5.238 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001525/0.3039, allocations: 211.9 kB / 406.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3039, allocations: 0 / 406.8 MB, free: 5.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002215/0.3041, allocations: 220.7 kB / 407 MB, free: 5.008 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/0.3041, allocations: 5.344 kB / 407 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.042e-06/0.3041, allocations: 2.719 kB / 407 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.3041, allocations: 5.5 kB / 407 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.3043, allocations: 70.25 kB / 407.1 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.3043, allocations: 18.14 kB / 407.1 MB, free: 4.984 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.3044, allocations: 23.84 kB / 407.1 MB, free: 4.973 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.3044, allocations: 11.56 kB / 407.2 MB, free: 4.973 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 7.171e-05/0.3045, allocations: 132.4 kB / 407.3 MB, free: 4.848 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.891e-05/0.3046, allocations: 30.98 kB / 407.3 MB, free: 4.836 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00025/0.3048, allocations: 213.7 kB / 407.5 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.3048, allocations: 3.219 kB / 407.5 MB, free: 4.746 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.3048, allocations: 11.25 kB / 407.5 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.3048, allocations: 2.688 kB / 407.5 MB, free: 4.738 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002645/0.3051, allocations: 161.6 kB / 407.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.3051, allocations: 0 / 407.7 MB, free: 4.641 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.3053, allocations: 59.75 kB / 407.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.3053, allocations: 0 / 407.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3053, allocations: 6.031 kB / 407.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.3053, allocations: 2.094 kB / 407.8 MB, free: 4.629 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3053, allocations: 7.172 kB / 407.8 MB, free: 4.625 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002916/0.3056, allocations: 445 kB / 408.2 MB, free: 4.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.442e-05/0.3056, allocations: 24.28 kB / 408.2 MB, free: 4.309 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.274e-05/0.3056, allocations: 7.297 kB / 408.2 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001403/0.3058, allocations: 9.344 kB / 408.3 MB, free: 4.305 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.867e-05/0.3058, allocations: 26.77 kB / 408.3 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.3058, allocations: 13.39 kB / 408.3 MB, free: 4.285 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.263e-05/0.3058, allocations: 13.28 kB / 408.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3058, allocations: 2.281 kB / 408.3 MB, free: 4.277 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005984/0.3064, allocations: 231.5 kB / 408.5 MB, free: 4.234 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.0006999/0.3071, allocations: 424.1 kB / 408.9 MB, free: 4.027 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002081/0.3073, allocations: 160.7 kB / 409.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.4e-06/0.3073, allocations: 7.562 kB / 409.1 MB, free: 3.984 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.917e-05/0.3074, allocations: 85.67 kB / 409.2 MB, free: 3.961 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.3078, allocations: 91.12 kB / 409.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007982/0.3086, allocations: 488.4 kB / 409.8 MB, free: 3.598 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.466e-05/0.3086, allocations: 85.48 kB / 409.8 MB, free: 3.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001894/0.3088, allocations: 58.7 kB / 409.9 MB, free: 3.484 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002409/0.309, allocations: 143.9 kB / 410 MB, free: 3.406 MB / 330.7 MB Notification: Performance of SimCode: time 1.112e-06/0.309, allocations: 0 / 410 MB, free: 3.406 MB / 330.7 MB Notification: Performance of Templates: time 0.01107/0.3201, allocations: 9.99 MB / 420 MB, free: 13.88 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 -s gbode -gbm=radauIIA3 -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.270056749228388]