Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.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.001558/0.001558, allocations: 112.3 kB / 21.18 MB, free: 0.6289 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.001717/0.001717, allocations: 211 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 258.1 MB, free: 8.16 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-beta.om/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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 378.7 MB, free: 2.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2063/0.2083, allocations: 53.31 MB / 432 MB, free: 7.391 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006272/0.2146, allocations: 4.597 MB / 436.6 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.2168, allocations: 1.818 MB / 438.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.693e-05/0.2169, allocations: 0 / 438.4 MB, free: 0.9453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002405/0.2171, allocations: 43.67 kB / 438.5 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003513/0.2175, allocations: 123.2 kB / 438.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.2181, allocations: 252.3 kB / 438.9 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003832/0.2185, allocations: 294.8 kB / 439.1 MB, free: 256 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.566e-05/0.2186, allocations: 13.08 kB / 439.2 MB, free: 244 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002853/0.2189, allocations: 135.5 kB / 439.3 MB, free: 108 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001457/0.219, allocations: 83.66 kB / 439.4 MB, free: 24 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.726e-05/0.219, allocations: 8 kB / 439.4 MB, free: 16 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002808/0.2193, allocations: 107.9 kB / 439.5 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.188e-05/0.2194, allocations: 39.84 kB / 439.5 MB, free: 15.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.895e-05/0.2195, allocations: 79.64 kB / 439.6 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.2198, allocations: 225.2 kB / 439.8 MB, free: 15.58 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.2199, allocations: 4 kB / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.2199, allocations: 0 / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.61e-06/0.2199, allocations: 0 / 439.8 MB, free: 15.57 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.00103/0.2209, allocations: 499 kB / 440.3 MB, free: 15.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.2209, allocations: 8.031 kB / 440.3 MB, free: 15.03 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.2211, allocations: 20.88 kB / 440.3 MB, free: 15.01 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.2214, allocations: 208.2 kB / 440.5 MB, free: 14.77 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.252e-05/0.2214, allocations: 8.656 kB / 440.5 MB, free: 14.76 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.323e-05/0.2215, allocations: 12.38 kB / 440.6 MB, free: 14.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.2219, allocations: 225.5 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.2219, allocations: 3.938 kB / 440.8 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.107e-05/0.222, allocations: 8 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.222, allocations: 4 kB / 440.8 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.2224, allocations: 156.3 kB / 441 MB, free: 14.34 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001446/0.2238, allocations: 0.9481 MB / 441.9 MB, free: 13.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.2242, allocations: 142.7 kB / 442 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001633/0.2244, allocations: 48.83 kB / 442.1 MB, free: 13.11 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005924/0.225, allocations: 0.511 MB / 442.6 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.225, allocations: 38.56 kB / 442.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.225, allocations: 0 / 442.6 MB, free: 12.49 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002762/0.2278, allocations: 0.7737 MB / 443.4 MB, free: 11.67 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.552e-05/0.2278, allocations: 55.41 kB / 443.5 MB, free: 11.61 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.228, allocations: 165.2 kB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.138e-05/0.228, allocations: 25.7 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.984e-05/0.2281, allocations: 140.2 kB / 443.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.237e-05/0.2282, allocations: 75.38 kB / 443.9 MB, free: 11.19 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001018/0.2283, allocations: 61.69 kB / 443.9 MB, free: 11.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2284, allocations: 322.8 kB / 444.2 MB, free: 10.8 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002785/0.2287, allocations: 83.94 kB / 444.3 MB, free: 10.72 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.229, allocations: 193.1 kB / 444.5 MB, free: 10.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006432/0.2297, allocations: 289.4 kB / 444.8 MB, free: 10.15 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.2297, allocations: 7.938 kB / 444.8 MB, free: 10.14 MB / 350.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007783/0.2305, allocations: 327.5 kB / 445.1 MB, free: 9.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.2305, allocations: 18.94 kB / 445.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.2305, allocations: 0 / 445.1 MB, free: 9.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.2305, allocations: 8 kB / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004072/0.2309, allocations: 79.83 kB / 445.2 MB, free: 9.719 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2309, allocations: 4 kB / 445.2 MB, free: 9.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002571/0.2312, allocations: 19.98 kB / 445.2 MB, free: 9.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.468e-05/0.2312, allocations: 19.98 kB / 445.3 MB, free: 9.676 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (37): * Single equations (assignments): 37 * 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.0001396/0.2313, allocations: 137.7 kB / 445.4 MB, free: 9.531 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/0.2314, allocations: 19.84 kB / 445.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007164/0.2321, allocations: 238.6 kB / 445.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2321, allocations: 0 / 445.6 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.2321, allocations: 4 kB / 445.7 MB, free: 9.266 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001173/0.2322, allocations: 105 kB / 445.8 MB, free: 9.145 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.2e-05/0.2323, allocations: 12 kB / 445.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002579/0.2325, allocations: 7.984 kB / 445.8 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.431e-05/0.2326, allocations: 11.98 kB / 445.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008969/0.2335, allocations: 316.6 kB / 446.1 MB, free: 8.797 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009731/0.2344, allocations: 480.4 kB / 446.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002554/0.2347, allocations: 79.23 kB / 446.6 MB, free: 8.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.59e-05/0.2348, allocations: 111.2 kB / 446.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of Backend: time 5.01e-07/0.2348, allocations: 0 / 446.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008267/0.2356, allocations: 270.9 kB / 447 MB, free: 7.859 MB / 350.1 MB Notification: Performance of SimCode: time 0.0008861/0.2365, allocations: 0.8451 MB / 447.9 MB, free: 6.965 MB / 350.1 MB Notification: Performance of Templates: time 0.007388/0.2439, allocations: 3.318 MB / 451.2 MB, free: 3.648 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Media.Examples.SimpleLiquidWater.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.28324901079759]