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.001302/0.001301, allocations: 116 kB / 17.68 MB, free: 5.379 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.001312/0.001312, allocations: 191 kB / 18.62 MB, free: 4.457 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.314/1.314, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 48.55 kB / 302 MB, free: 5.195 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08956/0.09059, allocations: 49.45 MB / 351.5 MB, free: 3.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.005366/0.09601, allocations: 4.364 MB / 355.9 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001852/0.09788, allocations: 1.211 MB / 357.1 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002239/0.09812, allocations: 8 kB / 357.1 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00034/0.09847, allocations: 138.8 kB / 357.2 MB, free: 13.97 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004592/0.09895, allocations: 257.8 kB / 357.5 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003903/0.09935, allocations: 199.7 kB / 357.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008761/0.1002, allocations: 0.9361 MB / 358.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.1006, allocations: 244.5 kB / 358.8 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.101, allocations: 358.7 kB / 359.2 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004673/0.1015, allocations: 406.3 kB / 359.6 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1016, allocations: 80 kB / 359.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001694/0.1018, allocations: 80 kB / 359.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001418/0.102, allocations: 167.4 kB / 359.9 MB, free: 11.27 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003545/0.1023, allocations: 414.1 kB / 360.3 MB, free: 10.86 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007393/0.1031, allocations: 0.9149 MB / 361.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1031, allocations: 0 / 361.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.1031, allocations: 0 / 361.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.809e-06/0.1031, allocations: 0 / 361.2 MB, free: 9.945 MB / 302.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.001908/0.105, allocations: 1.125 MB / 362.3 MB, free: 8.754 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.1051, allocations: 8.031 kB / 362.3 MB, free: 8.746 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000144/0.1052, allocations: 84 kB / 362.4 MB, free: 8.664 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006949/0.1059, allocations: 484.6 kB / 362.9 MB, free: 8.152 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.1061, allocations: 96.95 kB / 363 MB, free: 8.047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.046e-05/0.1062, allocations: 48.38 kB / 363 MB, free: 8 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001064/0.1072, allocations: 0.6515 MB / 363.7 MB, free: 7.273 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.935e-05/0.1073, allocations: 4 kB / 363.7 MB, free: 7.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.996e-05/0.1073, allocations: 16 kB / 363.7 MB, free: 7.254 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.1074, allocations: 16 kB / 363.7 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009881/0.1083, allocations: 451.6 kB / 364.2 MB, free: 6.797 MB / 302.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.002834/0.1112, allocations: 1.955 MB / 366.1 MB, free: 4.719 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001836/0.113, allocations: 0.688 MB / 366.8 MB, free: 4.004 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005481/0.1136, allocations: 258 kB / 367.1 MB, free: 3.746 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.067e-05/0.1137, allocations: 20.42 kB / 367.1 MB, free: 3.727 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.1137, allocations: 42.98 kB / 367.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of pre-optimization done (n=54): time 1.754e-06/0.1137, allocations: 0 / 367.1 MB, free: 3.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=54): time 0.004803/0.1185, allocations: 1.487 MB / 368.6 MB, free: 2.117 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002088/0.1187, allocations: 0.5643 MB / 369.2 MB, free: 1.418 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005762/0.1193, allocations: 0.5381 MB / 369.7 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.1194, allocations: 37.7 kB / 369.8 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000193/0.1196, allocations: 284.9 kB / 370 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001289/0.1197, allocations: 181.3 kB / 370.2 MB, free: 368 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001824/0.1199, allocations: 122.1 kB / 370.3 MB, free: 240 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.1694/0.2894, allocations: 370.8 kB / 370.7 MB, free: 25.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000686/0.2901, allocations: 192.5 kB / 370.9 MB, free: 25.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006995/0.2908, allocations: 412.8 kB / 371.3 MB, free: 25.29 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000989/0.2918, allocations: 488.6 kB / 371.8 MB, free: 25.21 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.2918, allocations: 0.75 kB / 371.8 MB, free: 25.21 MB / 302.1 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002378/0.2942, allocations: 0.8077 MB / 372.6 MB, free: 25.11 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.01e-05/0.2942, allocations: 36.64 kB / 372.6 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.2942, allocations: 0.875 kB / 372.6 MB, free: 25.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009995/0.2952, allocations: 226.6 kB / 372.8 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007082/0.296, allocations: 129.4 kB / 373 MB, free: 25.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006452/0.3024, allocations: 5.6 MB / 378.6 MB, free: 20.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006379/0.3031, allocations: 76.91 kB / 378.6 MB, free: 20.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-05/0.3031, allocations: 19.66 kB / 378.6 MB, free: 20.3 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.0002365/0.3034, allocations: 192.9 kB / 378.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001044/0.3035, allocations: 76.72 kB / 378.9 MB, free: 20.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.3058, allocations: 0.7765 MB / 379.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.3058, allocations: 5.594 kB / 379.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.3058, allocations: 0 / 379.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001928/0.3077, allocations: 1.034 MB / 380.7 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002969/0.3107, allocations: 1.493 MB / 382.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.3107, allocations: 0 / 382.2 MB, free: 18.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007415/0.3115, allocations: 139.2 kB / 382.4 MB, free: 18.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008057/0.3123, allocations: 178.5 kB / 382.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.551e-05/0.3124, allocations: 9.672 kB / 382.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004264/0.3166, allocations: 3.806 MB / 386.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3166, allocations: 1.875 kB / 386.3 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002644/0.3193, allocations: 1.063 MB / 387.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002519/0.3196, allocations: 209.8 kB / 387.6 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.613e-05/0.3197, allocations: 13.03 kB / 387.6 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004871/0.3201, allocations: 34.62 kB / 387.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.3203, allocations: 48.45 kB / 387.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.445e-05/0.3203, allocations: 15.97 kB / 387.7 MB, free: 14.27 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004312/0.3208, allocations: 385.5 kB / 388.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3208, allocations: 1.156 kB / 388.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007291/0.3215, allocations: 221.2 kB / 388.3 MB, free: 14.06 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 (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.0001212/0.3216, allocations: 121.4 kB / 388.4 MB, free: 13.96 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002047/0.3237, allocations: 1.03 MB / 389.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3237, allocations: 2.656 kB / 389.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008866/0.3246, allocations: 0.546 MB / 390 MB, free: 13.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007949/0.3254, allocations: 188.9 kB / 390.2 MB, free: 12.95 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.3273, allocations: 1.264 MB / 391.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000298/0.3276, allocations: 0.8877 MB / 392.4 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000297/0.3279, allocations: 82.16 kB / 392.4 MB, free: 11.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001265/0.328, allocations: 49.36 kB / 392.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of SimCode: time 3.31e-07/0.328, allocations: 1.375 kB / 392.5 MB, free: 11.52 MB / 302.1 MB Notification: Performance of Templates: time 0.01745/0.3455, allocations: 14.08 MB / 406.6 MB, free: 1.359 MB / 302.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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpAndValve/PumpAndValve.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches