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.001102/0.001101, allocations: 105.3 kB / 17.58 MB, free: 5.559 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.00121/0.00121, allocations: 192 kB / 18.51 MB, free: 4.641 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.334/1.334, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001163/0.001163, allocations: 59.92 kB / 280.6 MB, free: 3.176 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09457/0.09574, allocations: 46.63 MB / 327.3 MB, free: 4.473 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005418/0.1012, allocations: 4.357 MB / 331.6 MB, free: 84 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002466/0.1037, allocations: 1.255 MB / 332.9 MB, free: 14.82 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005121/0.1042, allocations: 7.938 kB / 332.9 MB, free: 14.81 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004988/0.1048, allocations: 134.8 kB / 333 MB, free: 14.68 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007949/0.1056, allocations: 269.6 kB / 333.3 MB, free: 14.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004738/0.1061, allocations: 199.6 kB / 333.5 MB, free: 14.21 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008943/0.107, allocations: 0.9218 MB / 334.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003254/0.1073, allocations: 244.5 kB / 334.7 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003762/0.1077, allocations: 362.6 kB / 335 MB, free: 12.69 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004034/0.1081, allocations: 402.4 kB / 335.4 MB, free: 12.29 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.1082, allocations: 83.94 kB / 335.5 MB, free: 12.21 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.1084, allocations: 76 kB / 335.6 MB, free: 12.14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000133/0.1085, allocations: 167.4 kB / 335.7 MB, free: 11.97 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003292/0.1088, allocations: 418.1 kB / 336.1 MB, free: 11.56 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007185/0.1096, allocations: 0.9032 MB / 337 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1096, allocations: 0 / 337 MB, free: 10.66 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1096, allocations: 4 kB / 337 MB, free: 10.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.1096, allocations: 0 / 337 MB, free: 10.65 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.00192/0.1115, allocations: 1.109 MB / 338.1 MB, free: 9.477 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.814e-05/0.1116, allocations: 8.031 kB / 338.2 MB, free: 9.469 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.1118, allocations: 84.09 kB / 338.2 MB, free: 9.387 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006324/0.1124, allocations: 492.5 kB / 338.7 MB, free: 8.867 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001486/0.1126, allocations: 96.95 kB / 338.8 MB, free: 8.762 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.6e-05/0.1126, allocations: 44.38 kB / 338.9 MB, free: 8.719 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001153/0.1138, allocations: 0.6554 MB / 339.5 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.1138, allocations: 0 / 339.5 MB, free: 7.988 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.83e-05/0.1139, allocations: 24 kB / 339.5 MB, free: 7.965 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.215e-05/0.1139, allocations: 8 kB / 339.5 MB, free: 7.957 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001013/0.1149, allocations: 455.7 kB / 340 MB, free: 7.512 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.003091/0.118, allocations: 1.955 MB / 341.9 MB, free: 5.43 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001854/0.1199, allocations: 0.6944 MB / 342.6 MB, free: 4.711 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005216/0.1204, allocations: 258 kB / 342.9 MB, free: 4.457 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.483e-05/0.1205, allocations: 12.44 kB / 342.9 MB, free: 4.445 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.237e-05/0.1205, allocations: 43 kB / 342.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.635e-06/0.1205, allocations: 0 / 342.9 MB, free: 4.395 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.004831/0.1254, allocations: 1.483 MB / 344.4 MB, free: 2.836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003299/0.1257, allocations: 0.5683 MB / 345 MB, free: 2.133 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000823/0.1266, allocations: 0.5381 MB / 345.5 MB, free: 1.586 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.1267, allocations: 37.7 kB / 345.6 MB, free: 1.543 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000238/0.1269, allocations: 292.5 kB / 345.9 MB, free: 1.254 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000207/0.1272, allocations: 181.3 kB / 346 MB, free: 1.074 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002031/0.1274, allocations: 114.2 kB / 346.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002183/0.1276, allocations: 374.7 kB / 346.5 MB, free: 0.5781 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005031/0.1281, allocations: 193 kB / 346.7 MB, free: 400 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007211/0.1288, allocations: 420.3 kB / 347.1 MB, free: 15.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001054/0.1299, allocations: 492.5 kB / 347.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.408e-06/0.1299, allocations: 0 / 347.6 MB, free: 15.41 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002408/0.1323, allocations: 0.8106 MB / 348.4 MB, free: 14.57 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.761e-05/0.1324, allocations: 33.7 kB / 348.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.1324, allocations: 4 kB / 348.4 MB, free: 14.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001039/0.1335, allocations: 222.4 kB / 348.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007202/0.1342, allocations: 131.8 kB / 348.8 MB, free: 14.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007755/0.142, allocations: 5.614 MB / 354.4 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008703/0.1429, allocations: 75.55 kB / 354.5 MB, free: 8.062 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.176e-05/0.143, allocations: 20.12 kB / 354.5 MB, free: 8.043 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.0003242/0.1433, allocations: 189.8 kB / 354.7 MB, free: 7.848 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.1435, allocations: 71.31 kB / 354.7 MB, free: 7.777 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002297/0.1458, allocations: 0.7812 MB / 355.5 MB, free: 6.973 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.776e-06/0.1458, allocations: 8 kB / 355.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.1458, allocations: 0 / 355.5 MB, free: 6.965 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002113/0.1479, allocations: 1.039 MB / 356.6 MB, free: 5.812 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003446/0.1514, allocations: 1.51 MB / 358.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.1514, allocations: 0 / 358.1 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007232/0.1522, allocations: 127.8 kB / 358.2 MB, free: 4.117 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007957/0.153, allocations: 173.5 kB / 358.4 MB, free: 3.941 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.153, allocations: 12 kB / 358.4 MB, free: 3.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005483/0.1585, allocations: 3.794 MB / 362.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.1586, allocations: 4.125 kB / 362.2 MB, free: 15.85 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003113/0.1617, allocations: 1.07 MB / 363.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003557/0.1621, allocations: 208.1 kB / 363.5 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.698e-05/0.1621, allocations: 12 kB / 363.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004838/0.1626, allocations: 35.97 kB / 363.5 MB, free: 14.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.1628, allocations: 56.41 kB / 363.6 MB, free: 14.43 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.1628, allocations: 16 kB / 363.6 MB, free: 14.42 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005181/0.1633, allocations: 382.8 kB / 363.9 MB, free: 14.05 MB / 318.1 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1634, allocations: 4 kB / 364 MB, free: 14.04 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007951/0.1642, allocations: 216 kB / 364.2 MB, free: 13.83 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.0001885/0.1644, allocations: 115.2 kB / 364.3 MB, free: 13.71 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002922/0.1673, allocations: 1.065 MB / 365.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.771e-06/0.1673, allocations: 0 / 365.3 MB, free: 12.59 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.1683, allocations: 0.5277 MB / 365.9 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008948/0.1692, allocations: 186.6 kB / 366.1 MB, free: 11.86 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.1714, allocations: 1.283 MB / 367.3 MB, free: 10.54 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004577/0.1719, allocations: 0.8879 MB / 368.2 MB, free: 9.629 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003322/0.1722, allocations: 81.12 kB / 368.3 MB, free: 9.551 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.1723, allocations: 59.42 kB / 368.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1723, allocations: 0 / 368.4 MB, free: 9.492 MB / 318.1 MB Notification: Performance of Templates: time 0.1728/0.3451, allocations: 14.04 MB / 382.4 MB, free: 50.51 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches