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.001307/0.001308, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001141/0.001141, allocations: 190.9 kB / 19.28 MB, free: 3.766 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.286/1.286, allocations: 205.1 MB / 225.2 MB, free: 12.25 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.00118/0.00118, allocations: 52.39 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1051, allocations: 46.62 MB / 328.7 MB, free: 3.762 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.01024/0.1154, allocations: 4.479 MB / 333.2 MB, free: 15.24 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003761/0.1192, allocations: 1.814 MB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1194, allocations: 0 / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003484/0.1198, allocations: 47.67 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005742/0.1204, allocations: 115.2 kB / 335.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.1215, allocations: 251.2 kB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005802/0.1221, allocations: 287 kB / 335.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.341e-05/0.1222, allocations: 13.11 kB / 335.7 MB, free: 12.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004286/0.1227, allocations: 139.5 kB / 335.8 MB, free: 12.59 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/0.1229, allocations: 71.75 kB / 335.9 MB, free: 12.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.805e-05/0.123, allocations: 12 kB / 335.9 MB, free: 12.5 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004131/0.1234, allocations: 99.8 kB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.813e-05/0.1235, allocations: 35.89 kB / 336 MB, free: 12.37 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001836/0.1237, allocations: 75.66 kB / 336.1 MB, free: 12.3 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005407/0.1243, allocations: 219.4 kB / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.1243, allocations: 0 / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1243, allocations: 0 / 336.3 MB, free: 12.08 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.413e-05/0.1243, allocations: 4 kB / 336.3 MB, free: 12.08 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.001505/0.1259, allocations: 491.3 kB / 336.8 MB, free: 11.55 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.978e-05/0.1259, allocations: 8.031 kB / 336.8 MB, free: 11.54 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003839/0.1263, allocations: 20.75 kB / 336.8 MB, free: 11.52 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.1268, allocations: 212.1 kB / 337.1 MB, free: 11.28 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.1268, allocations: 16.62 kB / 337.1 MB, free: 11.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.464e-05/0.1269, allocations: 16.38 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007073/0.1276, allocations: 216.8 kB / 337.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.053e-05/0.1277, allocations: 4 kB / 337.3 MB, free: 11.01 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.541e-05/0.1277, allocations: 8 kB / 337.3 MB, free: 11 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/0.1277, allocations: 7.938 kB / 337.3 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006759/0.1284, allocations: 147.8 kB / 337.5 MB, free: 10.85 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002176/0.1306, allocations: 0.9479 MB / 338.4 MB, free: 9.824 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006849/0.1313, allocations: 150.7 kB / 338.6 MB, free: 9.668 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/0.1316, allocations: 56.83 kB / 338.6 MB, free: 9.609 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008553/0.1325, allocations: 0.4992 MB / 339.1 MB, free: 9.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.073e-05/0.1325, allocations: 38.55 kB / 339.1 MB, free: 9 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 2.475e-06/0.1325, allocations: 4 kB / 339.2 MB, free: 8.996 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.004674/0.1372, allocations: 0.756 MB / 339.9 MB, free: 8.188 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.1373, allocations: 59.34 kB / 340 MB, free: 8.117 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002295/0.1376, allocations: 146.4 kB / 340.1 MB, free: 7.965 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.1376, allocations: 33.7 kB / 340.1 MB, free: 7.926 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.1378, allocations: 147.8 kB / 340.3 MB, free: 7.777 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.1379, allocations: 74.92 kB / 340.4 MB, free: 7.703 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001641/0.1381, allocations: 53.7 kB / 340.4 MB, free: 7.645 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.1383, allocations: 326.8 kB / 340.7 MB, free: 7.316 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000478/0.1388, allocations: 83.94 kB / 340.8 MB, free: 7.234 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006023/0.1394, allocations: 189.4 kB / 341 MB, free: 7 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.1405, allocations: 298.1 kB / 341.3 MB, free: 6.66 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/0.1406, allocations: 4 kB / 341.3 MB, free: 6.656 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001397/0.142, allocations: 321.1 kB / 341.6 MB, free: 6.336 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.443e-05/0.142, allocations: 4 kB / 341.6 MB, free: 6.332 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.142, allocations: 4 kB / 341.6 MB, free: 6.328 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.709e-05/0.1421, allocations: 8 kB / 341.6 MB, free: 6.32 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007457/0.1428, allocations: 83.88 kB / 341.7 MB, free: 6.238 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.753e-05/0.1429, allocations: 8.219 kB / 341.7 MB, free: 6.23 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004377/0.1433, allocations: 19.98 kB / 341.7 MB, free: 6.211 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.304e-05/0.1434, allocations: 16 kB / 341.7 MB, free: 6.195 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.0002246/0.1437, allocations: 141.7 kB / 341.9 MB, free: 6.047 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1438, allocations: 11.81 kB / 341.9 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00124/0.145, allocations: 254.6 kB / 342.1 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.1451, allocations: 0 / 342.1 MB, free: 5.785 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.1451, allocations: 4 kB / 342.2 MB, free: 5.781 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.1451, allocations: 3.984 kB / 342.2 MB, free: 5.777 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002392/0.1475, allocations: 0.5848 MB / 342.7 MB, free: 5.125 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/0.1475, allocations: 4 kB / 342.7 MB, free: 5.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000579/0.1481, allocations: 55.89 kB / 342.8 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.227e-05/0.1482, allocations: 4.125 kB / 342.8 MB, free: 5.062 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.604e-05/0.1482, allocations: 8 kB / 342.8 MB, free: 5.055 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-05/0.1482, allocations: 7.938 kB / 342.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1483, allocations: 0 / 342.8 MB, free: 5.047 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00162/0.1499, allocations: 403 kB / 343.2 MB, free: 4.625 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.499e-05/0.15, allocations: 89.05 kB / 343.3 MB, free: 4.52 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.298e-05/0.1501, allocations: 11.94 kB / 343.3 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004473/0.1505, allocations: 15.98 kB / 343.3 MB, free: 4.492 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.084e-05/0.1506, allocations: 16.03 kB / 343.3 MB, free: 4.477 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.868e-05/0.1507, allocations: 15.98 kB / 343.4 MB, free: 4.461 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0001319/0.1508, allocations: 107.3 kB / 343.5 MB, free: 4.355 MB / 286.1 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1508, allocations: 0 / 343.5 MB, free: 4.355 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0007129/0.1516, allocations: 63.92 kB / 343.5 MB, free: 4.293 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.0003714/0.152, allocations: 135.2 kB / 343.7 MB, free: 4.148 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001133/0.1531, allocations: 216.2 kB / 343.9 MB, free: 3.938 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.228e-06/0.1531, allocations: 4 kB / 343.9 MB, free: 3.934 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004949/0.1536, allocations: 91.81 kB / 344 MB, free: 3.844 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006511/0.1543, allocations: 37.36 kB / 344 MB, free: 3.809 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001803/0.1561, allocations: 479.5 kB / 344.5 MB, free: 3.301 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004992/0.1567, allocations: 0.717 MB / 345.2 MB, free: 2.559 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0004022/0.1571, allocations: 45.88 kB / 345.2 MB, free: 2.512 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001639/0.1573, allocations: 31.42 kB / 345.3 MB, free: 2.48 MB / 286.1 MB Notification: Performance of SimCode: time 7.61e-07/0.1573, allocations: 3.938 kB / 345.3 MB, free: 2.477 MB / 286.1 MB Notification: Performance of Templates: time 0.01117/0.1685, allocations: 2.685 MB / 347.9 MB, free: 15.79 MB / 302.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/SimpleLiquidWater/SimpleLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.SimpleLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches