Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 178.2 kB / 17.36 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.495/1.495, allocations: 205.6 MB / 223.7 MB, free: 8.934 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007649/0.0007649, allocations: 86.42 kB / 272.1 MB, free: 8.105 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002868/0.0002869, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2104/0.2107, allocations: 47.57 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.003278/0.214, allocations: 3.809 MB / 380.4 MB, free: 42.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001602/0.2157, allocations: 1.299 MB / 381.7 MB, free: 41.44 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002195/0.2159, allocations: 11.75 kB / 381.7 MB, free: 41.44 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000273/0.2162, allocations: 112.4 kB / 381.8 MB, free: 41.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003968/0.2166, allocations: 226.8 kB / 382 MB, free: 41.16 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003058/0.2169, allocations: 171.4 kB / 382.2 MB, free: 41.01 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007489/0.2176, allocations: 0.8892 MB / 383.1 MB, free: 40.48 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002958/0.218, allocations: 226 kB / 383.3 MB, free: 40.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003337/0.2183, allocations: 323.5 kB / 383.6 MB, free: 40.18 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003292/0.2186, allocations: 373.9 kB / 384 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.967e-05/0.2187, allocations: 49.44 kB / 384.1 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.2189, allocations: 49.09 kB / 384.1 MB, free: 39.93 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.317e-05/0.219, allocations: 140.1 kB / 384.2 MB, free: 39.81 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003087/0.2193, allocations: 411.5 kB / 384.6 MB, free: 39.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005752/0.2199, allocations: 0.8671 MB / 385.5 MB, free: 38.89 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2199, allocations: 3.938 kB / 385.5 MB, free: 38.89 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.2199, allocations: 1.156 kB / 385.5 MB, free: 38.89 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.498e-06/0.2199, allocations: 4 kB / 385.5 MB, free: 38.88 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.001516/0.2214, allocations: 0.9886 MB / 386.5 MB, free: 38.08 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.313e-05/0.2215, allocations: 13.59 kB / 386.5 MB, free: 38.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001303/0.2216, allocations: 89.92 kB / 386.6 MB, free: 38.03 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.2221, allocations: 481.1 kB / 387.1 MB, free: 37.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001267/0.2222, allocations: 100.1 kB / 387.2 MB, free: 37.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.158e-05/0.2223, allocations: 42.41 kB / 387.2 MB, free: 37.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009466/0.2233, allocations: 0.6594 MB / 387.9 MB, free: 36.95 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.2233, allocations: 4 kB / 387.9 MB, free: 36.95 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.645e-05/0.2234, allocations: 24 kB / 387.9 MB, free: 36.92 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.2234, allocations: 12 kB / 387.9 MB, free: 36.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008917/0.2243, allocations: 475.6 kB / 388.4 MB, free: 36.45 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.002343/0.2266, allocations: 1.979 MB / 390.4 MB, free: 34.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001624/0.2283, allocations: 0.722 MB / 391.1 MB, free: 33.59 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004702/0.2287, allocations: 274 kB / 391.3 MB, free: 33.32 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.231e-05/0.2288, allocations: 12.38 kB / 391.4 MB, free: 33.31 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.2288, allocations: 43 kB / 391.4 MB, free: 33.26 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.863e-06/0.2288, allocations: 0 / 391.4 MB, free: 33.26 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004253/0.2331, allocations: 1.597 MB / 393 MB, free: 31.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001214/0.2332, allocations: 0.5799 MB / 393.6 MB, free: 30.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004561/0.2337, allocations: 0.5304 MB / 394.1 MB, free: 30.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.593e-05/0.2337, allocations: 37.7 kB / 394.1 MB, free: 30.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001363/0.2339, allocations: 284.5 kB / 394.4 MB, free: 30.01 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.187e-05/0.234, allocations: 185.3 kB / 394.6 MB, free: 29.83 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.471e-05/0.234, allocations: 8 kB / 394.6 MB, free: 29.82 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.706e-05/0.2341, allocations: 370.8 kB / 395 MB, free: 29.45 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004361/0.2345, allocations: 213 kB / 395.2 MB, free: 29.24 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005343/0.2351, allocations: 424.3 kB / 395.6 MB, free: 28.75 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008596/0.2359, allocations: 0.5122 MB / 396.1 MB, free: 28.21 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.2359, allocations: 0 / 396.1 MB, free: 28.21 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001939/0.2379, allocations: 0.8537 MB / 397 MB, free: 27.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.607e-05/0.2379, allocations: 36.52 kB / 397 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.2379, allocations: 0 / 397 MB, free: 27.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008794/0.2388, allocations: 226.4 kB / 397.2 MB, free: 27.07 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.2395, allocations: 131.8 kB / 397.3 MB, free: 26.94 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005726/0.2452, allocations: 5.25 MB / 402.6 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009221/0.2462, allocations: 87.48 kB / 402.7 MB, free: 21.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.926e-05/0.2462, allocations: 20 kB / 402.7 MB, free: 21.18 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.0002594/0.2465, allocations: 193.8 kB / 402.9 MB, free: 20.98 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.097e-05/0.2466, allocations: 71.16 kB / 403 MB, free: 20.91 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.2485, allocations: 0.8241 MB / 403.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.2486, allocations: 4 kB / 403.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.774e-06/0.2486, allocations: 0 / 403.8 MB, free: 20.07 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001782/0.2504, allocations: 1.086 MB / 404.9 MB, free: 18.87 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002682/0.2531, allocations: 1.556 MB / 406.4 MB, free: 17.25 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2531, allocations: 0 / 406.4 MB, free: 17.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006968/0.2538, allocations: 139.8 kB / 406.6 MB, free: 17.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007226/0.2545, allocations: 177.5 kB / 406.7 MB, free: 16.93 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2546, allocations: 12 kB / 406.8 MB, free: 16.92 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003749/0.2583, allocations: 3.54 MB / 410.3 MB, free: 13.11 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2583, allocations: 4.031 kB / 410.3 MB, free: 13.1 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002345/0.2607, allocations: 1.128 MB / 411.4 MB, free: 11.95 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002492/0.2609, allocations: 208.1 kB / 411.6 MB, free: 11.73 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.391e-05/0.261, allocations: 12 kB / 411.6 MB, free: 11.72 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004971/0.2615, allocations: 47.95 kB / 411.7 MB, free: 11.67 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.2616, allocations: 40.5 kB / 411.7 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.2617, allocations: 16 kB / 411.7 MB, free: 11.62 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003544/0.262, allocations: 386.8 kB / 412.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2621, allocations: 0 / 412.1 MB, free: 11.24 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000616/0.2627, allocations: 219.8 kB / 412.3 MB, free: 11.03 MB / 298.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.0001133/0.2628, allocations: 119.1 kB / 412.5 MB, free: 10.9 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001864/0.2647, allocations: 1.066 MB / 413.5 MB, free: 9.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.087e-06/0.2647, allocations: 7.938 kB / 413.5 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008176/0.2655, allocations: 0.5474 MB / 414.1 MB, free: 9.199 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007479/0.2663, allocations: 166.4 kB / 414.2 MB, free: 9.039 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.268, allocations: 1.607 MB / 415.8 MB, free: 7.41 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002478/0.2683, allocations: 0.8918 MB / 416.7 MB, free: 6.492 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0003232/0.2686, allocations: 81.12 kB / 416.8 MB, free: 6.414 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001192/0.2688, allocations: 47.44 kB / 416.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of SimCode: time 3.91e-07/0.2688, allocations: 0 / 416.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of Templates: time 0.01795/0.2867, allocations: 12.95 MB / 429.8 MB, free: 9.469 MB / 314.7 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","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches