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.001081/0.001081, allocations: 85.95 kB / 23 MB, free: 1.504 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.001762/0.001762, allocations: 175.6 kB / 26.39 MB, free: 7.988 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.9224/0.9224, allocations: 158.6 MB / 188.3 MB, free: 2.805 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.833e-06/1.833e-06, allocations: 0 / 252.3 MB, free: 7.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.216e-05/2.399e-05, allocations: 2.312 kB / 252.3 MB, free: 7.262 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2568/0.2568, allocations: 141.4 MB / 393.7 MB, free: 10.65 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002767/0.2595, allocations: 3.052 MB / 396.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001218/0.2597, allocations: 0 / 396.7 MB, free: 10.46 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000343/0.26, allocations: 65.31 kB / 396.8 MB, free: 10.44 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.2623, allocations: 1.061 MB / 397.8 MB, free: 10.3 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000436/0.2627, allocations: 195.5 kB / 398 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003917/0.2631, allocations: 366.1 kB / 398.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.601e-05/0.2632, allocations: 6.719 kB / 398.4 MB, free: 10.24 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.2634, allocations: 198.7 kB / 398.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.2636, allocations: 100.7 kB / 398.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.34e-05/0.2636, allocations: 11.5 kB / 398.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00207/0.2657, allocations: 1.307 MB / 400 MB, free: 9.855 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 9.49e-05/0.2658, allocations: 81.44 kB / 400.1 MB, free: 9.828 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 8.988e-05/0.2659, allocations: 85.59 kB / 400.2 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001404/0.2673, allocations: 1.007 MB / 401.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2673, allocations: 0 / 401.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.2673, allocations: 0 / 401.2 MB, free: 9.457 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.117e-06/0.2673, allocations: 0 / 401.2 MB, free: 9.457 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.0007434/0.268, allocations: 0.568 MB / 401.7 MB, free: 8.977 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/0.268, allocations: 12.48 kB / 401.8 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.2691, allocations: 244.9 kB / 402 MB, free: 8.879 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002402/0.2693, allocations: 196.2 kB / 402.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.574e-05/0.2694, allocations: 15.81 kB / 402.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.264e-05/0.2694, allocations: 23.66 kB / 402.2 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003307/0.2697, allocations: 449.9 kB / 402.7 MB, free: 8.336 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.2698, allocations: 3.938 kB / 402.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.2698, allocations: 9 kB / 402.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2698, allocations: 5.469 kB / 402.7 MB, free: 8.332 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002412/0.27, allocations: 183.7 kB / 402.9 MB, free: 8.281 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.0009442/0.271, allocations: 0.7208 MB / 403.6 MB, free: 7.809 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2712, allocations: 189.2 kB / 403.8 MB, free: 7.711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.471e-05/0.2713, allocations: 75.55 kB / 403.8 MB, free: 7.676 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008275/0.2721, allocations: 294.4 kB / 404.1 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.2721, allocations: 44.27 kB / 404.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.934e-06/0.2721, allocations: 0 / 404.2 MB, free: 7.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007261/0.2729, allocations: 300.7 kB / 404.5 MB, free: 7.441 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.314e-05/0.2729, allocations: 88.23 kB / 404.5 MB, free: 7.34 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.344e-05/0.2729, allocations: 169.7 kB / 404.7 MB, free: 7.172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.273, allocations: 32.45 kB / 404.7 MB, free: 7.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.669e-05/0.273, allocations: 159.5 kB / 404.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.456e-05/0.273, allocations: 113.4 kB / 405 MB, free: 6.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.141e-05/0.2731, allocations: 70.72 kB / 405.1 MB, free: 6.875 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.989e-05/0.2732, allocations: 0.4987 MB / 405.6 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.2732, allocations: 48.31 kB / 405.6 MB, free: 6.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001044/0.2734, allocations: 170.2 kB / 405.8 MB, free: 6.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.2736, allocations: 247.1 kB / 406 MB, free: 6.039 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.2736, allocations: 0 / 406 MB, free: 6.039 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003343/0.2739, allocations: 250.5 kB / 406.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.2739, allocations: 5.5 kB / 406.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.902e-06/0.2739, allocations: 5.781 kB / 406.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.2739, allocations: 2.531 kB / 406.3 MB, free: 5.965 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/0.2741, allocations: 86.45 kB / 406.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.2741, allocations: 5.469 kB / 406.4 MB, free: 5.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.2743, allocations: 24.38 kB / 406.4 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/0.2743, allocations: 14.31 kB / 406.4 MB, free: 5.922 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.711e-05/0.2744, allocations: 176.8 kB / 406.6 MB, free: 5.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.573e-05/0.2745, allocations: 31.94 kB / 406.6 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003458/0.2748, allocations: 255.5 kB / 406.9 MB, free: 5.648 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-06/0.2748, allocations: 6.844 kB / 406.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.044e-06/0.2748, allocations: 2.625 kB / 406.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2748, allocations: 0 / 406.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/0.2752, allocations: 209 kB / 407.1 MB, free: 5.496 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.2752, allocations: 4 kB / 407.1 MB, free: 5.492 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/0.2754, allocations: 57.06 kB / 407.1 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/0.2754, allocations: 2.719 kB / 407.2 MB, free: 5.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.2754, allocations: 10.05 kB / 407.2 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.2754, allocations: 3.938 kB / 407.2 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.2754, allocations: 0 / 407.2 MB, free: 5.477 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.2758, allocations: 0.5297 MB / 407.7 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.544e-05/0.2758, allocations: 13.11 kB / 407.7 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.2758, allocations: 13.48 kB / 407.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000197/0.276, allocations: 9.094 kB / 407.7 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.2761, allocations: 31.95 kB / 407.8 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-05/0.2761, allocations: 11.95 kB / 407.8 MB, free: 5.086 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.235e-05/0.2761, allocations: 131 kB / 407.9 MB, free: 4.969 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2761, allocations: 3.938 kB / 407.9 MB, free: 4.965 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000694/0.2768, allocations: 232 kB / 408.1 MB, free: 4.918 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.0007425/0.2776, allocations: 451.3 kB / 408.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000247/0.2778, allocations: 179.7 kB / 408.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2778, allocations: 0 / 408.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.725e-05/0.2779, allocations: 99.38 kB / 408.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005145/0.2784, allocations: 94.16 kB / 408.9 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009207/0.2793, allocations: 0.5678 MB / 409.5 MB, free: 4.168 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.876e-05/0.2794, allocations: 81.17 kB / 409.6 MB, free: 4.09 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002246/0.2796, allocations: 72.81 kB / 409.7 MB, free: 4.039 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.2799, allocations: 186.5 kB / 409.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of SimCode: time 5.61e-07/0.2799, allocations: 0 / 409.8 MB, free: 3.934 MB / 330.7 MB Notification: Performance of Templates: time 0.01234/0.2922, allocations: 10.12 MB / 420 MB, free: 14.65 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.354047351051122]