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.0008953/0.0008953, allocations: 76.81 kB / 22.28 MB, free: 2.211 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.00149/0.00149, allocations: 167.5 kB / 25.7 MB, free: 7.953 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.8268/0.8268, allocations: 158.6 MB / 187.6 MB, free: 2.789 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.152e-06/1.152e-06, allocations: 0 / 251.5 MB, free: 7.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.157e-05/1.272e-05, allocations: 2.312 kB / 251.5 MB, free: 7.266 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2266/0.2266, allocations: 143.5 MB / 395 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.2289, allocations: 3.088 MB / 398.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.229, allocations: 2.875 kB / 398.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000309/0.2293, allocations: 57.02 kB / 398.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001465/0.2308, allocations: 1.075 MB / 399.3 MB, free: 8.859 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003315/0.2311, allocations: 198.5 kB / 399.5 MB, free: 8.852 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003055/0.2314, allocations: 358.1 kB / 399.8 MB, free: 8.801 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.917e-05/0.2315, allocations: 9.562 kB / 399.8 MB, free: 8.797 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002323/0.2317, allocations: 203.3 kB / 400 MB, free: 8.75 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001382/0.2318, allocations: 93.7 kB / 400.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.132e-05/0.2319, allocations: 14.12 kB / 400.1 MB, free: 8.719 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00129/0.2332, allocations: 1.287 MB / 401.4 MB, free: 8.27 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.48e-05/0.2332, allocations: 78.86 kB / 401.5 MB, free: 8.242 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.313e-05/0.2333, allocations: 88.69 kB / 401.6 MB, free: 8.227 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008421/0.2341, allocations: 1.005 MB / 402.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2341, allocations: 0 / 402.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2341, allocations: 2.75 kB / 402.6 MB, free: 7.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.2341, allocations: 0 / 402.6 MB, free: 7.871 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.000432/0.2346, allocations: 455.4 kB / 403 MB, free: 7.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.69e-05/0.2346, allocations: 12.83 kB / 403 MB, free: 7.516 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007158/0.2353, allocations: 263.9 kB / 403.3 MB, free: 7.418 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001718/0.2355, allocations: 173.5 kB / 403.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2355, allocations: 15.41 kB / 403.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.512e-05/0.2355, allocations: 23.44 kB / 403.5 MB, free: 7.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.2358, allocations: 439.9 kB / 403.9 MB, free: 6.887 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.915e-06/0.2358, allocations: 3.938 kB / 403.9 MB, free: 6.883 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.461e-05/0.2358, allocations: 13.45 kB / 404 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2358, allocations: 5.812 kB / 404 MB, free: 6.879 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001637/0.236, allocations: 152.1 kB / 404.1 MB, free: 6.832 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.0006863/0.2367, allocations: 0.5713 MB / 404.7 MB, free: 6.492 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.2368, allocations: 199.9 kB / 404.9 MB, free: 6.387 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.043e-05/0.2369, allocations: 63.72 kB / 404.9 MB, free: 6.363 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005688/0.2374, allocations: 294.2 kB / 405.2 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.602e-05/0.2374, allocations: 41.03 kB / 405.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.292e-06/0.2374, allocations: 0 / 405.3 MB, free: 6.254 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0004581/0.2379, allocations: 256.9 kB / 405.5 MB, free: 6.145 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.767e-05/0.2379, allocations: 83.89 kB / 405.6 MB, free: 6.047 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.59e-05/0.238, allocations: 119 kB / 405.7 MB, free: 5.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.238, allocations: 31.7 kB / 405.7 MB, free: 5.902 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.498e-05/0.238, allocations: 115.4 kB / 405.9 MB, free: 5.797 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.671e-05/0.238, allocations: 111.2 kB / 406 MB, free: 5.715 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.672e-05/0.2381, allocations: 65 kB / 406 MB, free: 5.691 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.917e-05/0.2381, allocations: 329 kB / 406.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.428e-05/0.2382, allocations: 44.47 kB / 406.4 MB, free: 5.363 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.022e-05/0.2382, allocations: 125.7 kB / 406.5 MB, free: 5.258 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.2384, allocations: 210.4 kB / 406.7 MB, free: 5.117 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.2384, allocations: 6.844 kB / 406.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001837/0.2385, allocations: 201.4 kB / 406.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.003e-05/0.2386, allocations: 5.031 kB / 406.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2386, allocations: 3.5 kB / 406.9 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.2386, allocations: 9.688 kB / 406.9 MB, free: 5.027 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.2387, allocations: 71.39 kB / 407 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2387, allocations: 9.531 kB / 407 MB, free: 5.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.079e-05/0.2388, allocations: 23.78 kB / 407 MB, free: 4.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.341e-05/0.2388, allocations: 14.47 kB / 407.1 MB, free: 4.996 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 6.208e-05/0.2389, allocations: 140.2 kB / 407.2 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.591e-05/0.2389, allocations: 23.2 kB / 407.2 MB, free: 4.859 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002045/0.2391, allocations: 214 kB / 407.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2391, allocations: 2.875 kB / 407.4 MB, free: 4.773 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.134e-06/0.2392, allocations: 5.625 kB / 407.4 MB, free: 4.77 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.488e-06/0.2392, allocations: 6.578 kB / 407.4 MB, free: 4.766 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.2394, allocations: 154.8 kB / 407.6 MB, free: 4.672 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2394, allocations: 4 kB / 407.6 MB, free: 4.668 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000137/0.2395, allocations: 54.25 kB / 407.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.2395, allocations: 6.688 kB / 407.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2395, allocations: 9.406 kB / 407.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.2395, allocations: 6.922 kB / 407.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2395, allocations: 0 / 407.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.2398, allocations: 440 kB / 408.1 MB, free: 4.352 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.2398, allocations: 23.73 kB / 408.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.2398, allocations: 10.98 kB / 408.1 MB, free: 4.332 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2399, allocations: 16.91 kB / 408.2 MB, free: 4.328 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.176e-05/0.24, allocations: 24.17 kB / 408.2 MB, free: 4.312 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.24, allocations: 12.89 kB / 408.2 MB, free: 4.309 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.026e-05/0.24, allocations: 17.61 kB / 408.2 MB, free: 4.297 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.24, allocations: 0 / 408.2 MB, free: 4.297 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003895/0.2404, allocations: 227.9 kB / 408.4 MB, free: 4.254 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.000568/0.2409, allocations: 416.2 kB / 408.8 MB, free: 4.059 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001608/0.2411, allocations: 165.9 kB / 409 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/0.2411, allocations: 2.594 kB / 409 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.047e-05/0.2412, allocations: 87.86 kB / 409.1 MB, free: 3.988 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.2415, allocations: 90 kB / 409.2 MB, free: 3.953 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006567/0.2421, allocations: 493.8 kB / 409.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.964e-05/0.2422, allocations: 83.05 kB / 409.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001621/0.2423, allocations: 62.66 kB / 409.8 MB, free: 3.508 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002074/0.2425, allocations: 147.4 kB / 409.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of SimCode: time 6.11e-07/0.2426, allocations: 0 / 409.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of Templates: time 0.008891/0.2514, allocations: 9.985 MB / 419.9 MB, free: 13.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: 2.9643611749634147]