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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 184.9 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001043/0.001043, allocations: 100.1 kB / 291.2 MB, free: 10.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008277/0.0008278, allocations: 35.94 kB / 350 MB, free: 76 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.2019, allocations: 49.44 MB / 399.5 MB, free: 33.36 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003702/0.2056, allocations: 4.391 MB / 403.9 MB, free: 28.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2069, allocations: 1.202 MB / 405.1 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001854/0.2071, allocations: 7.938 kB / 405.1 MB, free: 27.75 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002729/0.2074, allocations: 111.3 kB / 405.2 MB, free: 27.64 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003569/0.2077, allocations: 226.2 kB / 405.4 MB, free: 27.41 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.208, allocations: 175.8 kB / 405.6 MB, free: 27.24 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005383/0.2085, allocations: 0.8945 MB / 406.5 MB, free: 26.34 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002403/0.2088, allocations: 222.5 kB / 406.7 MB, free: 26.12 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/0.2091, allocations: 338.7 kB / 407 MB, free: 25.79 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.2093, allocations: 386.3 kB / 407.4 MB, free: 25.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.218e-05/0.2094, allocations: 56 kB / 407.4 MB, free: 25.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.2095, allocations: 52 kB / 407.5 MB, free: 25.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.2096, allocations: 159.4 kB / 407.6 MB, free: 25.14 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002408/0.2099, allocations: 394 kB / 408 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004615/0.2103, allocations: 0.8837 MB / 408.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.2104, allocations: 0 / 408.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.2104, allocations: 0 / 408.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.564e-06/0.2104, allocations: 0 / 408.9 MB, free: 23.87 MB / 298.7 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.001569/0.212, allocations: 1.113 MB / 410 MB, free: 22.7 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.786e-05/0.212, allocations: 8.031 kB / 410 MB, free: 22.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.2121, allocations: 92 kB / 410.1 MB, free: 22.6 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000502/0.2126, allocations: 484.6 kB / 410.6 MB, free: 22.08 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2127, allocations: 96.95 kB / 410.7 MB, free: 21.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.222e-05/0.2128, allocations: 48.38 kB / 410.7 MB, free: 21.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000881/0.2137, allocations: 0.6477 MB / 411.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.2137, allocations: 0 / 411.4 MB, free: 21.21 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.563e-05/0.2138, allocations: 24 kB / 411.4 MB, free: 21.18 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/0.2138, allocations: 12 kB / 411.4 MB, free: 21.17 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009018/0.2147, allocations: 455.6 kB / 411.9 MB, free: 20.73 MB / 298.7 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.002347/0.2171, allocations: 1.944 MB / 413.8 MB, free: 18.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.2187, allocations: 0.6996 MB / 414.5 MB, free: 17.93 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.2192, allocations: 262 kB / 414.8 MB, free: 17.67 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.425e-05/0.2192, allocations: 12.42 kB / 414.8 MB, free: 17.66 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2193, allocations: 51 kB / 414.8 MB, free: 17.6 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.733e-06/0.2193, allocations: 0 / 414.8 MB, free: 17.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004259/0.2235, allocations: 1.484 MB / 416.3 MB, free: 16.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.111e-05/0.2236, allocations: 0.5644 MB / 416.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004257/0.2241, allocations: 0.5343 MB / 417.4 MB, free: 14.8 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.493e-05/0.2241, allocations: 37.7 kB / 417.5 MB, free: 14.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001319/0.2243, allocations: 296.4 kB / 417.7 MB, free: 14.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.565e-05/0.2244, allocations: 181.3 kB / 417.9 MB, free: 14.28 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001485/0.2245, allocations: 110.2 kB / 418 MB, free: 14.17 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.466e-05/0.2246, allocations: 374.7 kB / 418.4 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004335/0.225, allocations: 197 kB / 418.6 MB, free: 13.6 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.2256, allocations: 412.3 kB / 419 MB, free: 13.12 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008624/0.2264, allocations: 492.5 kB / 419.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.2265, allocations: 0 / 419.5 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.00194/0.2284, allocations: 0.8106 MB / 420.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.2284, allocations: 33.73 kB / 420.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.2285, allocations: 4 kB / 420.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008728/0.2293, allocations: 222.3 kB / 420.5 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006395/0.23, allocations: 123.8 kB / 420.7 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005476/0.2355, allocations: 5.146 MB / 425.8 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.2361, allocations: 87.45 kB / 425.9 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.6e-05/0.2361, allocations: 19.98 kB / 425.9 MB, free: 5.742 MB / 298.7 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.0002055/0.2363, allocations: 197.7 kB / 426.1 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.113e-05/0.2364, allocations: 67.25 kB / 426.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001982/0.2384, allocations: 0.7774 MB / 426.9 MB, free: 4.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.2384, allocations: 7.984 kB / 426.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.2384, allocations: 0 / 426.9 MB, free: 4.672 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001819/0.2402, allocations: 1.039 MB / 428 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002554/0.2428, allocations: 1.502 MB / 429.5 MB, free: 1.949 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.2428, allocations: 3.984 kB / 429.5 MB, free: 1.945 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006923/0.2435, allocations: 131.8 kB / 429.6 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007511/0.2443, allocations: 173.5 kB / 429.8 MB, free: 1.641 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.37e-05/0.2443, allocations: 16.11 kB / 429.8 MB, free: 1.625 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004336/0.2487, allocations: 3.474 MB / 433.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.2487, allocations: 4.016 kB / 433.3 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0197/0.2684, allocations: 8.948 MB / 442.2 MB, free: 4.496 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002799/0.2687, allocations: 204.2 kB / 442.4 MB, free: 4.277 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.883e-05/0.2688, allocations: 12 kB / 442.4 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004994/0.2693, allocations: 39.94 kB / 442.5 MB, free: 4.227 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.2695, allocations: 52.42 kB / 442.5 MB, free: 4.172 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.2695, allocations: 12 kB / 442.5 MB, free: 4.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000423/0.2699, allocations: 386.8 kB / 442.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.275e-06/0.2699, allocations: 0 / 442.9 MB, free: 3.785 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009246/0.2709, allocations: 319.7 kB / 443.2 MB, free: 3.473 MB / 314.7 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.0001515/0.271, allocations: 119.1 kB / 443.4 MB, free: 3.348 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002197/0.2732, allocations: 1.022 MB / 444.4 MB, free: 2.273 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.2733, allocations: 0 / 444.4 MB, free: 2.273 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009497/0.2742, allocations: 0.5279 MB / 444.9 MB, free: 1.723 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007937/0.275, allocations: 171.8 kB / 445.1 MB, free: 1.555 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003215/0.2782, allocations: 2.144 MB / 447.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004097/0.2787, allocations: 0.9038 MB / 448.1 MB, free: 14.41 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003499/0.279, allocations: 85.11 kB / 448.2 MB, free: 14.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001577/0.2792, allocations: 59.42 kB / 448.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2792, allocations: 4 kB / 448.3 MB, free: 14.27 MB / 330.7 MB Notification: Performance of Templates: time 0.02284/0.302, allocations: 15.86 MB / 464.1 MB, free: 14.61 MB / 346.7 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@2/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