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.001097/0.001097, allocations: 108.4 kB / 18.34 MB, free: 4.676 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.00115/0.00115, allocations: 186.9 kB / 19.28 MB, free: 3.75 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.311/1.311, allocations: 205.1 MB / 225.2 MB, free: 12.23 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.00125/0.00125, allocations: 51.94 kB / 282.1 MB, free: 2.438 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08837/0.08963, allocations: 46.63 MB / 328.7 MB, free: 3.734 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.Water.ConstantPropertyLiquidWater): time 0.01925/0.1089, allocations: 12.85 MB / 341.6 MB, free: 6.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003143/0.1121, allocations: 1.705 MB / 343.3 MB, free: 5.105 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002049/0.1123, allocations: 4 kB / 343.3 MB, free: 5.102 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006768/0.1131, allocations: 170.9 kB / 343.5 MB, free: 4.934 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000757/0.1139, allocations: 322.2 kB / 343.8 MB, free: 4.617 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1149, allocations: 411.1 kB / 344.2 MB, free: 4.215 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007359/0.1157, allocations: 0.8251 MB / 345 MB, free: 3.387 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.1159, allocations: 92.7 kB / 345.1 MB, free: 3.297 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005798/0.1164, allocations: 394.6 kB / 345.5 MB, free: 2.91 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002999/0.1168, allocations: 259 kB / 345.7 MB, free: 2.656 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.406e-05/0.1168, allocations: 28 kB / 345.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002516/0.1171, allocations: 103.8 kB / 345.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001506/0.1172, allocations: 95.77 kB / 346 MB, free: 2.434 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002515/0.1175, allocations: 187.2 kB / 346.1 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006293/0.1181, allocations: 470.6 kB / 346.6 MB, free: 1.789 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.177e-05/0.1182, allocations: 3.984 kB / 346.6 MB, free: 1.785 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.1182, allocations: 3.938 kB / 346.6 MB, free: 1.781 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1182, allocations: 4 kB / 346.6 MB, free: 1.777 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.0009437/0.1191, allocations: 0.5731 MB / 347.2 MB, free: 1.156 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.743e-05/0.1192, allocations: 12.03 kB / 347.2 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004354/0.1196, allocations: 40.66 kB / 347.2 MB, free: 1.105 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005389/0.1202, allocations: 287.8 kB / 347.5 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.786e-05/0.1202, allocations: 24.88 kB / 347.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.1203, allocations: 24.38 kB / 347.6 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000656/0.121, allocations: 321.5 kB / 347.9 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.019e-05/0.121, allocations: 8 kB / 347.9 MB, free: 392 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.801e-05/0.121, allocations: 12 kB / 347.9 MB, free: 380 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1211, allocations: 4 kB / 347.9 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004386/0.1215, allocations: 197.5 kB / 348.1 MB, free: 180 kB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002476/0.124, allocations: 1.736 MB / 349.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003352/0.1244, allocations: 130.5 kB / 350 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001358/0.1245, allocations: 68.88 kB / 350 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002042/0.1247, allocations: 170.2 kB / 350.2 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.1248, allocations: 42.5 kB / 350.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.1248, allocations: 0 / 350.2 MB, free: 13.83 MB / 302.1 MB Notification: Performance of matching and sorting (n=21): time 0.002415/0.1272, allocations: 0.7846 MB / 351 MB, free: 12.98 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.006e-05/0.1273, allocations: 55.39 kB / 351.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004162/0.1277, allocations: 278.5 kB / 351.3 MB, free: 12.63 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.1278, allocations: 33.7 kB / 351.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001603/0.1279, allocations: 203.4 kB / 351.6 MB, free: 12.39 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.173e-05/0.128, allocations: 67.02 kB / 351.6 MB, free: 12.32 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.1282, allocations: 69.59 kB / 351.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001542/0.1283, allocations: 346.8 kB / 352 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001895/0.1285, allocations: 67.91 kB / 352.1 MB, free: 11.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002895/0.1289, allocations: 191.1 kB / 352.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005272/0.1294, allocations: 291.3 kB / 352.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.1294, allocations: 0 / 352.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0007651/0.1302, allocations: 334 kB / 352.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.1302, allocations: 8 kB / 352.9 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.728e-06/0.1302, allocations: 4 kB / 352.9 MB, free: 10.9 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.993e-05/0.1303, allocations: 24.8 kB / 352.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004837/0.1308, allocations: 87.83 kB / 353 MB, free: 10.79 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/0.1323, allocations: 1.394 MB / 354.4 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/0.1326, allocations: 8 kB / 354.4 MB, free: 9.246 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.243e-05/0.1327, allocations: 16 kB / 354.4 MB, free: 9.23 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.000219/0.1329, allocations: 165.8 kB / 354.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.691e-05/0.133, allocations: 23.72 kB / 354.6 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005014/0.1335, allocations: 204.5 kB / 354.8 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.1335, allocations: 4 kB / 354.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.1336, allocations: 0 / 354.8 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005242/0.1341, allocations: 483.7 kB / 355.3 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001532/0.1356, allocations: 0.7799 MB / 356.1 MB, free: 7.383 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.1357, allocations: 4.281 kB / 356.1 MB, free: 7.379 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002772/0.136, allocations: 47.92 kB / 356.1 MB, free: 7.332 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.832e-06/0.136, allocations: 4 kB / 356.1 MB, free: 7.328 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.452e-05/0.136, allocations: 11.94 kB / 356.2 MB, free: 7.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.987e-06/0.136, allocations: 7.984 kB / 356.2 MB, free: 7.309 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.136, allocations: 3.938 kB / 356.2 MB, free: 7.305 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005728/0.1366, allocations: 395.2 kB / 356.6 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.777e-05/0.1367, allocations: 108.8 kB / 356.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.109e-05/0.1368, allocations: 11.98 kB / 356.7 MB, free: 6.738 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002312/0.137, allocations: 8.062 kB / 356.7 MB, free: 6.73 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.875e-05/0.137, allocations: 15.98 kB / 356.7 MB, free: 6.715 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.1371, allocations: 19.98 kB / 356.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002894/0.1374, allocations: 197.9 kB / 356.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1374, allocations: 0 / 356.9 MB, free: 6.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007377/0.1382, allocations: 96 kB / 357 MB, free: 6.41 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.0002941/0.1385, allocations: 155.1 kB / 357.2 MB, free: 6.25 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0006306/0.1391, allocations: 299.3 kB / 357.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.1391, allocations: 0 / 357.4 MB, free: 5.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001659/0.1393, allocations: 87.91 kB / 357.5 MB, free: 5.859 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.1407, allocations: 165.4 kB / 357.7 MB, free: 5.695 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001309/0.142, allocations: 0.6174 MB / 358.3 MB, free: 5.016 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003977/0.1424, allocations: 0.7639 MB / 359.1 MB, free: 4.227 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002978/0.1427, allocations: 56.56 kB / 359.1 MB, free: 4.172 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.224e-05/0.1428, allocations: 35.42 kB / 359.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1428, allocations: 0 / 359.2 MB, free: 4.137 MB / 302.1 MB Notification: Performance of Templates: time 0.01442/0.1573, allocations: 5.555 MB / 364.7 MB, free: 14.57 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/Water/ConstantPropertyLiquidWater/ConstantPropertyLiquidWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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