Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.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.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 113.3 kB / 17.28 MB, free: 6.301 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.001283/0.001283, allocations: 189.3 kB / 18.19 MB, free: 5.383 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.54/1.54, allocations: 205.1 MB / 224.1 MB, free: 12.43 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.001118/0.001118, allocations: 51.91 kB / 280.2 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1059, allocations: 46.63 MB / 326.8 MB, free: 4.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01381/0.1198, allocations: 12.8 MB / 339.6 MB, free: 7.914 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002168/0.122, allocations: 1.697 MB / 341.3 MB, free: 6.211 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001759/0.1222, allocations: 11.88 kB / 341.3 MB, free: 6.199 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004995/0.1228, allocations: 151.3 kB / 341.5 MB, free: 6.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005206/0.1233, allocations: 294.5 kB / 341.7 MB, free: 5.762 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009022/0.1242, allocations: 387.2 kB / 342.1 MB, free: 5.383 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007658/0.125, allocations: 0.8251 MB / 342.9 MB, free: 4.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001881/0.1252, allocations: 104.7 kB / 343 MB, free: 4.453 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005621/0.1257, allocations: 382.7 kB / 343.4 MB, free: 4.078 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002884/0.126, allocations: 274.9 kB / 343.7 MB, free: 3.809 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.58e-05/0.1261, allocations: 28 kB / 343.7 MB, free: 3.781 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002188/0.1263, allocations: 99.8 kB / 343.8 MB, free: 3.684 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.1264, allocations: 87.78 kB / 343.9 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001778/0.1266, allocations: 191.2 kB / 344.1 MB, free: 3.41 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004715/0.1271, allocations: 474.9 kB / 344.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1271, allocations: 0 / 344.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.1271, allocations: 0 / 344.5 MB, free: 2.945 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.375e-06/0.1271, allocations: 0 / 344.5 MB, free: 2.945 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008103/0.128, allocations: 0.5847 MB / 345.1 MB, free: 2.312 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.128, allocations: 8.031 kB / 345.1 MB, free: 2.305 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002797/0.1283, allocations: 44.64 kB / 345.2 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003223/0.1286, allocations: 283.8 kB / 345.5 MB, free: 1.945 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1287, allocations: 20.94 kB / 345.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.965e-05/0.1287, allocations: 20.38 kB / 345.5 MB, free: 1.906 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004762/0.1292, allocations: 321.5 kB / 345.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.1292, allocations: 4 kB / 345.8 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.749e-05/0.1293, allocations: 12 kB / 345.8 MB, free: 1.539 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1293, allocations: 8 kB / 345.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003029/0.1296, allocations: 193.5 kB / 346 MB, free: 1.344 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00189/0.1315, allocations: 1.736 MB / 347.8 MB, free: 15.46 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002199/0.1317, allocations: 138.5 kB / 347.9 MB, free: 15.32 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.1318, allocations: 68.78 kB / 348 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001389/0.132, allocations: 166.2 kB / 348.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.132, allocations: 42.56 kB / 348.2 MB, free: 15 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.132, allocations: 0 / 348.2 MB, free: 15 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.001716/0.1338, allocations: 0.7882 MB / 349 MB, free: 14.13 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.134e-05/0.1338, allocations: 51.41 kB / 349 MB, free: 14.07 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000283/0.1341, allocations: 282.5 kB / 349.3 MB, free: 13.79 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1341, allocations: 33.7 kB / 349.3 MB, free: 13.75 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.1343, allocations: 199.5 kB / 349.5 MB, free: 13.55 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.1343, allocations: 71 kB / 349.6 MB, free: 13.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.323e-05/0.1344, allocations: 69.39 kB / 349.7 MB, free: 13.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1345, allocations: 342.8 kB / 350 MB, free: 13.06 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.1347, allocations: 63.97 kB / 350 MB, free: 13 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001911/0.1349, allocations: 195.1 kB / 350.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003379/0.1352, allocations: 279.4 kB / 350.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.1352, allocations: 0 / 350.5 MB, free: 12.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0004894/0.1357, allocations: 341.5 kB / 350.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.1357, allocations: 8 kB / 350.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.478e-06/0.1358, allocations: 4 kB / 350.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001023/0.1359, allocations: 29.28 kB / 350.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003023/0.1362, allocations: 83.91 kB / 351 MB, free: 11.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001117/0.1373, allocations: 1.398 MB / 352.4 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001903/0.1375, allocations: 15.98 kB / 352.4 MB, free: 10.4 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.026e-05/0.1375, allocations: 20 kB / 352.4 MB, free: 10.38 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.1377, allocations: 161.7 kB / 352.6 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.096e-05/0.1378, allocations: 27.62 kB / 352.6 MB, free: 10.18 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003533/0.1381, allocations: 201.9 kB / 352.8 MB, free: 9.98 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/0.1382, allocations: 4 kB / 352.8 MB, free: 9.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1382, allocations: 7.938 kB / 352.8 MB, free: 9.969 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003785/0.1385, allocations: 487.7 kB / 353.3 MB, free: 9.406 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1396, allocations: 0.7761 MB / 354 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1396, allocations: 0 / 354 MB, free: 8.527 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001779/0.1398, allocations: 48.14 kB / 354.1 MB, free: 8.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.1398, allocations: 8 kB / 354.1 MB, free: 8.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.1398, allocations: 11.94 kB / 354.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.099e-06/0.1398, allocations: 4 kB / 354.1 MB, free: 8.457 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/0.1398, allocations: 7.984 kB / 354.1 MB, free: 8.449 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000439/0.1403, allocations: 395.3 kB / 354.5 MB, free: 8.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.949e-05/0.1404, allocations: 100.8 kB / 354.6 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.264e-05/0.1404, allocations: 19.86 kB / 354.6 MB, free: 7.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.1407, allocations: 15.97 kB / 354.6 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.182e-05/0.1407, allocations: 19.92 kB / 354.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.1407, allocations: 19.98 kB / 354.7 MB, free: 7.828 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001907/0.1409, allocations: 201.9 kB / 354.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1409, allocations: 0 / 354.9 MB, free: 7.633 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004493/0.1414, allocations: 103.9 kB / 355 MB, free: 7.531 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 1 (volume.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 (21): * Single equations (assignments): 21 * 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.0003037/0.1417, allocations: 135.2 kB / 355.1 MB, free: 7.391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0005526/0.1423, allocations: 315.1 kB / 355.4 MB, free: 7.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1423, allocations: 4.125 kB / 355.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.1424, allocations: 71.84 kB / 355.5 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009281/0.1433, allocations: 170.2 kB / 355.7 MB, free: 6.832 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001067/0.1444, allocations: 0.7034 MB / 356.4 MB, free: 6.066 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003398/0.1448, allocations: 0.76 MB / 357.1 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002729/0.145, allocations: 66.62 kB / 357.2 MB, free: 5.215 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.1451, allocations: 31.38 kB / 357.2 MB, free: 5.184 MB / 302.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1451, allocations: 3.938 kB / 357.2 MB, free: 5.18 MB / 302.1 MB Notification: Performance of Templates: time 0.01115/0.1563, allocations: 5.554 MB / 362.8 MB, free: 15.62 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches