Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Media.Examples.SimpleLiquidWater") translateModel(Modelica.Media.Examples.SimpleLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T",fileNamePrefix="Modelica_3.2.3_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.0009969/0.0009969, allocations: 96.31 kB / 17.3 MB, free: 6.02 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.001127/0.001127, allocations: 175.6 kB / 18.21 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.549/1.549, allocations: 205.4 MB / 224.4 MB, free: 13.08 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 12 kB / 281.4 MB, free: 3.434 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1087, allocations: 47.58 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.006198/0.115, allocations: 4.124 MB / 333.1 MB, free: 15.61 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002442/0.1175, allocations: 1.795 MB / 334.9 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001369/0.1176, allocations: 0 / 334.9 MB, free: 13.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003/0.1179, allocations: 31.81 kB / 334.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004892/0.1184, allocations: 123.2 kB / 335 MB, free: 13.66 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008427/0.1193, allocations: 227.5 kB / 335.2 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005714/0.1199, allocations: 370.8 kB / 335.6 MB, free: 13.07 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.1199, allocations: 20.89 kB / 335.6 MB, free: 13.05 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003513/0.1203, allocations: 123.5 kB / 335.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.1205, allocations: 79.67 kB / 335.8 MB, free: 12.86 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.584e-05/0.1206, allocations: 4 kB / 335.8 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002953/0.1209, allocations: 103.9 kB / 335.9 MB, free: 12.75 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.338e-05/0.121, allocations: 35.89 kB / 336 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001745/0.1212, allocations: 101.3 kB / 336.1 MB, free: 12.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003993/0.1216, allocations: 207.6 kB / 336.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.1216, allocations: 0 / 336.3 MB, free: 12.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1216, allocations: 4 kB / 336.3 MB, free: 12.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.488e-06/0.1216, allocations: 0 / 336.3 MB, free: 12.4 MB / 286.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.000934/0.1226, allocations: 451.4 kB / 336.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.644e-05/0.1226, allocations: 8.031 kB / 336.7 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002018/0.1228, allocations: 24.75 kB / 336.7 MB, free: 11.88 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.1231, allocations: 208.2 kB / 336.9 MB, free: 11.64 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.1231, allocations: 8.656 kB / 337 MB, free: 11.63 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.077e-05/0.1232, allocations: 24.27 kB / 337 MB, free: 11.61 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004407/0.1236, allocations: 212.8 kB / 337.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.1236, allocations: 4 kB / 337.2 MB, free: 11.38 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.366e-05/0.1237, allocations: 12 kB / 337.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1237, allocations: 4 kB / 337.2 MB, free: 11.36 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003548/0.1241, allocations: 143.8 kB / 337.3 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001411/0.1255, allocations: 0.9324 MB / 338.3 MB, free: 10.21 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004089/0.1259, allocations: 170.6 kB / 338.4 MB, free: 10.04 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001474/0.1261, allocations: 48.83 kB / 338.5 MB, free: 9.984 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006212/0.1267, allocations: 0.5031 MB / 339 MB, free: 9.418 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.549e-05/0.1267, allocations: 34.56 kB / 339 MB, free: 9.375 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.904e-06/0.1267, allocations: 0 / 339 MB, free: 9.375 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.00258/0.1293, allocations: 0.7709 MB / 339.8 MB, free: 8.551 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1294, allocations: 55.41 kB / 339.9 MB, free: 8.484 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001547/0.1295, allocations: 150.3 kB / 340 MB, free: 8.328 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.713e-05/0.1296, allocations: 29.7 kB / 340 MB, free: 8.293 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.105e-05/0.1297, allocations: 143.8 kB / 340.2 MB, free: 8.148 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.59e-05/0.1298, allocations: 78.92 kB / 340.2 MB, free: 8.07 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.972e-05/0.1298, allocations: 29.72 kB / 340.3 MB, free: 8.035 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1299, allocations: 326.8 kB / 340.6 MB, free: 7.707 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.1302, allocations: 79.94 kB / 340.7 MB, free: 7.629 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003184/0.1305, allocations: 197.2 kB / 340.9 MB, free: 7.387 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000592/0.1311, allocations: 294.1 kB / 341.2 MB, free: 7.051 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.1311, allocations: 7.938 kB / 341.2 MB, free: 7.043 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.000693/0.1318, allocations: 317.1 kB / 341.5 MB, free: 6.727 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.1319, allocations: 6.656 kB / 341.5 MB, free: 6.723 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.1319, allocations: 7.984 kB / 341.5 MB, free: 6.715 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/0.1319, allocations: 8 kB / 341.5 MB, free: 6.707 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003663/0.1323, allocations: 84.2 kB / 341.6 MB, free: 6.625 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.1323, allocations: 8 kB / 341.6 MB, free: 6.617 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002274/0.1325, allocations: 23.98 kB / 341.6 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.333e-05/0.1326, allocations: 12 kB / 341.6 MB, free: 6.582 MB / 286.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.0001415/0.1327, allocations: 141.6 kB / 341.8 MB, free: 6.434 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.7e-05/0.1328, allocations: 15.81 kB / 341.8 MB, free: 6.418 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006747/0.1334, allocations: 238.6 kB / 342 MB, free: 6.184 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001296/0.1336, allocations: 7.984 kB / 342 MB, free: 6.176 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.1336, allocations: 3.938 kB / 342 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.1336, allocations: 0 / 342 MB, free: 6.172 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001269/0.1349, allocations: 0.5912 MB / 342.6 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1349, allocations: 0 / 342.6 MB, free: 5.512 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.1352, allocations: 56.02 kB / 342.7 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.109e-06/0.1352, allocations: 4 kB / 342.7 MB, free: 5.453 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.039e-05/0.1352, allocations: 8 kB / 342.7 MB, free: 5.445 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.917e-06/0.1352, allocations: 3.938 kB / 342.7 MB, free: 5.441 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.1353, allocations: 4 kB / 342.7 MB, free: 5.438 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008424/0.1361, allocations: 402.5 kB / 343.1 MB, free: 5.016 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.652e-05/0.1362, allocations: 92.95 kB / 343.2 MB, free: 4.906 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/0.1362, allocations: 12 kB / 343.2 MB, free: 4.895 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002306/0.1364, allocations: 11.98 kB / 343.2 MB, free: 4.883 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.953e-05/0.1365, allocations: 15.98 kB / 343.2 MB, free: 4.867 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.108e-05/0.1365, allocations: 11.92 kB / 343.2 MB, free: 4.855 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.755e-05/0.1366, allocations: 111.2 kB / 343.3 MB, free: 4.746 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1366, allocations: 0 / 343.3 MB, free: 4.746 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003655/0.137, allocations: 64 kB / 343.4 MB, free: 4.684 MB / 286.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.0002655/0.1373, allocations: 127.2 kB / 343.5 MB, free: 4.547 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005965/0.1379, allocations: 227.9 kB / 343.7 MB, free: 4.324 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.1379, allocations: 0 / 343.7 MB, free: 4.324 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002417/0.1381, allocations: 91.81 kB / 343.8 MB, free: 4.234 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.1385, allocations: 36.8 kB / 343.9 MB, free: 4.199 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001205/0.1397, allocations: 0.5685 MB / 344.4 MB, free: 3.594 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003225/0.1401, allocations: 0.7206 MB / 345.1 MB, free: 2.848 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002627/0.1404, allocations: 53.81 kB / 345.2 MB, free: 2.793 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.626e-05/0.1404, allocations: 23.42 kB / 345.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1405, allocations: 0 / 345.2 MB, free: 2.77 MB / 286.1 MB Notification: Performance of Templates: time 0.006291/0.1467, allocations: 2.57 MB / 347.8 MB, free: 208 kB / 286.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches