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.0009476/0.0009476, allocations: 84.39 kB / 22.21 MB, free: 2.289 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.0009832/0.0009832, allocations: 166.9 kB / 25.61 MB, free: 8.91 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.8527/0.8527, allocations: 158.6 MB / 187.5 MB, free: 2.797 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.823e-06/1.823e-06, allocations: 0 / 251.5 MB, free: 7.258 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.227e-05/1.41e-05, allocations: 6.312 kB / 251.5 MB, free: 7.25 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.MixIdealGasAir): time 0.2468/0.2468, allocations: 141.4 MB / 392.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002215/0.249, allocations: 3.054 MB / 395.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.858e-05/0.2491, allocations: 6.812 kB / 395.9 MB, free: 10.45 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002947/0.2494, allocations: 56.41 kB / 396 MB, free: 10.43 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001794/0.2512, allocations: 1.062 MB / 397.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003647/0.2516, allocations: 194.9 kB / 397.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003037/0.2519, allocations: 365 kB / 397.6 MB, free: 10.23 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.2519, allocations: 13.36 kB / 397.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002221/0.2521, allocations: 194.1 kB / 397.8 MB, free: 10.2 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001428/0.2523, allocations: 101.6 kB / 397.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.229e-05/0.2523, allocations: 14.62 kB / 397.9 MB, free: 10.19 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001636/0.2539, allocations: 1.302 MB / 399.2 MB, free: 9.84 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 7.784e-05/0.254, allocations: 81.12 kB / 399.3 MB, free: 9.812 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.834e-05/0.2541, allocations: 87.78 kB / 399.4 MB, free: 9.797 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001156/0.2552, allocations: 1.003 MB / 400.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2552, allocations: 0 / 400.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.2552, allocations: 0 / 400.4 MB, free: 9.441 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.661e-06/0.2552, allocations: 2.938 kB / 400.4 MB, free: 9.441 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.0006841/0.2559, allocations: 0.5716 MB / 401 MB, free: 8.957 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.256, allocations: 11.86 kB / 401 MB, free: 8.953 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007674/0.2567, allocations: 244.9 kB / 401.2 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001951/0.2569, allocations: 193.1 kB / 401.4 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.2569, allocations: 15.75 kB / 401.4 MB, free: 8.695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.257, allocations: 28.8 kB / 401.4 MB, free: 8.688 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002789/0.2573, allocations: 451.1 kB / 401.9 MB, free: 8.316 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2573, allocations: 3.938 kB / 401.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.105e-05/0.2573, allocations: 9.188 kB / 401.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.2573, allocations: 3 kB / 401.9 MB, free: 8.312 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.2575, allocations: 179.1 kB / 402.1 MB, free: 8.266 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.0008197/0.2583, allocations: 0.7254 MB / 402.8 MB, free: 7.789 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001871/0.2585, allocations: 186.7 kB / 403 MB, free: 7.695 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.072e-05/0.2586, allocations: 77.64 kB / 403.1 MB, free: 7.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006986/0.2593, allocations: 298.4 kB / 403.4 MB, free: 7.586 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.2593, allocations: 50.66 kB / 403.4 MB, free: 7.535 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 1.533e-06/0.2593, allocations: 6.938 kB / 403.4 MB, free: 7.531 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0005711/0.2599, allocations: 284.7 kB / 403.7 MB, free: 7.426 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.453e-05/0.2599, allocations: 90.89 kB / 403.8 MB, free: 7.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.12e-05/0.2599, allocations: 175.7 kB / 403.9 MB, free: 7.152 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.267e-05/0.2599, allocations: 35.55 kB / 404 MB, free: 7.117 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.501e-05/0.26, allocations: 158.3 kB / 404.1 MB, free: 6.969 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.715e-05/0.2601, allocations: 112.4 kB / 404.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.394e-05/0.2601, allocations: 72.23 kB / 404.3 MB, free: 6.855 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 5.628e-05/0.2602, allocations: 0.4951 MB / 404.8 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.021e-05/0.2602, allocations: 52.48 kB / 404.9 MB, free: 6.344 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.889e-05/0.2603, allocations: 163.1 kB / 405 MB, free: 6.191 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.2605, allocations: 254.1 kB / 405.3 MB, free: 6.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.2605, allocations: 2.625 kB / 405.3 MB, free: 6.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003168/0.2609, allocations: 247.5 kB / 405.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2609, allocations: 9.312 kB / 405.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2609, allocations: 2.719 kB / 405.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.2609, allocations: 5.594 kB / 405.5 MB, free: 5.945 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001728/0.2611, allocations: 79.94 kB / 405.6 MB, free: 5.922 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2611, allocations: 9.391 kB / 405.6 MB, free: 5.918 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.282e-05/0.2612, allocations: 30.53 kB / 405.6 MB, free: 5.902 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.395e-05/0.2612, allocations: 11.28 kB / 405.7 MB, free: 5.902 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.073e-05/0.2613, allocations: 172 kB / 405.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.881e-05/0.2613, allocations: 29.09 kB / 405.9 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002744/0.2616, allocations: 263.4 kB / 406.1 MB, free: 5.629 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.377e-06/0.2616, allocations: 7.438 kB / 406.1 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-06/0.2616, allocations: 0 / 406.1 MB, free: 5.625 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.2616, allocations: 3.984 kB / 406.1 MB, free: 5.621 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002658/0.2619, allocations: 212 kB / 406.3 MB, free: 5.473 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.2619, allocations: 4 kB / 406.3 MB, free: 5.469 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.262, allocations: 56.47 kB / 406.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.262, allocations: 0 / 406.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.2621, allocations: 11.91 kB / 406.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.2621, allocations: 3.5 kB / 406.4 MB, free: 5.457 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.2621, allocations: 3.984 kB / 406.4 MB, free: 5.453 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003082/0.2624, allocations: 0.5285 MB / 406.9 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.291e-05/0.2624, allocations: 17.55 kB / 407 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.025e-05/0.2624, allocations: 8.594 kB / 407 MB, free: 5.086 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001348/0.2625, allocations: 13.67 kB / 407 MB, free: 5.082 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.212e-05/0.2626, allocations: 26.78 kB / 407 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.034e-05/0.2626, allocations: 16.33 kB / 407 MB, free: 5.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.771e-05/0.2626, allocations: 128.4 kB / 407.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2626, allocations: 0 / 407.1 MB, free: 4.941 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005049/0.2631, allocations: 228.3 kB / 407.4 MB, free: 4.898 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.0006129/0.2637, allocations: 453.7 kB / 407.8 MB, free: 4.68 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002151/0.2639, allocations: 171.9 kB / 408 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2639, allocations: 0 / 408 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.703e-05/0.264, allocations: 108 kB / 408.1 MB, free: 4.594 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003562/0.2644, allocations: 93.94 kB / 408.2 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007311/0.2651, allocations: 0.5646 MB / 408.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.765e-05/0.2651, allocations: 87.88 kB / 408.8 MB, free: 4.062 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001693/0.2653, allocations: 70.34 kB / 408.9 MB, free: 4.012 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00022/0.2655, allocations: 183.1 kB / 409.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of SimCode: time 6.61e-07/0.2655, allocations: 0 / 409.1 MB, free: 3.91 MB / 330.7 MB Notification: Performance of Templates: time 0.00934/0.2749, allocations: 10.05 MB / 419.1 MB, free: 14.67 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.152014003135264]