Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 77.36 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001515/0.002536, allocations: 445.8 kB / 10.44 MB, free: 256 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007544/0.0007544, allocations: 148.9 kB / 11.34 MB, free: 2.836 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00103/0.001784, allocations: 475.6 kB / 11.8 MB, free: 2.367 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8541/0.8541, allocations: 173.4 MB / 186 MB, free: 7.523 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1436/0.9976, allocations: 52.49 MB / 238.5 MB, free: 7.617 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") translateModel(Modelica.Media.Examples.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 239.7 MB, free: 6.371 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.15e-05/2.288e-05, allocations: 2.312 kB / 239.7 MB, free: 6.367 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.2538/0.2538, allocations: 142 MB / 381.7 MB, free: 8.816 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001973/0.2558, allocations: 2.546 MB / 384.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.057e-05/0.2558, allocations: 0 / 384.3 MB, free: 8.336 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.2559, allocations: 28.38 kB / 384.3 MB, free: 8.316 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007362/0.2567, allocations: 326.3 kB / 384.6 MB, free: 8.152 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001509/0.2568, allocations: 62.61 kB / 384.7 MB, free: 8.121 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 9.401e-05/0.2569, allocations: 81.38 kB / 384.8 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.859e-05/0.2569, allocations: 2.812 kB / 384.8 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001129/0.2571, allocations: 50.86 kB / 384.8 MB, free: 8.07 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.561e-05/0.2571, allocations: 20.25 kB / 384.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.007e-05/0.2571, allocations: 3.031 kB / 384.8 MB, free: 8.062 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005838/0.2577, allocations: 363 kB / 385.2 MB, free: 7.973 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.2577, allocations: 10.56 kB / 385.2 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 2.563e-05/0.2577, allocations: 16.5 kB / 385.2 MB, free: 7.965 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003885/0.2581, allocations: 287.1 kB / 385.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.2582, allocations: 0 / 385.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2582, allocations: 0 / 385.5 MB, free: 7.887 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.995e-06/0.2582, allocations: 0 / 385.5 MB, free: 7.887 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0005947/0.2588, allocations: 446.9 kB / 385.9 MB, free: 7.496 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2588, allocations: 11.16 kB / 386 MB, free: 7.496 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.2612, allocations: 0.516 MB / 386.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.932e-05/0.2613, allocations: 115.8 kB / 386.6 MB, free: 7.148 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.711e-05/0.2613, allocations: 9.922 kB / 386.6 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.498e-05/0.2614, allocations: 10.34 kB / 386.6 MB, free: 7.141 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002956/0.2617, allocations: 266.5 kB / 386.9 MB, free: 6.996 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.607e-06/0.2617, allocations: 7.031 kB / 386.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.451e-05/0.2617, allocations: 0 / 386.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.2617, allocations: 0 / 386.9 MB, free: 6.992 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001819/0.2619, allocations: 159.8 kB / 387 MB, free: 6.973 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004382/0.2623, allocations: 255.7 kB / 387.3 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002904/0.2626, allocations: 117.8 kB / 387.4 MB, free: 6.754 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.2627, allocations: 47.39 kB / 387.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.2627, allocations: 5.375 kB / 387.4 MB, free: 6.738 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.2627, allocations: 30.56 kB / 387.5 MB, free: 6.699 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.2627, allocations: 0 / 387.5 MB, free: 6.699 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005401/0.2633, allocations: 255.8 kB / 387.7 MB, free: 6.609 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.2633, allocations: 54.81 kB / 387.8 MB, free: 6.547 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.604e-05/0.2633, allocations: 110.9 kB / 387.9 MB, free: 6.434 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.2634, allocations: 29.2 kB / 387.9 MB, free: 6.402 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.52e-05/0.2634, allocations: 97.7 kB / 388 MB, free: 6.305 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.2634, allocations: 62.27 kB / 388.1 MB, free: 6.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.676e-05/0.2635, allocations: 40.56 kB / 388.1 MB, free: 6.238 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.967e-05/0.2636, allocations: 325.7 kB / 388.4 MB, free: 5.922 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.2636, allocations: 31.8 kB / 388.5 MB, free: 5.918 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.859e-05/0.2637, allocations: 82.2 kB / 388.5 MB, free: 5.863 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001116/0.2638, allocations: 117.7 kB / 388.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.2638, allocations: 0 / 388.7 MB, free: 5.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001562/0.2639, allocations: 147.8 kB / 388.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.264, allocations: 3.312 kB / 388.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.264, allocations: 2.625 kB / 388.8 MB, free: 5.742 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.264, allocations: 6.969 kB / 388.8 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001853/0.2642, allocations: 58.08 kB / 388.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.2642, allocations: 0 / 388.9 MB, free: 5.723 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.407e-05/0.2642, allocations: 14.48 kB / 388.9 MB, free: 5.719 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.04e-05/0.2643, allocations: 8.281 kB / 388.9 MB, free: 5.719 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (21): * Single equations (assignments): 21 * 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 6.872e-05/0.2643, allocations: 123.4 kB / 389 MB, free: 5.598 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2644, allocations: 9.297 kB / 389 MB, free: 5.594 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.2646, allocations: 176.1 kB / 389.2 MB, free: 5.512 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.925e-06/0.2646, allocations: 6.562 kB / 389.2 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.362e-06/0.2646, allocations: 0 / 389.2 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.2646, allocations: 3.406 kB / 389.2 MB, free: 5.508 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005436/0.2651, allocations: 338.1 kB / 389.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.2651, allocations: 0 / 389.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001472/0.2653, allocations: 62.73 kB / 389.6 MB, free: 5.25 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.628e-06/0.2653, allocations: 6.766 kB / 389.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.2653, allocations: 3 kB / 389.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2653, allocations: 6.203 kB / 389.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.2653, allocations: 3.094 kB / 389.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2653, allocations: 0 / 389.6 MB, free: 5.242 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001582/0.2655, allocations: 237.2 kB / 389.8 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.2655, allocations: 0 / 389.8 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.669e-05/0.2656, allocations: 8.938 kB / 389.9 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.392e-05/0.2656, allocations: 21.31 kB / 389.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.344e-05/0.2656, allocations: 8.531 kB / 389.9 MB, free: 5.059 MB / 330.7 MB Notification: Performance of sorting global known variables: time 1.287e-05/0.2656, allocations: 12.19 kB / 389.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2656, allocations: 0 / 389.9 MB, free: 5.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001951/0.2658, allocations: 43.34 kB / 389.9 MB, free: 5.043 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 simulation (18): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001766/0.266, allocations: 106.9 kB / 390 MB, free: 4.965 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0001726/0.2662, allocations: 119.7 kB / 390.2 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.644e-06/0.2662, allocations: 2.219 kB / 390.2 MB, free: 4.938 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.872e-05/0.2663, allocations: 90.95 kB / 390.2 MB, free: 4.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002418/0.2665, allocations: 76.58 kB / 390.3 MB, free: 4.879 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001424/0.2679, allocations: 258.6 kB / 390.6 MB, free: 4.695 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.23e-05/0.268, allocations: 63.89 kB / 390.6 MB, free: 4.621 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001866/0.2682, allocations: 60.61 kB / 390.7 MB, free: 4.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001665/0.2683, allocations: 98.5 kB / 390.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of SimCode: time 9.62e-07/0.2683, allocations: 0 / 390.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of Templates: time 0.004818/0.2731, allocations: 3.647 MB / 394.4 MB, free: 2.648 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.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: 2.798997516743839]