Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001329/0.001329, allocations: 114.8 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 204 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.346/1.346, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1989/0.2001, allocations: 50.53 MB / 409.9 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005385/0.2055, allocations: 4.545 MB / 414.5 MB, free: 13 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001762/0.2073, allocations: 1.81 MB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.2073, allocations: 3.938 kB / 416.3 MB, free: 11.18 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.2076, allocations: 39.73 kB / 416.3 MB, free: 11.14 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002944/0.2079, allocations: 127.2 kB / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005575/0.2084, allocations: 250.5 kB / 416.7 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003044/0.2088, allocations: 298.9 kB / 417 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.831e-05/0.2088, allocations: 13.06 kB / 417 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002358/0.209, allocations: 131.5 kB / 417.1 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001159/0.2092, allocations: 79.67 kB / 417.2 MB, free: 10.26 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.174e-05/0.2092, allocations: 8 kB / 417.2 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002452/0.2095, allocations: 103.9 kB / 417.3 MB, free: 10.15 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.705e-05/0.2096, allocations: 51.75 kB / 417.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.2097, allocations: 71.73 kB / 417.4 MB, free: 10.03 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003278/0.21, allocations: 231.2 kB / 417.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.21, allocations: 0 / 417.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.21, allocations: 0 / 417.6 MB, free: 9.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.107e-06/0.21, allocations: 0 / 417.6 MB, free: 9.805 MB / 334.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.0008784/0.2109, allocations: 495 kB / 418.1 MB, free: 9.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.2109, allocations: 12.03 kB / 418.1 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001856/0.2111, allocations: 16.89 kB / 418.2 MB, free: 9.242 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000238/0.2114, allocations: 216.1 kB / 418.4 MB, free: 8.992 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.024e-05/0.2114, allocations: 8.656 kB / 418.4 MB, free: 8.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.2114, allocations: 16.38 kB / 418.4 MB, free: 8.969 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003954/0.2118, allocations: 217.6 kB / 418.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.2119, allocations: 0 / 418.6 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.474e-05/0.2119, allocations: 8 kB / 418.6 MB, free: 8.727 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.636e-06/0.2119, allocations: 7.984 kB / 418.6 MB, free: 8.719 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003612/0.2123, allocations: 151.8 kB / 418.8 MB, free: 8.57 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.2135, allocations: 0.9481 MB / 419.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003915/0.2139, allocations: 154.6 kB / 419.9 MB, free: 7.387 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001485/0.214, allocations: 56.83 kB / 419.9 MB, free: 7.328 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004838/0.2145, allocations: 0.4994 MB / 420.4 MB, free: 6.766 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2146, allocations: 34.55 kB / 420.5 MB, free: 6.723 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.293e-06/0.2146, allocations: 4 kB / 420.5 MB, free: 6.719 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002554/0.2171, allocations: 0.7655 MB / 421.2 MB, free: 5.902 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.2172, allocations: 59.41 kB / 421.3 MB, free: 5.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.2173, allocations: 161.6 kB / 421.4 MB, free: 5.668 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.2173, allocations: 29.7 kB / 421.5 MB, free: 5.633 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.651e-05/0.2174, allocations: 144.2 kB / 421.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.854e-05/0.2175, allocations: 79.36 kB / 421.7 MB, free: 5.41 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.783e-05/0.2176, allocations: 57.7 kB / 421.7 MB, free: 5.348 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.668e-05/0.2177, allocations: 318.8 kB / 422.1 MB, free: 5.027 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.2179, allocations: 87.94 kB / 422.1 MB, free: 4.941 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000295/0.2182, allocations: 189.6 kB / 422.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005482/0.2188, allocations: 292.4 kB / 422.6 MB, free: 4.375 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2188, allocations: 7.938 kB / 422.6 MB, free: 4.367 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006891/0.2195, allocations: 313.1 kB / 422.9 MB, free: 4.055 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.2195, allocations: 10.97 kB / 422.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.2195, allocations: 0 / 422.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2195, allocations: 12.41 kB / 423 MB, free: 4.035 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003869/0.2199, allocations: 91.81 kB / 423 MB, free: 3.945 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.22, allocations: 4 kB / 423 MB, free: 3.941 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002335/0.2202, allocations: 23.92 kB / 423.1 MB, free: 3.918 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.049e-05/0.2202, allocations: 16 kB / 423.1 MB, free: 3.902 MB / 334.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.00011/0.2203, allocations: 133.7 kB / 423.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.076e-05/0.2204, allocations: 23.78 kB / 423.2 MB, free: 3.738 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006313/0.221, allocations: 234.7 kB / 423.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.513e-06/0.2211, allocations: 3.984 kB / 423.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.2211, allocations: 0 / 423.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.99e-05/0.2212, allocations: 109 kB / 423.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.2212, allocations: 0 / 423.6 MB, free: 3.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002474/0.2215, allocations: 19.98 kB / 423.6 MB, free: 3.359 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.2215, allocations: 7.984 kB / 423.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008111/0.2223, allocations: 319 kB / 423.9 MB, free: 3.035 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008315/0.2232, allocations: 478.5 kB / 424.4 MB, free: 2.551 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000239/0.2234, allocations: 86.44 kB / 424.5 MB, free: 2.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.926e-05/0.2235, allocations: 111.2 kB / 424.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of Backend: time 2.21e-07/0.2235, allocations: 0 / 424.6 MB, free: 2.359 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000755/0.2242, allocations: 286.6 kB / 424.9 MB, free: 2.074 MB / 334.1 MB Notification: Performance of SimCode: time 0.0007047/0.225, allocations: 0.8342 MB / 425.7 MB, free: 1.188 MB / 334.1 MB Notification: Performance of Templates: time 0.006076/0.2311, allocations: 3.178 MB / 428.9 MB, free: 14 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches