Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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.0008552/0.0008552, allocations: 75.77 kB / 22.45 MB, free: 2.094 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.001452/0.001452, allocations: 165.1 kB / 25.75 MB, free: 8.488 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.894/0.894, allocations: 158.6 MB / 187.6 MB, free: 2.945 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.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") translateModel(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.072e-06/1.072e-06, allocations: 0 / 251.1 MB, free: 7.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.488e-06/1.056e-05, allocations: 6.25 kB / 251.1 MB, free: 7.816 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2533/0.2533, allocations: 143.6 MB / 394.7 MB, free: 10.1 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.2546, allocations: 1.519 MB / 396.2 MB, free: 10.01 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.188e-05/0.2546, allocations: 6.625 kB / 396.2 MB, free: 10 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001865/0.2548, allocations: 45.39 kB / 396.2 MB, free: 9.992 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005631/0.2554, allocations: 400.1 kB / 396.6 MB, free: 9.941 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000317/0.2557, allocations: 175.4 kB / 396.8 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001628/0.2559, allocations: 186.6 kB / 397 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 2.606e-05/0.2559, allocations: 3.156 kB / 397 MB, free: 9.926 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001175/0.256, allocations: 108.6 kB / 397.1 MB, free: 9.922 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.573e-05/0.2561, allocations: 48.94 kB / 397.1 MB, free: 9.922 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.2561, allocations: 11.17 kB / 397.1 MB, free: 9.918 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000543/0.2566, allocations: 0.5256 MB / 397.7 MB, free: 9.883 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 3.463e-05/0.2567, allocations: 32.34 kB / 397.7 MB, free: 9.879 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.81e-05/0.2567, allocations: 40.44 kB / 397.7 MB, free: 9.875 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003766/0.2571, allocations: 412.3 kB / 398.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.484e-06/0.2571, allocations: 0 / 398.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.2571, allocations: 0 / 398.1 MB, free: 9.836 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.126e-06/0.2571, allocations: 0 / 398.1 MB, free: 9.836 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0002726/0.2574, allocations: 454.5 kB / 398.6 MB, free: 9.43 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.346e-05/0.2574, allocations: 19.27 kB / 398.6 MB, free: 9.422 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.2585, allocations: 217.5 kB / 398.8 MB, free: 9.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.2586, allocations: 160.7 kB / 399 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.583e-06/0.2586, allocations: 6.469 kB / 399 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.54e-05/0.2586, allocations: 9.5 kB / 399 MB, free: 9.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002172/0.2588, allocations: 254.8 kB / 399.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.479e-06/0.2589, allocations: 0 / 399.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.943e-05/0.2589, allocations: 5.938 kB / 399.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.449e-06/0.2589, allocations: 3.281 kB / 399.2 MB, free: 9.105 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000197/0.2591, allocations: 163.3 kB / 399.4 MB, free: 9.07 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.0007576/0.2598, allocations: 0.5495 MB / 400 MB, free: 8.668 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001865/0.26, allocations: 178.7 kB / 400.1 MB, free: 8.609 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.372e-05/0.2601, allocations: 87.92 kB / 400.2 MB, free: 8.586 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.685e-05/0.2602, allocations: 12.83 kB / 400.2 MB, free: 8.582 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.455e-05/0.2602, allocations: 39.73 kB / 400.3 MB, free: 8.539 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 9.41e-07/0.2602, allocations: 4 kB / 400.3 MB, free: 8.535 MB / 330.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.002413/0.2626, allocations: 1.193 MB / 401.5 MB, free: 7.957 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.324e-05/0.2626, allocations: 54.41 kB / 401.5 MB, free: 7.895 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.395e-05/0.2627, allocations: 176.4 kB / 401.7 MB, free: 7.719 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.2627, allocations: 29.08 kB / 401.7 MB, free: 7.688 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.693e-05/0.2627, allocations: 148.3 kB / 401.9 MB, free: 7.547 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.2627, allocations: 69.44 kB / 401.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.327e-05/0.2628, allocations: 51.27 kB / 402 MB, free: 7.465 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 3.788e-05/0.2628, allocations: 0.4972 MB / 402.5 MB, free: 6.965 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.817e-05/0.2629, allocations: 64.33 kB / 402.5 MB, free: 6.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.333e-05/0.263, allocations: 110.8 kB / 402.6 MB, free: 6.895 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.2632, allocations: 185.7 kB / 402.8 MB, free: 6.836 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2632, allocations: 6.906 kB / 402.8 MB, free: 6.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002794/0.2635, allocations: 250 kB / 403.1 MB, free: 6.75 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.165e-06/0.2635, allocations: 5.25 kB / 403.1 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-06/0.2635, allocations: 0 / 403.1 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.787e-05/0.2635, allocations: 28.55 kB / 403.1 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.2638, allocations: 59.61 kB / 403.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001467/0.2639, allocations: 0.7944 MB / 404 MB, free: 5.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.264, allocations: 10.11 kB / 404 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.791e-05/0.264, allocations: 10.75 kB / 404 MB, free: 5.906 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 6.195e-05/0.2641, allocations: 169 kB / 404.1 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.2641, allocations: 19.42 kB / 404.2 MB, free: 5.734 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003376/0.2645, allocations: 289.5 kB / 404.4 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.2645, allocations: 2.812 kB / 404.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.555e-06/0.2645, allocations: 0 / 404.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.2645, allocations: 0 / 404.5 MB, free: 5.613 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.265, allocations: 0.5936 MB / 405 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.265, allocations: 2.938 kB / 405 MB, free: 5.199 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001987/0.2652, allocations: 49.11 kB / 405.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.476e-05/0.2652, allocations: 27.83 kB / 405.1 MB, free: 5.168 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.2652, allocations: 9.828 kB / 405.1 MB, free: 5.164 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003607/0.2656, allocations: 1.725 MB / 406.9 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2656, allocations: 0 / 406.9 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003641/0.266, allocations: 483.6 kB / 407.3 MB, free: 3.121 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.234e-06/0.266, allocations: 6.703 kB / 407.3 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.055e-05/0.266, allocations: 6.312 kB / 407.3 MB, free: 3.117 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001498/0.2661, allocations: 10.05 kB / 407.4 MB, free: 3.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.107e-05/0.2662, allocations: 24.78 kB / 407.4 MB, free: 3.098 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-05/0.2662, allocations: 9.094 kB / 407.4 MB, free: 3.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 2.716e-05/0.2662, allocations: 132 kB / 407.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2662, allocations: 0 / 407.5 MB, free: 2.977 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.2665, allocations: 133.3 kB / 407.6 MB, free: 2.953 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003729/0.2669, allocations: 259.8 kB / 407.9 MB, free: 2.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002666/0.2671, allocations: 195.9 kB / 408.1 MB, free: 2.754 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.2671, allocations: 4 kB / 408.1 MB, free: 2.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001715/0.2673, allocations: 291.8 kB / 408.4 MB, free: 2.543 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002487/0.2676, allocations: 50.42 kB / 408.4 MB, free: 2.523 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006482/0.2682, allocations: 398.8 kB / 408.8 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.786e-05/0.2682, allocations: 74.55 kB / 408.9 MB, free: 2.141 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001665/0.2684, allocations: 47.48 kB / 408.9 MB, free: 2.109 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.266e-05/0.2685, allocations: 28.36 kB / 409 MB, free: 2.094 MB / 330.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2685, allocations: 0 / 409 MB, free: 2.094 MB / 330.7 MB Notification: Performance of Templates: time 0.006095/0.2746, allocations: 6.47 MB / 415.4 MB, free: 14.77 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & ./Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.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.13303045113571]