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.001782/0.001782, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002244/0.002244, allocations: 213.2 kB / 24.54 MB, free: 4.02 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.462/1.462, allocations: 230.3 MB / 258 MB, free: 8.238 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.001911/0.001911, allocations: 63.91 kB / 378.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2304, allocations: 53.36 MB / 432.1 MB, free: 7.105 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.3886/0.6191, allocations: 152.7 MB / 0.5711 GB, free: 13.16 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002097/0.6212, allocations: 2.574 MB / 0.5736 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.6212, allocations: 0 / 0.5736 GB, free: 12.97 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.6213, allocations: 24.66 kB / 0.5736 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007837/0.6221, allocations: 331.8 kB / 0.5739 GB, free: 12.88 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000167/0.6223, allocations: 64.05 kB / 0.574 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.6224, allocations: 112.3 kB / 0.5741 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.09e-05/0.6224, allocations: 3.062 kB / 0.5741 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.995e-05/0.6225, allocations: 49.22 kB / 0.5741 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.77e-05/0.6226, allocations: 37.23 kB / 0.5742 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.202e-05/0.6226, allocations: 2.625 kB / 0.5742 GB, free: 12.81 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006338/0.6233, allocations: 373 kB / 0.5745 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.438e-05/0.6233, allocations: 10.12 kB / 0.5745 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.6233, allocations: 38.75 kB / 0.5746 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004311/0.6237, allocations: 318.4 kB / 0.5749 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.6238, allocations: 0 / 0.5749 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.6238, allocations: 4 kB / 0.5749 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.6238, allocations: 1.203 kB / 0.5749 GB, free: 12.77 MB / 462.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.000897/0.6247, allocations: 384.6 kB / 0.5753 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.813e-05/0.6247, allocations: 10.09 kB / 0.5753 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00676/0.6314, allocations: 467.7 kB / 0.5757 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000133/0.6316, allocations: 120.4 kB / 0.5758 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.644e-05/0.6316, allocations: 12.75 kB / 0.5758 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.76e-05/0.6317, allocations: 7.266 kB / 0.5758 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007591/0.6324, allocations: 297.4 kB / 0.5761 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.327e-05/0.6324, allocations: 0 / 0.5761 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.98e-05/0.6325, allocations: 5.156 kB / 0.5761 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.678e-06/0.6325, allocations: 6.594 kB / 0.5761 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007736/0.6333, allocations: 269.6 kB / 0.5764 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002803/0.6336, allocations: 224.7 kB / 0.5766 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003948/0.634, allocations: 161.6 kB / 0.5768 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002057/0.6342, allocations: 76.77 kB / 0.5768 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.6342, allocations: 5.969 kB / 0.5768 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.997e-05/0.6342, allocations: 34.56 kB / 0.5769 GB, free: 12 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 3.527e-06/0.6342, allocations: 3.984 kB / 0.5769 GB, free: 12 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.002178/0.6364, allocations: 0.5833 MB / 0.5775 GB, free: 11.93 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.376e-05/0.6365, allocations: 57.47 kB / 0.5775 GB, free: 11.87 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.42e-05/0.6365, allocations: 106.8 kB / 0.5776 GB, free: 11.77 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.6366, allocations: 31.39 kB / 0.5776 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.12e-05/0.6366, allocations: 84.27 kB / 0.5777 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.761e-05/0.6367, allocations: 85.61 kB / 0.5778 GB, free: 11.6 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001052/0.6368, allocations: 49.23 kB / 0.5778 GB, free: 11.58 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.637, allocations: 323.3 kB / 0.5782 GB, free: 11.27 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002988/0.6373, allocations: 95.52 kB / 0.5782 GB, free: 11.27 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002882/0.6376, allocations: 107.4 kB / 0.5783 GB, free: 11.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005985/0.6382, allocations: 228 kB / 0.5786 GB, free: 11.25 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.6382, allocations: 0 / 0.5786 GB, free: 11.25 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007218/0.6389, allocations: 289.7 kB / 0.5788 GB, free: 11.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.6389, allocations: 5.984 kB / 0.5788 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.6389, allocations: 2.016 kB / 0.5788 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.6389, allocations: 0 / 0.5788 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004682/0.6394, allocations: 59.58 kB / 0.5789 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6394, allocations: 0 / 0.5789 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002959/0.6397, allocations: 16.47 kB / 0.5789 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-05/0.6397, allocations: 13.91 kB / 0.5789 GB, free: 11.19 MB / 462.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.0001246/0.6398, allocations: 125 kB / 0.5791 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.04e-05/0.6399, allocations: 11.69 kB / 0.5791 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009098/0.6408, allocations: 349.4 kB / 0.5794 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.6408, allocations: 6.188 kB / 0.5794 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.6408, allocations: 1.844 kB / 0.5794 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.6408, allocations: 2.016 kB / 0.5794 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/0.6423, allocations: 0.6888 MB / 0.5801 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.6423, allocations: 8.078 kB / 0.5801 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004447/0.6428, allocations: 61.06 kB / 0.5801 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.6428, allocations: 6.312 kB / 0.5802 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.133e-05/0.6428, allocations: 15.28 kB / 0.5802 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.6428, allocations: 2.375 kB / 0.5802 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6428, allocations: 2.656 kB / 0.5802 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007901/0.6436, allocations: 412.2 kB / 0.5806 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.993e-05/0.6436, allocations: 14.69 kB / 0.5806 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.6437, allocations: 10.44 kB / 0.5806 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003443/0.644, allocations: 19.66 kB / 0.5806 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.389e-05/0.644, allocations: 14.22 kB / 0.5806 GB, free: 10.46 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.414e-05/0.6441, allocations: 22.62 kB / 0.5806 GB, free: 10.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.134e-05/0.6441, allocations: 88.38 kB / 0.5807 GB, free: 10.38 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6441, allocations: 0 / 0.5807 GB, free: 10.38 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.000354/0.6445, allocations: 58.19 kB / 0.5808 GB, free: 10.38 MB / 462.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.0002191/0.6447, allocations: 129.2 kB / 0.5809 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0007037/0.6454, allocations: 237.6 kB / 0.5811 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.6454, allocations: 0 / 0.5811 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000338/0.6457, allocations: 130.3 kB / 0.5813 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005338/0.6463, allocations: 59.16 kB / 0.5813 GB, free: 10.25 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009071/0.6472, allocations: 347.3 kB / 0.5816 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003418/0.6475, allocations: 0.7087 MB / 0.5823 GB, free: 9.344 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002886/0.6478, allocations: 58.8 kB / 0.5824 GB, free: 9.312 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001789/0.648, allocations: 38.78 kB / 0.5824 GB, free: 9.301 MB / 462.1 MB Notification: Performance of SimCode: time 3.7e-07/0.648, allocations: 3.938 kB / 0.5824 GB, free: 9.297 MB / 462.1 MB Notification: Performance of Templates: time 0.007691/0.6557, allocations: 4.295 MB / 0.5866 GB, free: 7.375 MB / 462.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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/IdealGasH2O/IdealGasH2O.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 4.852290587499738]