Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008927/0.0008929, allocations: 182.6 kB / 16.72 MB, free: 4.84 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 225.7 MB / 243.2 MB, free: 10.26 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007612/0.0007612, allocations: 93.59 kB / 294.4 MB, free: 9.766 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002324/0.0002325, allocations: 8 kB / 354.2 MB, free: 13.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.194, allocations: 50.41 MB / 404.6 MB, free: 31.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.002716/0.1968, allocations: 3.812 MB / 408.4 MB, free: 27.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001225/0.198, allocations: 1.249 MB / 409.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000192/0.1982, allocations: 7.938 kB / 409.6 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00024/0.1985, allocations: 115.2 kB / 409.8 MB, free: 26.16 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003708/0.1988, allocations: 230.2 kB / 410 MB, free: 25.94 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003068/0.1992, allocations: 175.7 kB / 410.2 MB, free: 25.77 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005299/0.1997, allocations: 0.8867 MB / 411 MB, free: 24.88 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002385/0.2, allocations: 222.4 kB / 411.3 MB, free: 24.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.2002, allocations: 330.6 kB / 411.6 MB, free: 24.32 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002701/0.2005, allocations: 370.4 kB / 411.9 MB, free: 23.96 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.479e-05/0.2006, allocations: 48 kB / 412 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001013/0.2007, allocations: 48 kB / 412 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.776e-05/0.2008, allocations: 143.4 kB / 412.2 MB, free: 23.73 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002428/0.201, allocations: 403.9 kB / 412.6 MB, free: 23.32 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004734/0.2015, allocations: 0.8678 MB / 413.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2015, allocations: 0 / 413.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2015, allocations: 0 / 413.4 MB, free: 22.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.954e-06/0.2015, allocations: 4 kB / 413.4 MB, free: 22.45 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.001392/0.2029, allocations: 0.9886 MB / 414.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.188e-05/0.203, allocations: 16.03 kB / 414.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.2031, allocations: 92 kB / 414.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004823/0.2036, allocations: 480.6 kB / 415 MB, free: 20.78 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.2037, allocations: 96.97 kB / 415.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.2038, allocations: 52.28 kB / 415.1 MB, free: 20.62 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009243/0.2047, allocations: 0.6602 MB / 415.8 MB, free: 19.89 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.2048, allocations: 11.94 kB / 415.8 MB, free: 19.88 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.2048, allocations: 20 kB / 415.8 MB, free: 19.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.876e-06/0.2048, allocations: 12 kB / 415.9 MB, free: 19.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008974/0.2057, allocations: 475.7 kB / 416.3 MB, free: 19.38 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.002355/0.2081, allocations: 1.975 MB / 418.3 MB, free: 17.28 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.2097, allocations: 0.7141 MB / 419 MB, free: 16.54 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004808/0.2102, allocations: 278.1 kB / 419.3 MB, free: 16.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.824e-05/0.2103, allocations: 16.42 kB / 419.3 MB, free: 16.25 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.2103, allocations: 39 kB / 419.3 MB, free: 16.2 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.803e-06/0.2103, allocations: 0 / 419.3 MB, free: 16.2 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004441/0.2148, allocations: 1.593 MB / 420.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/0.2149, allocations: 0.5683 MB / 421.5 MB, free: 13.83 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.2153, allocations: 0.5304 MB / 422 MB, free: 13.29 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.2154, allocations: 37.7 kB / 422.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001421/0.2155, allocations: 292.4 kB / 422.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.224e-05/0.2156, allocations: 185.3 kB / 422.5 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.733e-05/0.2157, allocations: 12 kB / 422.5 MB, free: 12.76 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.13e-05/0.2157, allocations: 374.7 kB / 422.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004377/0.2162, allocations: 205 kB / 423.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005555/0.2167, allocations: 440.2 kB / 423.5 MB, free: 11.68 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/0.2176, allocations: 0.5005 MB / 424 MB, free: 11.16 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2177, allocations: 0 / 424 MB, free: 11.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.002014/0.2197, allocations: 0.8614 MB / 424.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.2197, allocations: 33.7 kB / 424.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.2197, allocations: 3.984 kB / 424.9 MB, free: 10.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008751/0.2206, allocations: 218.4 kB / 425.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006574/0.2213, allocations: 143.8 kB / 425.3 MB, free: 9.867 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005457/0.2268, allocations: 5.227 MB / 430.5 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006071/0.2274, allocations: 87.44 kB / 430.6 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.687e-05/0.2274, allocations: 23.98 kB / 430.6 MB, free: 4.129 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.0002102/0.2276, allocations: 198.8 kB / 430.8 MB, free: 3.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.51e-05/0.2277, allocations: 67.25 kB / 430.9 MB, free: 3.859 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.2297, allocations: 0.8241 MB / 431.7 MB, free: 3.023 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.2298, allocations: 4 kB / 431.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-06/0.2298, allocations: 0 / 431.7 MB, free: 3.02 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001878/0.2317, allocations: 1.085 MB / 432.8 MB, free: 1.82 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002632/0.2343, allocations: 1.553 MB / 434.3 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.2343, allocations: 192 / 434.3 MB, free: 200 kB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.235, allocations: 135.8 kB / 434.5 MB, free: 64 kB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008077/0.2358, allocations: 185.5 kB / 434.7 MB, free: 15.88 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.386e-05/0.2359, allocations: 8 kB / 434.7 MB, free: 15.87 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004591/0.2405, allocations: 3.544 MB / 438.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.2405, allocations: 3.938 kB / 438.2 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/0.2432, allocations: 1.128 MB / 439.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.2434, allocations: 200.2 kB / 439.5 MB, free: 10.68 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.2435, allocations: 16 kB / 439.6 MB, free: 10.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004806/0.244, allocations: 43.97 kB / 439.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001156/0.2441, allocations: 44.48 kB / 439.6 MB, free: 10.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.214e-05/0.2442, allocations: 12 kB / 439.7 MB, free: 10.57 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004441/0.2446, allocations: 386.8 kB / 440 MB, free: 10.19 MB / 314.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2446, allocations: 0 / 440 MB, free: 10.19 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007161/0.2454, allocations: 219.8 kB / 440.2 MB, free: 9.977 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.0001386/0.2455, allocations: 124.2 kB / 440.4 MB, free: 9.848 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002129/0.2476, allocations: 1.073 MB / 441.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.2477, allocations: 0 / 441.4 MB, free: 8.723 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009205/0.2486, allocations: 0.5434 MB / 442 MB, free: 8.156 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008137/0.2494, allocations: 182.5 kB / 442.2 MB, free: 7.977 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002083/0.2515, allocations: 1.587 MB / 443.8 MB, free: 6.359 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003706/0.2519, allocations: 0.8879 MB / 444.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003244/0.2522, allocations: 81.12 kB / 444.7 MB, free: 5.367 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001272/0.2524, allocations: 51.42 kB / 444.8 MB, free: 5.316 MB / 314.7 MB Notification: Performance of SimCode: time 3.8e-07/0.2524, allocations: 0 / 444.8 MB, free: 5.316 MB / 314.7 MB Notification: Performance of Templates: time 0.01943/0.2718, allocations: 12.96 MB / 457.7 MB, free: 8.418 MB / 330.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/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