Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.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.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001121/0.001121, allocations: 104.6 kB / 17.16 MB, free: 6.316 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.00117/0.00117, allocations: 190 kB / 18.07 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.479/1.479, allocations: 205.1 MB / 223.9 MB, free: 12.47 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.001128/0.001128, allocations: 47.92 kB / 280 MB, free: 3.59 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1082, allocations: 46.62 MB / 326.6 MB, free: 4.902 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005238/0.1135, allocations: 4.395 MB / 331 MB, free: 488 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002441/0.116, allocations: 1.243 MB / 332.2 MB, free: 15.22 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002941/0.1163, allocations: 11.94 kB / 332.2 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004075/0.1167, allocations: 103.3 kB / 332.3 MB, free: 15.11 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005257/0.1173, allocations: 230.2 kB / 332.6 MB, free: 14.88 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.1177, allocations: 175.8 kB / 332.7 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008469/0.1185, allocations: 0.8905 MB / 333.6 MB, free: 13.82 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003502/0.1189, allocations: 228.8 kB / 333.9 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.1193, allocations: 334.7 kB / 334.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004082/0.1197, allocations: 390.3 kB / 334.6 MB, free: 12.88 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 9.68e-05/0.1198, allocations: 56 kB / 334.6 MB, free: 12.82 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.12, allocations: 52 kB / 334.7 MB, free: 12.77 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.1201, allocations: 151.4 kB / 334.8 MB, free: 12.62 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003554/0.1205, allocations: 390.1 kB / 335.2 MB, free: 12.24 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007561/0.1212, allocations: 0.8836 MB / 336.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.1213, allocations: 4 kB / 336.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1213, allocations: 0 / 336.1 MB, free: 11.35 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.518e-06/0.1213, allocations: 0 / 336.1 MB, free: 11.35 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.002095/0.1234, allocations: 1.109 MB / 337.2 MB, free: 10.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1234, allocations: 12.02 kB / 337.2 MB, free: 10.16 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001381/0.1236, allocations: 84.09 kB / 337.3 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006068/0.1242, allocations: 484.5 kB / 337.8 MB, free: 9.566 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.1244, allocations: 101 kB / 337.9 MB, free: 9.457 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.193e-05/0.1244, allocations: 48.38 kB / 337.9 MB, free: 9.41 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001152/0.1256, allocations: 0.6554 MB / 338.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1256, allocations: 0 / 338.6 MB, free: 8.68 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.565e-05/0.1257, allocations: 23.94 kB / 338.6 MB, free: 8.656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.1257, allocations: 12 kB / 338.6 MB, free: 8.645 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001057/0.1268, allocations: 447.7 kB / 339 MB, free: 8.211 MB / 286.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003021/0.1298, allocations: 1.952 MB / 341 MB, free: 6.129 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.1317, allocations: 0.6983 MB / 341.7 MB, free: 5.406 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/0.1323, allocations: 266.1 kB / 341.9 MB, free: 5.145 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.913e-05/0.1324, allocations: 8.438 kB / 341.9 MB, free: 5.137 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.73e-05/0.1324, allocations: 46.92 kB / 342 MB, free: 5.082 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 1.713e-06/0.1324, allocations: 0 / 342 MB, free: 5.082 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.005139/0.1376, allocations: 1.483 MB / 343.5 MB, free: 3.523 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/0.1378, allocations: 0.5643 MB / 344 MB, free: 2.824 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006139/0.1384, allocations: 0.5421 MB / 344.6 MB, free: 2.273 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.386e-05/0.1385, allocations: 37.7 kB / 344.6 MB, free: 2.23 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002027/0.1387, allocations: 288.5 kB / 344.9 MB, free: 1.945 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.1389, allocations: 181.3 kB / 345.1 MB, free: 1.766 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000177/0.139, allocations: 110.2 kB / 345.2 MB, free: 1.648 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001473/0.1392, allocations: 374.7 kB / 345.6 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004941/0.1397, allocations: 201 kB / 345.8 MB, free: 1.078 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006569/0.1404, allocations: 412.3 kB / 346.2 MB, free: 0.5938 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009949/0.1414, allocations: 488.5 kB / 346.6 MB, free: 104 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.1414, allocations: 0 / 346.6 MB, free: 104 kB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002344/0.1437, allocations: 0.8106 MB / 347.4 MB, free: 15.27 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.1438, allocations: 33.69 kB / 347.5 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.1438, allocations: 4 kB / 347.5 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00103/0.1448, allocations: 218.4 kB / 347.7 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.1456, allocations: 131.8 kB / 347.8 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007055/0.1526, allocations: 5.152 MB / 353 MB, free: 9.316 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008646/0.1535, allocations: 83.53 kB / 353.1 MB, free: 9.234 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.91e-05/0.1536, allocations: 16 kB / 353.1 MB, free: 9.219 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(5,2), (1,1), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0003657/0.154, allocations: 189.8 kB / 353.3 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.1541, allocations: 71.16 kB / 353.3 MB, free: 8.953 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.1564, allocations: 0.785 MB / 354.1 MB, free: 8.145 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1564, allocations: 4 kB / 354.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.1564, allocations: 0 / 354.1 MB, free: 8.141 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002145/0.1586, allocations: 1.031 MB / 355.1 MB, free: 7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003501/0.1621, allocations: 1.517 MB / 356.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.1621, allocations: 0 / 356.7 MB, free: 5.418 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007398/0.1629, allocations: 123.8 kB / 356.8 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008337/0.1637, allocations: 173.5 kB / 357 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.1638, allocations: 16 kB / 357 MB, free: 5.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004854/0.1686, allocations: 3.478 MB / 360.4 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.1687, allocations: 0 / 360.4 MB, free: 1.355 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002731/0.1714, allocations: 1.078 MB / 361.5 MB, free: 264 kB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003089/0.1717, allocations: 196.2 kB / 361.7 MB, free: 48 kB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.446e-05/0.1718, allocations: 20 kB / 361.7 MB, free: 28 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005145/0.1723, allocations: 32.02 kB / 361.8 MB, free: 15.99 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/0.1725, allocations: 48.44 kB / 361.8 MB, free: 15.95 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.232e-05/0.1725, allocations: 12 kB / 361.8 MB, free: 15.94 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004585/0.173, allocations: 390.8 kB / 362.2 MB, free: 15.56 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.173, allocations: 3.938 kB / 362.2 MB, free: 15.55 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008066/0.1738, allocations: 223.7 kB / 362.4 MB, free: 15.34 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (pipe.T,heatCapacitor.T,speed.phi) * 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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,2), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000166/0.174, allocations: 123.1 kB / 362.5 MB, free: 15.2 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002288/0.1763, allocations: 1.022 MB / 363.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.1763, allocations: 4 kB / 363.6 MB, free: 14.12 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009575/0.1773, allocations: 0.5279 MB / 364.1 MB, free: 13.57 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008675/0.1781, allocations: 177.3 kB / 364.3 MB, free: 13.4 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.1804, allocations: 1.493 MB / 365.8 MB, free: 11.89 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004116/0.1809, allocations: 0.8879 MB / 366.7 MB, free: 10.97 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003783/0.1812, allocations: 85.11 kB / 366.7 MB, free: 10.89 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001379/0.1814, allocations: 47.44 kB / 366.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of SimCode: time 9.72e-07/0.1814, allocations: 0 / 366.8 MB, free: 10.84 MB / 318.1 MB Notification: Performance of Templates: time 0.1762/0.3576, allocations: 13.04 MB / 379.8 MB, free: 52.67 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches