Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001257/0.001257, allocations: 91.03 kB / 16.3 MB, free: 5.996 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.001176/0.001176, allocations: 187.2 kB / 17.2 MB, free: 5.91 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.315/1.315, allocations: 223.2 MB / 241.1 MB, free: 5.453 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002373/0.0002373, allocations: 6.094 kB / 300.7 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08478/0.08503, allocations: 50.43 MB / 351.1 MB, free: 11.77 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003519/0.08858, allocations: 3.481 MB / 354.6 MB, free: 8.27 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001688/0.09029, allocations: 1.138 MB / 355.8 MB, free: 7.125 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002096/0.09051, allocations: 11.94 kB / 355.8 MB, free: 7.113 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002052/0.09073, allocations: 83.34 kB / 355.9 MB, free: 7.031 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004981/0.09123, allocations: 283.2 kB / 356.1 MB, free: 6.754 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003017/0.09154, allocations: 147.7 kB / 356.3 MB, free: 6.609 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006698/0.09222, allocations: 0.6356 MB / 356.9 MB, free: 5.973 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.09251, allocations: 196.7 kB / 357.1 MB, free: 5.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003232/0.09284, allocations: 307 kB / 357.4 MB, free: 5.465 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003534/0.0932, allocations: 346.6 kB / 357.7 MB, free: 5.125 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.0933, allocations: 44 kB / 357.8 MB, free: 5.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.857e-05/0.0934, allocations: 44 kB / 357.8 MB, free: 5.039 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.09352, allocations: 123.5 kB / 357.9 MB, free: 4.918 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.09366, allocations: 169.3 kB / 358.1 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.09419, allocations: 0.6388 MB / 358.7 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.0942, allocations: 0 / 358.7 MB, free: 4.105 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.011e-06/0.0942, allocations: 0 / 358.7 MB, free: 4.105 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.456e-06/0.09422, allocations: 0 / 358.7 MB, free: 4.105 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.001694/0.09592, allocations: 0.9924 MB / 359.7 MB, free: 3.051 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.09596, allocations: 8.031 kB / 359.7 MB, free: 3.043 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001371/0.09611, allocations: 91.06 kB / 359.8 MB, free: 2.953 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000568/0.09668, allocations: 427.8 kB / 360.3 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001352/0.09683, allocations: 96.41 kB / 360.3 MB, free: 2.387 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.001e-05/0.09692, allocations: 48 kB / 360.4 MB, free: 2.34 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.09801, allocations: 0.6568 MB / 361.1 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.09804, allocations: 8 kB / 361.1 MB, free: 1.602 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.188e-05/0.0981, allocations: 16 kB / 361.1 MB, free: 1.586 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.09812, allocations: 12 kB / 361.1 MB, free: 1.574 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001055/0.09918, allocations: 479.6 kB / 361.6 MB, free: 1.105 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.003063/0.1023, allocations: 1.94 MB / 363.5 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002005/0.1043, allocations: 0.7371 MB / 364.2 MB, free: 14.27 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.538e-05/0.1043, allocations: 20.41 kB / 364.3 MB, free: 14.25 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.159e-05/0.1044, allocations: 39.56 kB / 364.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 2.154e-06/0.1044, allocations: 0 / 364.3 MB, free: 14.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.005029/0.1094, allocations: 1.598 MB / 365.9 MB, free: 12.54 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001945/0.1096, allocations: 0.5682 MB / 366.5 MB, free: 11.83 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005168/0.1101, allocations: 0.4952 MB / 367 MB, free: 11.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.1102, allocations: 45.7 kB / 367 MB, free: 11.28 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001982/0.1104, allocations: 284.7 kB / 367.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.1105, allocations: 181.2 kB / 367.5 MB, free: 10.81 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.947e-05/0.1106, allocations: 16 kB / 367.5 MB, free: 10.8 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1107, allocations: 370.8 kB / 367.8 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004984/0.1112, allocations: 217 kB / 368 MB, free: 10.21 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006484/0.1119, allocations: 420.5 kB / 368.5 MB, free: 9.727 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005424/0.1124, allocations: 264 kB / 368.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1125, allocations: 0 / 368.7 MB, free: 9.469 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002271/0.1147, allocations: 0.8615 MB / 369.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.1148, allocations: 33.64 kB / 369.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/0.1148, allocations: 0 / 369.6 MB, free: 8.543 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009953/0.1158, allocations: 230.4 kB / 369.8 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007182/0.1165, allocations: 131.8 kB / 370 MB, free: 8.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007339/0.1239, allocations: 5.317 MB / 375.3 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007453/0.1247, allocations: 79.8 kB / 375.4 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.1247, allocations: 24.17 kB / 375.4 MB, free: 2.367 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.0002997/0.125, allocations: 197.9 kB / 375.6 MB, free: 2.164 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/0.1251, allocations: 75.09 kB / 375.6 MB, free: 2.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002246/0.1274, allocations: 0.8164 MB / 376.5 MB, free: 1.254 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.315e-06/0.1274, allocations: 11.98 kB / 376.5 MB, free: 1.242 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.855e-06/0.1274, allocations: 8.125 kB / 376.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002127/0.1295, allocations: 1.086 MB / 377.6 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003081/0.1326, allocations: 1.522 MB / 379.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1326, allocations: 0 / 379.1 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000762/0.1334, allocations: 135.8 kB / 379.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008188/0.1342, allocations: 177.6 kB / 379.4 MB, free: 14.14 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.685e-05/0.1343, allocations: 11.98 kB / 379.4 MB, free: 14.12 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004847/0.1391, allocations: 3.591 MB / 383 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1392, allocations: 0 / 383 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002769/0.1419, allocations: 1.121 MB / 384.1 MB, free: 9.121 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002818/0.1422, allocations: 200.1 kB / 384.3 MB, free: 8.906 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.35e-05/0.1423, allocations: 19.95 kB / 384.3 MB, free: 8.887 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005166/0.1429, allocations: 48.28 kB / 384.4 MB, free: 8.84 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001076/0.143, allocations: 48.48 kB / 384.4 MB, free: 8.793 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.039e-05/0.143, allocations: 12 kB / 384.4 MB, free: 8.781 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0003755/0.1434, allocations: 354.8 kB / 384.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1434, allocations: 0 / 384.8 MB, free: 8.438 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0006916/0.1441, allocations: 215.8 kB / 385 MB, free: 8.227 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 (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.0001409/0.1442, allocations: 119.2 kB / 385.1 MB, free: 8.102 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002218/0.1465, allocations: 1.073 MB / 386.2 MB, free: 6.973 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.1465, allocations: 4 kB / 386.2 MB, free: 6.969 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009621/0.1475, allocations: 0.5435 MB / 386.7 MB, free: 6.402 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006912/0.1482, allocations: 162.2 kB / 386.9 MB, free: 6.242 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002018/0.1502, allocations: 1.542 MB / 388.4 MB, free: 4.672 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003864/0.1506, allocations: 0.8992 MB / 389.3 MB, free: 3.742 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002972/0.1509, allocations: 68.7 kB / 389.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001129/0.151, allocations: 47.42 kB / 389.4 MB, free: 3.629 MB / 318.1 MB Notification: Performance of SimCode: time 4.51e-07/0.151, allocations: 4 kB / 389.4 MB, free: 3.625 MB / 318.1 MB Notification: Performance of Templates: time 0.01824/0.1693, allocations: 11.92 MB / 401.4 MB, free: 7.91 MB / 334.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches