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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001597/0.001597, allocations: 123.4 kB / 18.46 MB, free: 4.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 192.3 kB / 21.4 MB, free: 1.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 249.8 MB, free: 3.602 MB / 190.1 MB " [Timeout remaining time 178] 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=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T",fileNamePrefix="Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002082/0.002082, allocations: 51.92 kB / 366.8 MB, free: 332 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1274, allocations: 52.14 MB / 418.9 MB, free: 12.09 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.007688/0.1351, allocations: 4.5 MB / 423.4 MB, free: 7.559 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002838/0.138, allocations: 1.814 MB / 425.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001645/0.1381, allocations: 4 kB / 425.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.1385, allocations: 39.73 kB / 425.3 MB, free: 5.695 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006534/0.1391, allocations: 119.2 kB / 425.4 MB, free: 5.578 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009475/0.1401, allocations: 257.8 kB / 425.7 MB, free: 5.332 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000567/0.1406, allocations: 286.9 kB / 425.9 MB, free: 5.051 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.268e-05/0.1407, allocations: 9.125 kB / 426 MB, free: 5.043 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004038/0.1411, allocations: 147.5 kB / 426.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002118/0.1413, allocations: 79.73 kB / 426.2 MB, free: 4.82 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.218e-05/0.1414, allocations: 11.94 kB / 426.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000384/0.1417, allocations: 91.88 kB / 426.3 MB, free: 4.719 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001111/0.1419, allocations: 43.88 kB / 426.3 MB, free: 4.676 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000146/0.142, allocations: 71.7 kB / 426.4 MB, free: 4.605 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005086/0.1425, allocations: 219.2 kB / 426.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.1425, allocations: 0 / 426.6 MB, free: 4.391 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1425, allocations: 3.938 kB / 426.6 MB, free: 4.387 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.431e-05/0.1425, allocations: 0 / 426.6 MB, free: 4.387 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.001233/0.1438, allocations: 491 kB / 427.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.1438, allocations: 8.031 kB / 427.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002287/0.144, allocations: 28.83 kB / 427.1 MB, free: 3.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004122/0.1445, allocations: 204.2 kB / 427.3 MB, free: 3.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.1445, allocations: 16.66 kB / 427.3 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.622e-05/0.1445, allocations: 16.33 kB / 427.4 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005064/0.145, allocations: 216.8 kB / 427.6 MB, free: 3.316 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.1451, allocations: 3.938 kB / 427.6 MB, free: 3.312 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.298e-05/0.1451, allocations: 12 kB / 427.6 MB, free: 3.301 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.1451, allocations: 4 kB / 427.6 MB, free: 3.297 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003926/0.1455, allocations: 151.8 kB / 427.7 MB, free: 3.148 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.1471, allocations: 0.9403 MB / 428.7 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004713/0.1476, allocations: 146.8 kB / 428.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001754/0.1478, allocations: 52.77 kB / 428.9 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006736/0.1485, allocations: 0.5032 MB / 429.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.275e-05/0.1485, allocations: 30.56 kB / 429.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.1485, allocations: 0 / 429.4 MB, free: 1.32 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002871/0.1514, allocations: 0.7732 MB / 430.2 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.1514, allocations: 55.41 kB / 430.2 MB, free: 440 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1516, allocations: 146.4 kB / 430.4 MB, free: 284 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.1516, allocations: 25.7 kB / 430.4 MB, free: 252 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.1517, allocations: 148.1 kB / 430.5 MB, free: 96 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.149e-05/0.1518, allocations: 91.3 kB / 430.6 MB, free: 4 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.152, allocations: 53.78 kB / 430.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1521, allocations: 322.8 kB / 431 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000285/0.1524, allocations: 83.94 kB / 431.1 MB, free: 15.54 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003817/0.1528, allocations: 197.8 kB / 431.3 MB, free: 15.29 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006702/0.1535, allocations: 307.2 kB / 431.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1535, allocations: 0 / 431.6 MB, free: 14.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008056/0.1543, allocations: 314.8 kB / 431.9 MB, free: 14.63 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1543, allocations: 8 kB / 431.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.1543, allocations: 4 kB / 431.9 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.175e-05/0.1543, allocations: 11.88 kB / 431.9 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004019/0.1547, allocations: 83.88 kB / 432 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.839e-05/0.1547, allocations: 7.938 kB / 432 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002529/0.155, allocations: 24.27 kB / 432 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.155, allocations: 19.98 kB / 432 MB, free: 14.48 MB / 366.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.0001858/0.1552, allocations: 138.3 kB / 432.2 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.994e-05/0.1553, allocations: 19.89 kB / 432.2 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007432/0.156, allocations: 242.6 kB / 432.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.156, allocations: 0 / 432.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.156, allocations: 0 / 432.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.156, allocations: 3.984 kB / 432.4 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.1575, allocations: 0.5939 MB / 433 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.1576, allocations: 0 / 433 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.1579, allocations: 51.95 kB / 433.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.1579, allocations: 0 / 433.1 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.426e-05/0.1579, allocations: 8 kB / 433.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.813e-06/0.1579, allocations: 16 kB / 433.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.1579, allocations: 0 / 433.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009503/0.1588, allocations: 413.3 kB / 433.5 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.828e-05/0.1589, allocations: 89.05 kB / 433.6 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.605e-05/0.159, allocations: 7.938 kB / 433.6 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1592, allocations: 11.98 kB / 433.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.09e-05/0.1592, allocations: 23.98 kB / 433.6 MB, free: 12.76 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.1593, allocations: 11.98 kB / 433.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.198e-05/0.1594, allocations: 108.8 kB / 433.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1594, allocations: 0 / 433.8 MB, free: 12.64 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000419/0.1598, allocations: 63.94 kB / 433.8 MB, free: 12.58 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * 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 (20): * Single equations (assignments): 20 * 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.0002713/0.1601, allocations: 131.1 kB / 433.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006555/0.1607, allocations: 219.2 kB / 434.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.1607, allocations: 12 kB / 434.2 MB, free: 12.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002558/0.161, allocations: 79.89 kB / 434.2 MB, free: 12.14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004014/0.1614, allocations: 34.31 kB / 434.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.1625, allocations: 0.4934 MB / 434.8 MB, free: 11.57 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00038/0.1629, allocations: 0.7168 MB / 435.5 MB, free: 10.82 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.163, allocations: 27.42 kB / 435.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.163, allocations: 0 / 435.5 MB, free: 10.8 MB / 366.1 MB Notification: Performance of Templates: time 0.005342/0.1684, allocations: 2.661 MB / 438.2 MB, free: 8.133 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 7.565335246035829]