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.001112/0.001112, allocations: 97.61 kB / 16.94 MB, free: 6.441 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.001142/0.001142, allocations: 184.9 kB / 17.83 MB, free: 6.008 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.541/1.541, allocations: 205.4 MB / 224 MB, free: 13.17 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.000463/0.0004631, allocations: 8 kB / 280.7 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08535/0.08582, allocations: 47.59 MB / 328.3 MB, free: 4.105 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003987/0.08986, allocations: 3.48 MB / 331.8 MB, free: 0.6055 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.0921, allocations: 1.178 MB / 333 MB, free: 15.42 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004804/0.09261, allocations: 7.938 kB / 333 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003211/0.09295, allocations: 83.42 kB / 333.1 MB, free: 15.33 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000748/0.09371, allocations: 287.2 kB / 333.4 MB, free: 15.05 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004718/0.09419, allocations: 147.8 kB / 333.5 MB, free: 14.9 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001072/0.09528, allocations: 0.6316 MB / 334.1 MB, free: 14.27 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003518/0.09564, allocations: 204.5 kB / 334.3 MB, free: 14.06 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.09613, allocations: 311 kB / 334.6 MB, free: 13.75 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005276/0.09667, allocations: 338.6 kB / 335 MB, free: 13.42 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001386/0.09682, allocations: 47.94 kB / 335 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001467/0.09698, allocations: 44 kB / 335.1 MB, free: 13.33 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001193/0.0971, allocations: 127.5 kB / 335.2 MB, free: 13.21 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000189/0.0973, allocations: 165.3 kB / 335.3 MB, free: 13.04 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005773/0.09788, allocations: 0.6271 MB / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/0.0979, allocations: 0 / 336 MB, free: 12.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.09791, allocations: 7.938 kB / 336 MB, free: 12.4 MB / 286.1 MB Notification: Performance of Transformations before backend: time 3.832e-05/0.09796, allocations: 0 / 336 MB, free: 12.4 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.002036/0.1, allocations: 0.9924 MB / 337 MB, free: 11.35 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.1001, allocations: 12.03 kB / 337 MB, free: 11.34 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002128/0.1003, allocations: 83.06 kB / 337.1 MB, free: 11.25 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007169/0.101, allocations: 427.8 kB / 337.5 MB, free: 10.79 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001564/0.1012, allocations: 100.4 kB / 337.6 MB, free: 10.68 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.574e-05/0.1013, allocations: 43.94 kB / 337.6 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001185/0.1025, allocations: 0.6639 MB / 338.3 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.1025, allocations: 0 / 338.3 MB, free: 9.902 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.959e-05/0.1026, allocations: 24 kB / 338.3 MB, free: 9.879 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.1026, allocations: 8 kB / 338.3 MB, free: 9.871 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.1037, allocations: 475.7 kB / 338.8 MB, free: 9.41 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.003308/0.107, allocations: 1.948 MB / 340.7 MB, free: 7.332 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/0.1091, allocations: 0.7452 MB / 341.5 MB, free: 6.562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.1092, allocations: 12.42 kB / 341.5 MB, free: 6.551 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.1092, allocations: 43 kB / 341.5 MB, free: 6.5 MB / 286.1 MB Notification: Performance of pre-optimization done (n=54): time 2.254e-06/0.1092, allocations: 4 kB / 341.5 MB, free: 6.496 MB / 286.1 MB Notification: Performance of matching and sorting (n=54): time 0.005061/0.1143, allocations: 1.591 MB / 343.1 MB, free: 4.836 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003184/0.1146, allocations: 0.5683 MB / 343.7 MB, free: 4.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006332/0.1153, allocations: 0.5029 MB / 344.2 MB, free: 3.617 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.46e-05/0.1153, allocations: 37.7 kB / 344.2 MB, free: 3.574 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002025/0.1156, allocations: 288.7 kB / 344.5 MB, free: 3.289 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001526/0.1157, allocations: 185.3 kB / 344.7 MB, free: 3.105 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.771e-05/0.1157, allocations: 8 kB / 344.7 MB, free: 3.098 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001511/0.1159, allocations: 374.8 kB / 345.1 MB, free: 2.723 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005135/0.1164, allocations: 205 kB / 345.3 MB, free: 2.523 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006851/0.1171, allocations: 428.5 kB / 345.7 MB, free: 2.023 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005652/0.1177, allocations: 272 kB / 345.9 MB, free: 1.754 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1177, allocations: 3.953 kB / 346 MB, free: 1.75 MB / 286.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002246/0.12, allocations: 0.8537 MB / 346.8 MB, free: 0.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.12, allocations: 29.7 kB / 346.8 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.12, allocations: 7.938 kB / 346.8 MB, free: 0.832 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009879/0.121, allocations: 226.4 kB / 347.1 MB, free: 0.6016 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007044/0.1217, allocations: 131.8 kB / 347.2 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007284/0.129, allocations: 5.317 MB / 352.5 MB, free: 10.76 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007058/0.1298, allocations: 87.73 kB / 352.6 MB, free: 10.67 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.505e-05/0.1298, allocations: 23.98 kB / 352.6 MB, free: 10.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {5 2,1 1,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.000325/0.1302, allocations: 189.9 kB / 352.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001557/0.1303, allocations: 67.25 kB / 352.9 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002284/0.1326, allocations: 0.8282 MB / 353.7 MB, free: 9.539 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.491e-06/0.1327, allocations: 8 kB / 353.7 MB, free: 9.531 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.1327, allocations: 7.891 kB / 353.7 MB, free: 9.523 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002139/0.1348, allocations: 1.086 MB / 354.8 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003178/0.138, allocations: 1.498 MB / 356.3 MB, free: 6.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.633e-06/0.138, allocations: 8.125 kB / 356.3 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007337/0.1388, allocations: 139.8 kB / 356.4 MB, free: 6.613 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008094/0.1396, allocations: 189.4 kB / 356.6 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.969e-05/0.1396, allocations: 15.98 kB / 356.6 MB, free: 6.406 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004977/0.1446, allocations: 3.583 MB / 360.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1446, allocations: 0 / 360.2 MB, free: 2.559 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002756/0.1474, allocations: 1.128 MB / 361.4 MB, free: 1.402 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003132/0.1477, allocations: 200.1 kB / 361.6 MB, free: 1.188 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001167/0.1479, allocations: 19.92 kB / 361.6 MB, free: 1.168 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005368/0.1484, allocations: 47.97 kB / 361.6 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001403/0.1486, allocations: 40.5 kB / 361.7 MB, free: 1.082 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.511e-05/0.1486, allocations: 19.98 kB / 361.7 MB, free: 1.062 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004056/0.149, allocations: 346.8 kB / 362 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.149, allocations: 0 / 362 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007561/0.1498, allocations: 219.8 kB / 362.2 MB, free: 0.5117 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 2,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001563/0.1499, allocations: 123.1 kB / 362.3 MB, free: 388 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002401/0.1523, allocations: 1.069 MB / 363.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.1524, allocations: 4 kB / 363.4 MB, free: 15.26 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009758/0.1534, allocations: 0.5474 MB / 364 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006959/0.1541, allocations: 158.3 kB / 364.1 MB, free: 14.53 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.1562, allocations: 1.537 MB / 365.7 MB, free: 12.98 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.1567, allocations: 0.9031 MB / 366.6 MB, free: 12.04 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003052/0.157, allocations: 68.7 kB / 366.6 MB, free: 11.98 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001164/0.1571, allocations: 59.36 kB / 366.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1571, allocations: 0 / 366.7 MB, free: 11.92 MB / 318.1 MB Notification: Performance of Templates: time 0.02101/0.1782, allocations: 11.9 MB / 378.6 MB, free: 4 kB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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