Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.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.001797/0.001797, allocations: 113.2 kB / 20.43 MB, free: 1.449 MB / 14.72 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.00242/0.00242, allocations: 214.4 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.466/1.466, allocations: 230.6 MB / 257.5 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.IdealGasH2O,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|smoothState.p|der_p|der_T",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Media.Examples.IdealGasH2O") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001593/0.001593, allocations: 55.91 kB / 378.3 MB, free: 2.711 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2251/0.2267, allocations: 53.36 MB / 431.6 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.IdealGasH2O): time 0.4063/0.6331, allocations: 152.7 MB / 0.5706 GB, free: 13.15 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.6351, allocations: 2.553 MB / 0.5731 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.295e-05/0.6352, allocations: 0 / 0.5731 GB, free: 12.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000151/0.6353, allocations: 32.14 kB / 0.5731 GB, free: 12.96 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008199/0.6362, allocations: 340.2 kB / 0.5734 GB, free: 12.87 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000163/0.6363, allocations: 63.39 kB / 0.5735 GB, free: 12.86 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001146/0.6364, allocations: 99.36 kB / 0.5736 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.162e-05/0.6365, allocations: 4.531 kB / 0.5736 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.524e-05/0.6366, allocations: 46.92 kB / 0.5737 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.814e-05/0.6366, allocations: 35.19 kB / 0.5737 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.6367, allocations: 4.5 kB / 0.5737 GB, free: 12.82 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006059/0.6373, allocations: 370 kB / 0.574 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 1.427e-05/0.6373, allocations: 16.84 kB / 0.5741 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.6373, allocations: 42.81 kB / 0.5741 GB, free: 12.79 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004118/0.6377, allocations: 317.2 kB / 0.5744 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.6377, allocations: 0 / 0.5744 GB, free: 12.77 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.6377, allocations: 3.812 kB / 0.5744 GB, free: 12.77 MB / 462.1 MB Notification: Performance of Transformations before backend: time 4.299e-06/0.6377, allocations: 0 / 0.5744 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.0008777/0.6386, allocations: 389.2 kB / 0.5748 GB, free: 12.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.091e-05/0.6387, allocations: 9.781 kB / 0.5748 GB, free: 12.46 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005965/0.6446, allocations: 462.2 kB / 0.5752 GB, free: 12.45 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001402/0.6448, allocations: 132.3 kB / 0.5754 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.6448, allocations: 3.016 kB / 0.5754 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.633e-05/0.6449, allocations: 8.938 kB / 0.5754 GB, free: 12.31 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006866/0.6455, allocations: 300.3 kB / 0.5756 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.259e-05/0.6456, allocations: 2.469 kB / 0.5757 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.195e-05/0.6456, allocations: 3.562 kB / 0.5757 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.6456, allocations: 2.469 kB / 0.5757 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007212/0.6463, allocations: 273.3 kB / 0.5759 GB, free: 12.27 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002757/0.6466, allocations: 226.5 kB / 0.5761 GB, free: 12.09 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003651/0.647, allocations: 151.1 kB / 0.5763 GB, free: 12.06 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/0.6472, allocations: 84.78 kB / 0.5764 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.547e-05/0.6472, allocations: 2.469 kB / 0.5764 GB, free: 12.05 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.6472, allocations: 31.44 kB / 0.5764 GB, free: 12.01 MB / 462.1 MB Notification: Performance of pre-optimization done (n=17): time 1.443e-06/0.6472, allocations: 0 / 0.5764 GB, free: 12.01 MB / 462.1 MB Notification: Performance of matching and sorting (n=24): time 0.00201/0.6492, allocations: 0.5816 MB / 0.577 GB, free: 11.94 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.6493, allocations: 58.47 kB / 0.577 GB, free: 11.88 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.6493, allocations: 111.5 kB / 0.5771 GB, free: 11.78 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.315e-05/0.6494, allocations: 32.89 kB / 0.5772 GB, free: 11.74 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.997e-05/0.6494, allocations: 85.05 kB / 0.5772 GB, free: 11.66 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.02e-05/0.6495, allocations: 83.55 kB / 0.5773 GB, free: 11.61 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.769e-05/0.6496, allocations: 47.97 kB / 0.5774 GB, free: 11.59 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001408/0.6497, allocations: 325.1 kB / 0.5777 GB, free: 11.28 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002759/0.65, allocations: 95.83 kB / 0.5778 GB, free: 11.28 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002575/0.6503, allocations: 105.9 kB / 0.5779 GB, free: 11.27 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005319/0.6508, allocations: 228.9 kB / 0.5781 GB, free: 11.26 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.6508, allocations: 1.203 kB / 0.5781 GB, free: 11.26 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006455/0.6514, allocations: 289.5 kB / 0.5784 GB, free: 11.21 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.6515, allocations: 8.938 kB / 0.5784 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.6515, allocations: 0 / 0.5784 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6515, allocations: 6.125 kB / 0.5784 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004353/0.6519, allocations: 53.56 kB / 0.5784 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6519, allocations: 1.812 kB / 0.5784 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/0.6522, allocations: 17.41 kB / 0.5784 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.6522, allocations: 15.77 kB / 0.5785 GB, free: 11.2 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.0001211/0.6523, allocations: 121.1 kB / 0.5786 GB, free: 11.08 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.6524, allocations: 11.33 kB / 0.5786 GB, free: 11.07 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008162/0.6532, allocations: 355.3 kB / 0.5789 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.474e-06/0.6532, allocations: 9.938 kB / 0.5789 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.6532, allocations: 9.703 kB / 0.5789 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.6532, allocations: 0 / 0.5789 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001407/0.6546, allocations: 0.6843 MB / 0.5796 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.6546, allocations: 2.5 kB / 0.5796 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003966/0.655, allocations: 58.17 kB / 0.5797 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.655, allocations: 0 / 0.5797 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.473e-05/0.655, allocations: 10.36 kB / 0.5797 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.6551, allocations: 2.562 kB / 0.5797 GB, free: 10.68 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.6551, allocations: 6.75 kB / 0.5797 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007048/0.6558, allocations: 412.1 kB / 0.5801 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.873e-05/0.6558, allocations: 12.41 kB / 0.5801 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.886e-05/0.6558, allocations: 6.562 kB / 0.5801 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003143/0.6561, allocations: 16.62 kB / 0.5801 GB, free: 10.48 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.135e-05/0.6562, allocations: 26.8 kB / 0.5801 GB, free: 10.47 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.924e-05/0.6562, allocations: 20.36 kB / 0.5802 GB, free: 10.46 MB / 462.1 MB Notification: Performance of sorting global known variables: time 4.949e-05/0.6563, allocations: 86.67 kB / 0.5802 GB, free: 10.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.6563, allocations: 0 / 0.5802 GB, free: 10.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003359/0.6566, allocations: 58.81 kB / 0.5803 GB, free: 10.39 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.0002037/0.6568, allocations: 126.4 kB / 0.5804 GB, free: 10.29 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0006459/0.6574, allocations: 241.1 kB / 0.5806 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.185e-06/0.6574, allocations: 0 / 0.5806 GB, free: 10.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003098/0.6577, allocations: 134.8 kB / 0.5808 GB, free: 10.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004897/0.6582, allocations: 59.31 kB / 0.5808 GB, free: 10.26 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000839/0.6591, allocations: 350.3 kB / 0.5812 GB, free: 10.05 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.6594, allocations: 0.7028 MB / 0.5819 GB, free: 9.352 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002728/0.6597, allocations: 56.58 kB / 0.5819 GB, free: 9.324 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001631/0.6598, allocations: 40.02 kB / 0.5819 GB, free: 9.312 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.6598, allocations: 0 / 0.5819 GB, free: 9.312 MB / 462.1 MB Notification: Performance of Templates: time 0.007685/0.6675, allocations: 4.305 MB / 0.5861 GB, free: 7.359 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.sim & ./Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.IdealGasH2O.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.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: 5.07053298316896]