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.001527/0.001527, allocations: 80.8 kB / 22.29 MB, free: 2.207 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.001444/0.001444, allocations: 168.6 kB / 25.7 MB, free: 8.449 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.8266/0.8266, allocations: 158.6 MB / 187.6 MB, free: 2.785 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.563e-06/1.563e-06, allocations: 0 / 251.5 MB, free: 7.277 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.419e-05, allocations: 2.312 kB / 251.5 MB, free: 7.273 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.2633/0.2633, allocations: 143.2 MB / 394.7 MB, free: 9.336 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001219/0.2645, allocations: 1.532 MB / 396.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.164e-05/0.2646, allocations: 0 / 396.3 MB, free: 9.227 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000298/0.2649, allocations: 43.69 kB / 396.3 MB, free: 9.219 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007705/0.2656, allocations: 407 kB / 396.7 MB, free: 9.16 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003502/0.266, allocations: 182.6 kB / 396.9 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.2662, allocations: 183.3 kB / 397 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.2662, allocations: 8.016 kB / 397.1 MB, free: 9.141 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.2664, allocations: 104 kB / 397.2 MB, free: 9.133 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001083/0.2665, allocations: 57.59 kB / 397.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.71e-05/0.2665, allocations: 5.344 kB / 397.2 MB, free: 9.129 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006562/0.2672, allocations: 0.5149 MB / 397.7 MB, free: 9.109 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.2672, allocations: 33.61 kB / 397.8 MB, free: 9.109 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.52e-05/0.2672, allocations: 37.36 kB / 397.8 MB, free: 9.109 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.2677, allocations: 409.2 kB / 398.2 MB, free: 9.082 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2677, allocations: 6.297 kB / 398.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2677, allocations: 0 / 398.2 MB, free: 9.078 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.938e-06/0.2677, allocations: 0 / 398.2 MB, free: 9.078 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.0003572/0.2681, allocations: 328.9 kB / 398.5 MB, free: 8.809 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.89e-05/0.2681, allocations: 14.64 kB / 398.5 MB, free: 8.805 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009939/0.2691, allocations: 242.2 kB / 398.8 MB, free: 8.781 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.2693, allocations: 132.5 kB / 398.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.2693, allocations: 8.438 kB / 398.9 MB, free: 8.648 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.423e-05/0.2693, allocations: 17.3 kB / 398.9 MB, free: 8.641 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002079/0.2695, allocations: 238.9 kB / 399.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.884e-06/0.2695, allocations: 2.344 kB / 399.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.729e-05/0.2695, allocations: 3.375 kB / 399.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.2695, allocations: 2.594 kB / 399.2 MB, free: 8.492 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000131/0.2697, allocations: 106.7 kB / 399.3 MB, free: 8.48 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.0007187/0.2704, allocations: 356.6 kB / 399.6 MB, free: 8.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.2705, allocations: 131.9 kB / 399.8 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.356e-05/0.2706, allocations: 52.91 kB / 399.8 MB, free: 8.25 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.498e-05/0.2707, allocations: 12.48 kB / 399.8 MB, free: 8.246 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.565e-05/0.2707, allocations: 36.88 kB / 399.9 MB, free: 8.207 MB / 330.7 MB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.2707, allocations: 1.203 kB / 399.9 MB, free: 8.207 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.002138/0.2728, allocations: 1.01 MB / 400.9 MB, free: 7.652 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.542e-05/0.2728, allocations: 61.72 kB / 400.9 MB, free: 7.586 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.785e-05/0.2729, allocations: 117 kB / 401 MB, free: 7.473 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.803e-05/0.2729, allocations: 29.14 kB / 401.1 MB, free: 7.441 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.2729, allocations: 95.03 kB / 401.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.157e-05/0.2729, allocations: 77.52 kB / 401.2 MB, free: 7.293 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.548e-05/0.273, allocations: 47.92 kB / 401.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 2.69e-05/0.273, allocations: 324.8 kB / 401.6 MB, free: 6.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.2731, allocations: 37.61 kB / 401.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.555e-05/0.2731, allocations: 73.81 kB / 401.7 MB, free: 6.91 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001145/0.2732, allocations: 133.2 kB / 401.8 MB, free: 6.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-06/0.2732, allocations: 0 / 401.8 MB, free: 6.855 MB / 330.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001946/0.2734, allocations: 177 kB / 402 MB, free: 6.781 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.2735, allocations: 5.625 kB / 402 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.2735, allocations: 0 / 402 MB, free: 6.781 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.651e-05/0.2736, allocations: 28.67 kB / 402.1 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001942/0.2737, allocations: 60.89 kB / 402.1 MB, free: 6.746 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007695/0.2814, allocations: 1.807 MB / 403.9 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.2816, allocations: 6.031 kB / 403.9 MB, free: 5.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.388e-05/0.2816, allocations: 9.266 kB / 403.9 MB, free: 5.105 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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 8.674e-05/0.2817, allocations: 118.7 kB / 404 MB, free: 4.988 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.332e-05/0.2818, allocations: 25.89 kB / 404.1 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002511/0.282, allocations: 204.4 kB / 404.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.282, allocations: 2.312 kB / 404.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.282, allocations: 0 / 404.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.282, allocations: 3 kB / 404.3 MB, free: 4.867 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004062/0.2824, allocations: 399.3 kB / 404.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-06/0.2824, allocations: 0 / 404.7 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.2826, allocations: 43.44 kB / 404.7 MB, free: 4.594 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.37e-05/0.2827, allocations: 24.53 kB / 404.7 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.35e-05/0.2827, allocations: 6.891 kB / 404.7 MB, free: 4.574 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003147/0.283, allocations: 1.166 MB / 405.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.283, allocations: 0 / 405.9 MB, free: 3.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002669/0.2833, allocations: 347.6 kB / 406.2 MB, free: 3.203 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.769e-06/0.2833, allocations: 10.94 kB / 406.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.2833, allocations: 5.562 kB / 406.3 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001317/0.2834, allocations: 10.11 kB / 406.3 MB, free: 3.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.214e-05/0.2835, allocations: 20.84 kB / 406.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.2835, allocations: 8.969 kB / 406.3 MB, free: 3.18 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.619e-05/0.2835, allocations: 17.06 kB / 406.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.2835, allocations: 0 / 406.3 MB, free: 3.168 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003657/0.2838, allocations: 132.4 kB / 406.4 MB, free: 3.145 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.0004065/0.2843, allocations: 231.6 kB / 406.7 MB, free: 3.016 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002867/0.2845, allocations: 265.1 kB / 406.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2845, allocations: 2.219 kB / 406.9 MB, free: 2.863 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.2847, allocations: 198.2 kB / 407.1 MB, free: 2.727 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002327/0.2849, allocations: 52.47 kB / 407.2 MB, free: 2.711 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006714/0.2856, allocations: 404.7 kB / 407.6 MB, free: 2.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.17e-05/0.2856, allocations: 69.75 kB / 407.6 MB, free: 2.336 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.2858, allocations: 50.39 kB / 407.7 MB, free: 2.305 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.2859, allocations: 95.39 kB / 407.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of SimCode: time 8.92e-07/0.2859, allocations: 2.906 kB / 407.8 MB, free: 2.238 MB / 330.7 MB Notification: Performance of Templates: time 0.007834/0.2938, allocations: 7.249 MB / 415 MB, free: 14.48 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: 2.9715032731182873]