Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001882/0.001882, allocations: 112.8 kB / 19.17 MB, free: 3.871 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002598/0.002598, allocations: 210.5 kB / 22.13 MB, free: 0.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 230.2 MB / 255.2 MB, free: 15.24 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001888/0.001888, allocations: 63.89 kB / 374.5 MB, free: 10.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1079, allocations: 53.31 MB / 427.8 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3781/0.4859, allocations: 152.6 MB / 0.5668 GB, free: 7.855 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.004297/0.4902, allocations: 2.561 MB / 0.5693 GB, free: 5.289 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.4904, allocations: 4 kB / 0.5693 GB, free: 5.285 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002059/0.4906, allocations: 23.83 kB / 0.5694 GB, free: 5.262 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001516/0.4921, allocations: 333.1 kB / 0.5697 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.4923, allocations: 55.75 kB / 0.5697 GB, free: 4.883 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.4925, allocations: 111.3 kB / 0.5698 GB, free: 4.773 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.757e-05/0.4926, allocations: 0.9375 kB / 0.5698 GB, free: 4.773 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.4928, allocations: 47.78 kB / 0.5699 GB, free: 4.727 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.4929, allocations: 47.78 kB / 0.5699 GB, free: 4.68 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.4929, allocations: 0 / 0.5699 GB, free: 4.68 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.494, allocations: 371.5 kB / 0.5703 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.03e-05/0.494, allocations: 11.97 kB / 0.5703 GB, free: 4.305 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 7.153e-05/0.4941, allocations: 39.81 kB / 0.5703 GB, free: 4.266 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000723/0.4948, allocations: 308.4 kB / 0.5706 GB, free: 3.969 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.4948, allocations: 0 / 0.5706 GB, free: 3.969 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4948, allocations: 0 / 0.5706 GB, free: 3.969 MB / 478.1 MB Notification: Performance of Transformations before backend: time 6.091e-06/0.4948, allocations: 1.125 kB / 0.5706 GB, free: 3.969 MB / 478.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.001273/0.4961, allocations: 466.7 kB / 0.5711 GB, free: 3.465 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.4961, allocations: 11.97 kB / 0.5711 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009404/0.5055, allocations: 464.2 kB / 0.5715 GB, free: 3 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002443/0.5058, allocations: 183.6 kB / 0.5717 GB, free: 2.781 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.5058, allocations: 8 kB / 0.5717 GB, free: 2.773 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001316/0.5059, allocations: 8 kB / 0.5717 GB, free: 2.766 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.5071, allocations: 293.3 kB / 0.572 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.738e-05/0.5071, allocations: 0 / 0.572 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.693e-05/0.5072, allocations: 8 kB / 0.572 GB, free: 2.465 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-06/0.5072, allocations: 3.984 kB / 0.572 GB, free: 2.461 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001204/0.5084, allocations: 283.7 kB / 0.5723 GB, free: 2.184 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004573/0.5089, allocations: 246.6 kB / 0.5725 GB, free: 1.895 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006124/0.5095, allocations: 153.1 kB / 0.5727 GB, free: 1.738 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.5098, allocations: 76.81 kB / 0.5727 GB, free: 1.66 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.14e-05/0.5099, allocations: 7.938 kB / 0.5728 GB, free: 1.652 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.5099, allocations: 34.56 kB / 0.5728 GB, free: 1.609 MB / 478.1 MB Notification: Performance of pre-optimization done (n=17): time 3.326e-06/0.5099, allocations: 0 / 0.5728 GB, free: 1.609 MB / 478.1 MB Notification: Performance of matching and sorting (n=24): time 0.003322/0.5132, allocations: 0.5822 MB / 0.5734 GB, free: 1.023 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.5133, allocations: 59.34 kB / 0.5734 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.5134, allocations: 109.8 kB / 0.5735 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 4.953e-05/0.5134, allocations: 29.7 kB / 0.5735 GB, free: 0.8008 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.618e-05/0.5135, allocations: 84.58 kB / 0.5736 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.5136, allocations: 83.27 kB / 0.5737 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001456/0.5138, allocations: 45.69 kB / 0.5737 GB, free: 0.582 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.5139, allocations: 322.8 kB / 0.5741 GB, free: 264 kB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004895/0.5144, allocations: 99.94 kB / 0.5742 GB, free: 164 kB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005033/0.5149, allocations: 99.94 kB / 0.5742 GB, free: 64 kB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.516, allocations: 233 kB / 0.5745 GB, free: 15.83 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.516, allocations: 0 / 0.5745 GB, free: 15.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.001207/0.5172, allocations: 285.3 kB / 0.5747 GB, free: 15.55 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.5172, allocations: 5.875 kB / 0.5747 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.5172, allocations: 0 / 0.5747 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.5172, allocations: 4 kB / 0.5748 GB, free: 15.54 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006806/0.5179, allocations: 59.83 kB / 0.5748 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/0.5179, allocations: 6.125 kB / 0.5748 GB, free: 15.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003635/0.5183, allocations: 11.98 kB / 0.5748 GB, free: 15.46 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.704e-05/0.5183, allocations: 15.98 kB / 0.5748 GB, free: 15.45 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (24): * Single equations (assignments): 24 * 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.0001696/0.5185, allocations: 117.8 kB / 0.575 GB, free: 15.32 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.89e-05/0.5186, allocations: 11.95 kB / 0.575 GB, free: 15.31 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001433/0.52, allocations: 354.2 kB / 0.5753 GB, free: 14.96 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.529e-05/0.52, allocations: 11.92 kB / 0.5753 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.52, allocations: 3.938 kB / 0.5753 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.74e-06/0.52, allocations: 0 / 0.5753 GB, free: 14.95 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002324/0.5224, allocations: 0.7241 MB / 0.576 GB, free: 14.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5224, allocations: 4 kB / 0.576 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005906/0.523, allocations: 55.89 kB / 0.5761 GB, free: 14.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/0.523, allocations: 8.156 kB / 0.5761 GB, free: 14.09 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.328e-05/0.523, allocations: 11.98 kB / 0.5761 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-05/0.523, allocations: 5.438 kB / 0.5761 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.523, allocations: 2.891 kB / 0.5761 GB, free: 14.07 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.5242, allocations: 408.4 kB / 0.5765 GB, free: 13.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.5243, allocations: 92.95 kB / 0.5766 GB, free: 13.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.679e-05/0.5244, allocations: 11.98 kB / 0.5766 GB, free: 13.52 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004755/0.5248, allocations: 19.98 kB / 0.5766 GB, free: 13.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.948e-05/0.5249, allocations: 15.98 kB / 0.5766 GB, free: 13.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.342e-05/0.525, allocations: 19.92 kB / 0.5767 GB, free: 13.47 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.174e-05/0.525, allocations: 83.28 kB / 0.5767 GB, free: 13.39 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.525, allocations: 0 / 0.5767 GB, free: 13.39 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000587/0.5256, allocations: 59.94 kB / 0.5768 GB, free: 13.33 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (26): * Single equations (assignments): 26 * 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.0003373/0.526, allocations: 135.1 kB / 0.5769 GB, free: 13.18 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001103/0.5271, allocations: 235.7 kB / 0.5771 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5271, allocations: 0 / 0.5771 GB, free: 12.95 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005275/0.5276, allocations: 131.8 kB / 0.5773 GB, free: 12.82 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007092/0.5283, allocations: 58.84 kB / 0.5773 GB, free: 12.77 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.5297, allocations: 372.2 kB / 0.5777 GB, free: 12.36 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004118/0.5301, allocations: 0.7008 MB / 0.5784 GB, free: 11.64 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003531/0.5305, allocations: 43.41 kB / 0.5784 GB, free: 11.59 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/0.5305, allocations: 7.875 kB / 0.5784 GB, free: 11.59 MB / 494.1 MB Notification: Performance of Templates: time 0.006954/0.5374, allocations: 2.927 MB / 0.5813 GB, free: 8.664 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_trunk_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.IdealGasH2O_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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.272958259796724]