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.001574/0.001574, allocations: 96.03 kB / 21.18 MB, free: 0.5312 MB / 14.72 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.001819/0.001819, allocations: 185 kB / 24.46 MB, free: 3.863 MB / 14.72 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 1.514/1.514, allocations: 225.7 MB / 253.3 MB, free: 12.83 MB / 206.1 MB " [Timeout remaining time 178] 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 0.00161/0.00161, allocations: 51.92 kB / 371.6 MB, free: 9.199 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2483/0.2499, allocations: 52.17 MB / 423.8 MB, free: 14.46 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4/0.65, allocations: 128.3 MB / 0.5392 GB, free: 1.426 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002472/0.6524, allocations: 2.234 MB / 0.5414 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.01e-05/0.6525, allocations: 1.203 kB / 0.5414 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.6526, allocations: 21.67 kB / 0.5414 GB, free: 1.418 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001028/0.6537, allocations: 325.4 kB / 0.5417 GB, free: 1.414 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001928/0.6539, allocations: 62.89 kB / 0.5418 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.654, allocations: 80.55 kB / 0.5418 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.133e-05/0.654, allocations: 4 kB / 0.5418 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001091/0.6541, allocations: 38.5 kB / 0.5419 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.6542, allocations: 27.09 kB / 0.5419 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.839e-06/0.6542, allocations: 1.375 kB / 0.5419 GB, free: 1.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006826/0.6549, allocations: 336.4 kB / 0.5422 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.809e-05/0.6549, allocations: 13.06 kB / 0.5422 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.924e-05/0.6549, allocations: 24.97 kB / 0.5423 GB, free: 1.406 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004482/0.6554, allocations: 299.2 kB / 0.5425 GB, free: 1.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.6554, allocations: 0.8438 kB / 0.5425 GB, free: 1.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.784e-06/0.6554, allocations: 1.375 kB / 0.5425 GB, free: 1.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.6554, allocations: 3.312 kB / 0.5425 GB, free: 1.395 MB / 446.1 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.0009062/0.6563, allocations: 354.3 kB / 0.5429 GB, free: 17.11 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.434e-05/0.6563, allocations: 13.39 kB / 0.5429 GB, free: 17.11 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006318/0.6627, allocations: 460.5 kB / 0.5433 GB, free: 17.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.6628, allocations: 113.5 kB / 0.5434 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.6628, allocations: 3.188 kB / 0.5434 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.51e-05/0.6629, allocations: 11.91 kB / 0.5435 GB, free: 16.97 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007196/0.6636, allocations: 299.5 kB / 0.5437 GB, free: 16.94 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.6636, allocations: 0 / 0.5437 GB, free: 16.94 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.272e-05/0.6637, allocations: 6.406 kB / 0.5437 GB, free: 16.94 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.742e-06/0.6637, allocations: 1.219 kB / 0.5437 GB, free: 16.94 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007355/0.6644, allocations: 274.7 kB / 0.544 GB, free: 16.94 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009561/0.6654, allocations: 360.6 kB / 0.5444 GB, free: 16.71 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009458/0.6663, allocations: 191.8 kB / 0.5445 GB, free: 16.69 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001731/0.6665, allocations: 69.41 kB / 0.5446 GB, free: 16.68 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.6665, allocations: 3.906 kB / 0.5446 GB, free: 16.68 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.6666, allocations: 37.94 kB / 0.5446 GB, free: 16.64 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.703e-06/0.6666, allocations: 0.875 kB / 0.5446 GB, free: 16.64 MB / 462.1 MB Notification: Performance of matching and sorting (n=17): time 0.001619/0.6682, allocations: 425.3 kB / 0.545 GB, free: 16.59 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.6682, allocations: 55.33 kB / 0.5451 GB, free: 16.53 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.648e-05/0.6683, allocations: 103.4 kB / 0.5452 GB, free: 16.43 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.099e-05/0.6683, allocations: 28.7 kB / 0.5452 GB, free: 16.4 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.6684, allocations: 99.45 kB / 0.5453 GB, free: 16.3 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.79e-05/0.6684, allocations: 57.73 kB / 0.5454 GB, free: 16.27 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.558e-05/0.6685, allocations: 47.97 kB / 0.5454 GB, free: 16.25 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.6686, allocations: 318.1 kB / 0.5457 GB, free: 15.93 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.6689, allocations: 77.23 kB / 0.5458 GB, free: 15.93 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002627/0.6691, allocations: 121.6 kB / 0.5459 GB, free: 15.89 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004898/0.6696, allocations: 209 kB / 0.5461 GB, free: 15.85 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.6696, allocations: 0 / 0.5461 GB, free: 15.85 MB / 462.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0005993/0.6702, allocations: 248 kB / 0.5464 GB, free: 15.81 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.6702, allocations: 7.312 kB / 0.5464 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6702, allocations: 0 / 0.5464 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6703, allocations: 2.625 kB / 0.5464 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003616/0.6706, allocations: 52.88 kB / 0.5464 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.6706, allocations: 3.906 kB / 0.5464 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.6709, allocations: 13.44 kB / 0.5464 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.239e-05/0.6709, allocations: 15.39 kB / 0.5464 GB, free: 15.81 MB / 462.1 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 0.0001119/0.671, allocations: 122.5 kB / 0.5466 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.31e-05/0.6711, allocations: 9.594 kB / 0.5466 GB, free: 15.69 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000746/0.6718, allocations: 273.3 kB / 0.5468 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.6718, allocations: 5.172 kB / 0.5468 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.6718, allocations: 0 / 0.5468 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6718, allocations: 3.906 kB / 0.5468 GB, free: 15.65 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.673, allocations: 0.5056 MB / 0.5473 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.673, allocations: 2.875 kB / 0.5473 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003262/0.6733, allocations: 44.19 kB / 0.5474 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.6733, allocations: 0.9375 kB / 0.5474 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.6733, allocations: 10.64 kB / 0.5474 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.6733, allocations: 9.781 kB / 0.5474 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6733, allocations: 0 / 0.5474 GB, free: 15.39 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.6739, allocations: 338.8 kB / 0.5477 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.674, allocations: 7.25 kB / 0.5477 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.357e-05/0.674, allocations: 6.469 kB / 0.5477 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002648/0.6743, allocations: 11.91 kB / 0.5477 GB, free: 15.23 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.482e-05/0.6743, allocations: 20.06 kB / 0.5478 GB, free: 15.22 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.259e-05/0.6743, allocations: 10.44 kB / 0.5478 GB, free: 15.22 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.851e-05/0.6744, allocations: 82.84 kB / 0.5479 GB, free: 15.15 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6744, allocations: 0 / 0.5479 GB, free: 15.15 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003289/0.6747, allocations: 44.94 kB / 0.5479 GB, free: 15.15 MB / 462.1 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.0002108/0.6749, allocations: 126.6 kB / 0.548 GB, free: 15.06 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0005836/0.6755, allocations: 195.6 kB / 0.5482 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.232e-06/0.6755, allocations: 1.062 kB / 0.5482 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.6757, allocations: 97.42 kB / 0.5483 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.6762, allocations: 36.44 kB / 0.5483 GB, free: 15.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007512/0.6769, allocations: 303.8 kB / 0.5486 GB, free: 14.87 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.318e-05/0.677, allocations: 79.38 kB / 0.5487 GB, free: 14.79 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.6771, allocations: 43.25 kB / 0.5487 GB, free: 14.79 MB / 462.1 MB Notification: Performance of SimCode: time 4.71e-07/0.6771, allocations: 0 / 0.5487 GB, free: 14.79 MB / 462.1 MB Notification: Performance of Templates: time 0.003741/0.6809, allocations: 2.374 MB / 0.5511 GB, free: 14.72 MB / 462.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.IdealGasH2O.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.6405574581585824]