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.001226/0.001226, allocations: 98.08 kB / 16.95 MB, free: 6.836 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.001462/0.001462, allocations: 184.9 kB / 17.84 MB, free: 6.109 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.638/1.638, allocations: 205.4 MB / 224 MB, free: 13.16 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.0004845/0.0004847, allocations: 15.44 kB / 280.8 MB, free: 3.75 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1127, allocations: 47.58 MB / 328.3 MB, free: 4.098 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.SimpleLiquidWater): time 0.004948/0.1177, allocations: 3.97 MB / 332.3 MB, free: 96 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.00223/0.12, allocations: 1.683 MB / 334 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001217/0.1201, allocations: 4 kB / 334 MB, free: 14.4 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.1204, allocations: 27.81 kB / 334 MB, free: 14.38 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003844/0.1208, allocations: 119.3 kB / 334.1 MB, free: 14.26 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006494/0.1214, allocations: 215.4 kB / 334.3 MB, free: 14.05 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004399/0.1219, allocations: 314.8 kB / 334.7 MB, free: 13.74 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.028e-05/0.122, allocations: 20.89 kB / 334.7 MB, free: 13.72 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000315/0.1223, allocations: 123.5 kB / 334.8 MB, free: 13.6 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.1225, allocations: 79.67 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.229e-05/0.1225, allocations: 4 kB / 334.9 MB, free: 13.52 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002627/0.1228, allocations: 75.95 kB / 335 MB, free: 13.44 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.575e-05/0.1229, allocations: 35.88 kB / 335 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.626e-05/0.1229, allocations: 57.64 kB / 335 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002559/0.1232, allocations: 135.9 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1232, allocations: 8 kB / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1232, allocations: 0 / 335.2 MB, free: 13.2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1232, allocations: 0 / 335.2 MB, free: 13.2 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.0008893/0.1241, allocations: 455.2 kB / 335.6 MB, free: 12.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.1242, allocations: 12.03 kB / 335.6 MB, free: 12.7 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1244, allocations: 27.8 kB / 335.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002653/0.1247, allocations: 202.9 kB / 335.9 MB, free: 12.43 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.1247, allocations: 12.28 kB / 335.9 MB, free: 12.42 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.15e-05/0.1247, allocations: 12 kB / 335.9 MB, free: 12.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.1252, allocations: 212.6 kB / 336.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.1252, allocations: 0 / 336.1 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.1252, allocations: 8 kB / 336.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.395e-06/0.1253, allocations: 4 kB / 336.1 MB, free: 12.17 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003417/0.1256, allocations: 155.8 kB / 336.3 MB, free: 12.02 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001311/0.1269, allocations: 0.9478 MB / 337.2 MB, free: 10.99 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003776/0.1273, allocations: 146.8 kB / 337.4 MB, free: 10.84 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001369/0.1275, allocations: 56.48 kB / 337.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005686/0.128, allocations: 0.4993 MB / 337.9 MB, free: 10.22 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.1281, allocations: 46.45 kB / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of pre-optimization done (n=14): time 1.583e-06/0.1281, allocations: 0 / 337.9 MB, free: 10.17 MB / 286.1 MB Notification: Performance of matching and sorting (n=20): time 0.002345/0.1304, allocations: 0.7557 MB / 338.7 MB, free: 9.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.582e-05/0.1305, allocations: 55.41 kB / 338.8 MB, free: 9.293 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.1306, allocations: 154.9 kB / 338.9 MB, free: 9.133 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.1307, allocations: 33.64 kB / 338.9 MB, free: 9.094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.166e-05/0.1307, allocations: 135.9 kB / 339.1 MB, free: 8.957 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.1308, allocations: 78.92 kB / 339.2 MB, free: 8.879 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.648e-05/0.1308, allocations: 4 kB / 339.2 MB, free: 8.875 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 9.621e-05/0.1309, allocations: 326.8 kB / 339.5 MB, free: 8.547 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.1311, allocations: 75.94 kB / 339.6 MB, free: 8.473 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002716/0.1314, allocations: 201.3 kB / 339.7 MB, free: 8.227 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.1317, allocations: 112.8 kB / 339.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1317, allocations: 0 / 339.9 MB, free: 8.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006462/0.1324, allocations: 327 kB / 340.2 MB, free: 7.793 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.1324, allocations: 7.953 kB / 340.2 MB, free: 7.785 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.1324, allocations: 4 kB / 340.2 MB, free: 7.781 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.1324, allocations: 11.98 kB / 340.2 MB, free: 7.77 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003465/0.1328, allocations: 80.33 kB / 340.3 MB, free: 7.691 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.378e-05/0.1328, allocations: 11.88 kB / 340.3 MB, free: 7.68 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.133, allocations: 23.98 kB / 340.3 MB, free: 7.656 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.153e-05/0.1331, allocations: 12 kB / 340.3 MB, free: 7.645 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.1332, allocations: 137.7 kB / 340.5 MB, free: 7.5 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.1332, allocations: 15.81 kB / 340.5 MB, free: 7.484 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006034/0.1338, allocations: 242.8 kB / 340.7 MB, free: 7.246 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.1339, allocations: 4 kB / 340.7 MB, free: 7.242 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.1339, allocations: 3.984 kB / 340.7 MB, free: 7.238 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.1339, allocations: 3.953 kB / 340.7 MB, free: 7.234 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.1351, allocations: 0.5874 MB / 341.3 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.083e-06/0.1351, allocations: 4 kB / 341.3 MB, free: 6.574 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002722/0.1354, allocations: 56.02 kB / 341.4 MB, free: 6.52 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/0.1354, allocations: 4 kB / 341.4 MB, free: 6.516 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.95e-05/0.1354, allocations: 7.938 kB / 341.4 MB, free: 6.508 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1354, allocations: 4 kB / 341.4 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1354, allocations: 0 / 341.4 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007649/0.1362, allocations: 410.5 kB / 341.8 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.616e-05/0.1363, allocations: 88.92 kB / 341.9 MB, free: 5.969 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.1363, allocations: 12.06 kB / 341.9 MB, free: 5.957 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.1365, allocations: 7.984 kB / 341.9 MB, free: 5.949 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.299e-05/0.1366, allocations: 15.98 kB / 341.9 MB, free: 5.934 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.1366, allocations: 11.98 kB / 341.9 MB, free: 5.922 MB / 286.1 MB Notification: Performance of sorting global known variables: time 8.146e-05/0.1367, allocations: 107.2 kB / 342 MB, free: 5.816 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1367, allocations: 0 / 342 MB, free: 5.816 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003781/0.1371, allocations: 64 kB / 342.1 MB, free: 5.754 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002099/0.1373, allocations: 127.2 kB / 342.2 MB, free: 5.617 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0005497/0.1378, allocations: 220.1 kB / 342.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1379, allocations: 0 / 342.4 MB, free: 5.402 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002226/0.1381, allocations: 87.88 kB / 342.5 MB, free: 5.316 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004297/0.1385, allocations: 48.53 kB / 342.6 MB, free: 5.27 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.1395, allocations: 0.549 MB / 343.1 MB, free: 4.684 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.1398, allocations: 0.7245 MB / 343.8 MB, free: 3.934 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0002733/0.1401, allocations: 45.88 kB / 343.9 MB, free: 3.887 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.815e-05/0.1402, allocations: 27.42 kB / 343.9 MB, free: 3.859 MB / 286.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1402, allocations: 0 / 343.9 MB, free: 3.859 MB / 286.1 MB Notification: Performance of Templates: time 0.005888/0.1461, allocations: 2.474 MB / 346.4 MB, free: 1.387 MB / 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