Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 109.2 kB / 17.74 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 188.3 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 242.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009305/0.0009306, allocations: 47.92 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.199, allocations: 49.44 MB / 401.4 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.005307/0.2043, allocations: 4.478 MB / 405.9 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001838/0.2062, allocations: 1.814 MB / 407.7 MB, free: 2.711 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.2062, allocations: 3.938 kB / 407.7 MB, free: 2.707 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002186/0.2065, allocations: 47.69 kB / 407.7 MB, free: 2.66 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000308/0.2068, allocations: 127.2 kB / 407.9 MB, free: 2.535 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005986/0.2074, allocations: 249.1 kB / 408.1 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002999/0.2077, allocations: 286.9 kB / 408.4 MB, free: 2.016 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.821e-05/0.2078, allocations: 13.06 kB / 408.4 MB, free: 2.004 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002227/0.208, allocations: 123.7 kB / 408.5 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.2081, allocations: 87.59 kB / 408.6 MB, free: 1.797 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.2082, allocations: 8 kB / 408.6 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002293/0.2084, allocations: 95.94 kB / 408.7 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.814e-05/0.2085, allocations: 39.83 kB / 408.7 MB, free: 1.656 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.49e-05/0.2086, allocations: 83.64 kB / 408.8 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002937/0.2089, allocations: 200.8 kB / 409 MB, free: 1.379 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2089, allocations: 0 / 409 MB, free: 1.379 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2089, allocations: 0 / 409 MB, free: 1.379 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.2089, allocations: 0 / 409 MB, free: 1.379 MB / 318.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.000893/0.2098, allocations: 491.3 kB / 409.5 MB, free: 0.8477 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.2098, allocations: 12.03 kB / 409.5 MB, free: 0.8359 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002074/0.2101, allocations: 28.73 kB / 409.5 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002267/0.2103, allocations: 200.2 kB / 409.7 MB, free: 0.5742 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.2103, allocations: 12.66 kB / 409.7 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.137e-05/0.2104, allocations: 12.38 kB / 409.8 MB, free: 0.5508 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004024/0.2108, allocations: 221.6 kB / 410 MB, free: 320 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.2108, allocations: 3.906 kB / 410 MB, free: 316 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.2108, allocations: 8 kB / 410 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.2108, allocations: 0 / 410 MB, free: 308 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003604/0.2112, allocations: 159.8 kB / 410.1 MB, free: 148 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001225/0.2124, allocations: 0.9479 MB / 411.1 MB, free: 15.12 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003946/0.2128, allocations: 154.6 kB / 411.2 MB, free: 14.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001463/0.213, allocations: 52.83 kB / 411.3 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004873/0.2135, allocations: 0.5071 MB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.2135, allocations: 34.56 kB / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of pre-optimization done (n=14): time 1.313e-06/0.2135, allocations: 0 / 411.8 MB, free: 14.29 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.002615/0.2162, allocations: 0.7735 MB / 412.6 MB, free: 13.46 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.2162, allocations: 51.41 kB / 412.7 MB, free: 13.4 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.2163, allocations: 162 kB / 412.8 MB, free: 13.24 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.2164, allocations: 29.7 kB / 412.8 MB, free: 13.2 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.188e-05/0.2164, allocations: 139.8 kB / 413 MB, free: 13.06 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.488e-05/0.2165, allocations: 74.91 kB / 413.1 MB, free: 12.98 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.911e-05/0.2166, allocations: 61.61 kB / 413.1 MB, free: 12.92 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.31e-05/0.2167, allocations: 334.8 kB / 413.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002641/0.217, allocations: 79.94 kB / 413.5 MB, free: 12.5 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003119/0.2173, allocations: 194.4 kB / 413.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005762/0.2179, allocations: 293.4 kB / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2179, allocations: 0 / 414 MB, free: 11.93 MB / 334.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000726/0.2186, allocations: 320 kB / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2186, allocations: 8.469 kB / 414.3 MB, free: 11.61 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.2186, allocations: 11.98 kB / 414.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2187, allocations: 4 kB / 414.3 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003983/0.2191, allocations: 83.83 kB / 414.4 MB, free: 11.51 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.2191, allocations: 8 kB / 414.4 MB, free: 11.5 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.2193, allocations: 15.98 kB / 414.4 MB, free: 11.48 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.802e-05/0.2194, allocations: 12 kB / 414.4 MB, free: 11.47 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.0001159/0.2195, allocations: 141.7 kB / 414.6 MB, free: 11.32 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/0.2196, allocations: 15.81 kB / 414.6 MB, free: 11.31 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006642/0.2202, allocations: 234.6 kB / 414.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.323e-06/0.2202, allocations: 7.984 kB / 414.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.2202, allocations: 4 kB / 414.8 MB, free: 11.06 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.2203, allocations: 81.02 kB / 414.9 MB, free: 10.96 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.2203, allocations: 12 kB / 414.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.2206, allocations: 7.984 kB / 414.9 MB, free: 10.95 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.547e-05/0.2206, allocations: 19.92 kB / 415 MB, free: 10.93 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008395/0.2215, allocations: 304.8 kB / 415.3 MB, free: 10.62 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008963/0.2224, allocations: 481.6 kB / 415.7 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002476/0.2227, allocations: 87.92 kB / 415.8 MB, free: 10.05 MB / 334.1 MB Notification: Performance of sorting global known variables: time 7.032e-05/0.2227, allocations: 119.1 kB / 415.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of Backend: time 2.61e-07/0.2227, allocations: 0 / 415.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007797/0.2235, allocations: 293.7 kB / 416.2 MB, free: 9.645 MB / 334.1 MB Notification: Performance of SimCode: time 0.0006982/0.2242, allocations: 0.8141 MB / 417 MB, free: 8.781 MB / 334.1 MB Notification: Performance of Templates: time 0.005957/0.2302, allocations: 3.196 MB / 420.2 MB, free: 5.59 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches