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.001107/0.001107, allocations: 81.05 kB / 10.02 MB, free: 0.6719 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001748/0.002856, allocations: 453.8 kB / 10.46 MB, free: 236 kB / 10.45 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.001081/0.001081, allocations: 165.1 kB / 11.36 MB, free: 2.812 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001433/0.002514, allocations: 483.5 kB / 11.83 MB, free: 2.336 MB / 13.93 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.8153/0.8153, allocations: 158.6 MB / 171.2 MB, free: 2.496 MB / 170.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1551/0.9703, allocations: 49.49 MB / 220.7 MB, free: 1.359 MB / 218.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.743e-06/1.743e-06, allocations: 0 / 222 MB, free: 72 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.494e-05/1.668e-05, allocations: 6.312 kB / 222 MB, free: 64 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2477/0.2478, allocations: 143.9 MB / 365.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003322/0.2511, allocations: 3.102 MB / 369 MB, free: 11.86 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.434e-05/0.2512, allocations: 4 kB / 369 MB, free: 11.85 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002878/0.2515, allocations: 55.66 kB / 369.1 MB, free: 11.8 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002438/0.2539, allocations: 1.026 MB / 370.1 MB, free: 10.77 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004689/0.2544, allocations: 206.7 kB / 370.3 MB, free: 10.57 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004303/0.2548, allocations: 358.6 kB / 370.7 MB, free: 10.21 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.943e-05/0.2549, allocations: 17.89 kB / 370.7 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002997/0.2552, allocations: 199.4 kB / 370.9 MB, free: 10 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.2553, allocations: 99.69 kB / 371 MB, free: 9.902 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.962e-05/0.2554, allocations: 12 kB / 371 MB, free: 9.891 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002659/0.258, allocations: 1.32 MB / 372.3 MB, free: 8.566 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001163/0.2581, allocations: 63.83 kB / 372.4 MB, free: 8.504 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2583, allocations: 59.94 kB / 372.4 MB, free: 8.445 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001594/0.2599, allocations: 0.8456 MB / 373.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.2599, allocations: 0 / 373.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2599, allocations: 0 / 373.3 MB, free: 7.598 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.397e-06/0.2599, allocations: 3.938 kB / 373.3 MB, free: 7.594 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.0008268/0.2607, allocations: 0.5463 MB / 373.8 MB, free: 7.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.2607, allocations: 8.031 kB / 373.8 MB, free: 7.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.2619, allocations: 341.3 kB / 374.2 MB, free: 6.664 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003058/0.2622, allocations: 177.5 kB / 374.3 MB, free: 6.465 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.813e-05/0.2623, allocations: 12.75 kB / 374.4 MB, free: 6.453 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.597e-05/0.2623, allocations: 24.38 kB / 374.4 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004224/0.2628, allocations: 446.7 kB / 374.8 MB, free: 5.934 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.2628, allocations: 3.938 kB / 374.8 MB, free: 5.93 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.2628, allocations: 8 kB / 374.8 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.2628, allocations: 4 kB / 374.8 MB, free: 5.918 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.263, allocations: 157.4 kB / 375 MB, free: 5.762 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.001191/0.2642, allocations: 0.5727 MB / 375.6 MB, free: 5.168 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.2645, allocations: 193.6 kB / 375.8 MB, free: 4.961 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.629e-05/0.2646, allocations: 67.47 kB / 375.8 MB, free: 4.891 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008802/0.2654, allocations: 291 kB / 376.1 MB, free: 4.609 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.2655, allocations: 42.5 kB / 376.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.725e-06/0.2655, allocations: 0 / 376.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.001182/0.2667, allocations: 251.4 kB / 376.4 MB, free: 4.305 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.15e-05/0.2667, allocations: 89.05 kB / 376.5 MB, free: 4.199 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2668, allocations: 110.7 kB / 376.6 MB, free: 4.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.077e-05/0.2669, allocations: 33.7 kB / 376.6 MB, free: 4.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.2669, allocations: 116.5 kB / 376.7 MB, free: 3.922 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.479e-05/0.267, allocations: 111 kB / 376.8 MB, free: 3.812 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/0.2672, allocations: 65.98 kB / 376.9 MB, free: 3.742 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000135/0.2673, allocations: 326.8 kB / 377.2 MB, free: 3.414 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000109/0.2674, allocations: 39.47 kB / 377.3 MB, free: 3.375 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001528/0.2676, allocations: 135.5 kB / 377.4 MB, free: 3.207 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003103/0.2679, allocations: 203.8 kB / 377.6 MB, free: 2.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/0.2679, allocations: 3.938 kB / 377.6 MB, free: 2.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0004924/0.2684, allocations: 216.3 kB / 377.8 MB, free: 2.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.999e-05/0.2684, allocations: 8 kB / 377.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.2684, allocations: 1.875 kB / 377.8 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/0.2684, allocations: 8 kB / 377.8 MB, free: 2.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003246/0.2688, allocations: 83.89 kB / 377.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.2688, allocations: 7.938 kB / 377.9 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001856/0.269, allocations: 27.78 kB / 377.9 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-05/0.269, allocations: 15.98 kB / 378 MB, free: 2.602 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.0001464/0.2692, allocations: 136.5 kB / 378.1 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.2693, allocations: 28.02 kB / 378.1 MB, free: 2.43 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004102/0.2697, allocations: 206.8 kB / 378.3 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.2697, allocations: 8 kB / 378.3 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2697, allocations: 7.875 kB / 378.3 MB, free: 2.215 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.343e-06/0.2697, allocations: 3.984 kB / 378.3 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.2702, allocations: 153.7 kB / 378.5 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.339e-06/0.2702, allocations: 0 / 378.5 MB, free: 2.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002744/0.2704, allocations: 63.95 kB / 378.6 MB, free: 1.98 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.745e-05/0.2705, allocations: 15.84 kB / 378.6 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.2705, allocations: 4 kB / 378.6 MB, free: 1.961 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.632e-05/0.2705, allocations: 9.625 kB / 378.6 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.872e-06/0.2705, allocations: 3.984 kB / 378.6 MB, free: 1.949 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.2705, allocations: 7.875 kB / 378.6 MB, free: 1.941 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005462/0.2711, allocations: 449.8 kB / 379 MB, free: 1.484 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.2711, allocations: 11.98 kB / 379 MB, free: 1.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002362/0.2713, allocations: 8 kB / 379 MB, free: 1.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.113e-05/0.2714, allocations: 27.89 kB / 379.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-05/0.2714, allocations: 12 kB / 379.1 MB, free: 1.426 MB / 330.7 MB Notification: Performance of sorting global known variables: time 3.228e-05/0.2715, allocations: 13.16 kB / 379.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.2715, allocations: 0 / 379.1 MB, free: 1.41 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001202/0.2727, allocations: 227.5 kB / 379.3 MB, free: 1.188 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.001276/0.2739, allocations: 433.3 kB / 379.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003673/0.2743, allocations: 167.9 kB / 379.9 MB, free: 0.5898 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.848e-05/0.2743, allocations: 4 kB / 379.9 MB, free: 0.5859 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.2745, allocations: 108.6 kB / 380 MB, free: 488 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006244/0.2751, allocations: 125.3 kB / 380.1 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/0.2793, allocations: 466.4 kB / 380.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.802e-05/0.2794, allocations: 88.09 kB / 380.7 MB, free: 15.77 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0003905/0.2798, allocations: 65.86 kB / 380.7 MB, free: 15.7 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.2801, allocations: 145.2 kB / 380.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of SimCode: time 1.523e-06/0.2802, allocations: 0 / 380.9 MB, free: 15.56 MB / 346.7 MB Notification: Performance of Templates: time 0.0179/0.2981, allocations: 9.902 MB / 390.8 MB, free: 5.668 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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.100200040265918]