Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001646/0.001646, allocations: 200 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000724/0.0007241, allocations: 97.23 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002031/0.0002032, allocations: 8 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1885/0.1887, allocations: 51.41 MB / 412 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve): time 0.002996/0.1918, allocations: 3.818 MB / 415.9 MB, free: 22.08 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001479/0.1933, allocations: 1.528 MB / 417.4 MB, free: 20.46 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002194/0.1935, allocations: 8 kB / 417.4 MB, free: 20.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002745/0.1938, allocations: 107.3 kB / 417.5 MB, free: 20.35 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003872/0.1942, allocations: 234.1 kB / 417.7 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003003/0.1945, allocations: 175.8 kB / 417.9 MB, free: 19.95 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000542/0.1951, allocations: 0.879 MB / 418.8 MB, free: 19.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002487/0.1953, allocations: 222.4 kB / 419 MB, free: 18.84 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002879/0.1956, allocations: 330.7 kB / 419.3 MB, free: 18.51 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.1959, allocations: 374.3 kB / 419.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.247e-05/0.196, allocations: 48 kB / 419.7 MB, free: 18.1 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.1961, allocations: 52 kB / 419.8 MB, free: 18.05 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.886e-05/0.1962, allocations: 143.4 kB / 419.9 MB, free: 17.91 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002868/0.1965, allocations: 411.7 kB / 420.3 MB, free: 17.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005097/0.197, allocations: 0.8717 MB / 421.2 MB, free: 16.62 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1971, allocations: 0 / 421.2 MB, free: 16.62 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1971, allocations: 0 / 421.2 MB, free: 16.62 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.055e-06/0.1971, allocations: 0 / 421.2 MB, free: 16.62 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.001418/0.1985, allocations: 0.9965 MB / 422.2 MB, free: 15.56 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.451e-05/0.1985, allocations: 8.031 kB / 422.2 MB, free: 15.55 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.1987, allocations: 92 kB / 422.3 MB, free: 15.46 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.1992, allocations: 484.5 kB / 422.8 MB, free: 14.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001181/0.1994, allocations: 96.97 kB / 422.9 MB, free: 14.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.495e-05/0.1994, allocations: 52.28 kB / 422.9 MB, free: 14.8 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009026/0.2003, allocations: 0.6633 MB / 423.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.653e-05/0.2004, allocations: 0 / 423.6 MB, free: 14.05 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.405e-05/0.2004, allocations: 20 kB / 423.6 MB, free: 14.04 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.375e-05/0.2004, allocations: 12 kB / 423.6 MB, free: 14.02 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008853/0.2013, allocations: 479.6 kB / 424.1 MB, free: 13.56 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.002389/0.2037, allocations: 1.959 MB / 426 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.2054, allocations: 0.7222 MB / 426.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004885/0.2059, allocations: 274 kB / 427 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.092e-05/0.206, allocations: 16.42 kB / 427 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.897e-05/0.206, allocations: 43 kB / 427.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of pre-optimization done (n=54): time 1.483e-06/0.206, allocations: 0 / 427.1 MB, free: 10.38 MB / 298.7 MB Notification: Performance of matching and sorting (n=54): time 0.004388/0.2104, allocations: 1.605 MB / 428.7 MB, free: 8.703 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001004/0.2105, allocations: 0.5605 MB / 429.2 MB, free: 8.008 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004717/0.211, allocations: 0.5343 MB / 429.8 MB, free: 7.465 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.211, allocations: 37.7 kB / 429.8 MB, free: 7.422 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001372/0.2112, allocations: 292.5 kB / 430.1 MB, free: 7.129 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.612e-05/0.2113, allocations: 181.3 kB / 430.3 MB, free: 6.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.2113, allocations: 12 kB / 430.3 MB, free: 6.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.302e-05/0.2114, allocations: 370.8 kB / 430.7 MB, free: 6.566 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004424/0.2119, allocations: 205 kB / 430.9 MB, free: 6.367 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005407/0.2124, allocations: 436.2 kB / 431.3 MB, free: 5.863 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009106/0.2133, allocations: 0.5005 MB / 431.8 MB, free: 5.34 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.2133, allocations: 3.984 kB / 431.8 MB, free: 5.336 MB / 298.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.001945/0.2153, allocations: 0.8536 MB / 432.6 MB, free: 4.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.2153, allocations: 42.97 kB / 432.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2153, allocations: 0 / 432.7 MB, free: 4.414 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008776/0.2162, allocations: 234.3 kB / 432.9 MB, free: 4.176 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006644/0.2169, allocations: 135.8 kB / 433 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005883/0.2228, allocations: 5.219 MB / 438.3 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006802/0.2235, allocations: 99.56 kB / 438.4 MB, free: 14.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-05/0.2236, allocations: 16 kB / 438.4 MB, free: 14.31 MB / 314.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.0002918/0.2239, allocations: 201.7 kB / 438.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001089/0.224, allocations: 67.25 kB / 438.6 MB, free: 14.04 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002369/0.2264, allocations: 0.8242 MB / 439.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.851e-06/0.2264, allocations: 4 kB / 439.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.2264, allocations: 0 / 439.5 MB, free: 13.19 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002191/0.2286, allocations: 1.082 MB / 440.5 MB, free: 12 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.2317, allocations: 1.56 MB / 442.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.2317, allocations: 0 / 442.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000721/0.2324, allocations: 135.8 kB / 442.2 MB, free: 10.23 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000807/0.2332, allocations: 189.5 kB / 442.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.512e-05/0.2333, allocations: 8.188 kB / 442.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004798/0.2381, allocations: 3.54 MB / 446 MB, free: 6.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.2381, allocations: 4 kB / 446 MB, free: 6.223 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00282/0.2409, allocations: 1.136 MB / 447.1 MB, free: 5.062 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.2413, allocations: 200.2 kB / 447.3 MB, free: 4.848 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.035e-05/0.2414, allocations: 20 kB / 447.3 MB, free: 4.828 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004828/0.2419, allocations: 39.97 kB / 447.4 MB, free: 4.789 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001315/0.242, allocations: 44.48 kB / 447.4 MB, free: 4.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.107e-05/0.242, allocations: 12 kB / 447.4 MB, free: 4.734 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000494/0.2425, allocations: 386.8 kB / 447.8 MB, free: 4.359 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2426, allocations: 0 / 447.8 MB, free: 4.359 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006993/0.2433, allocations: 215.8 kB / 448 MB, free: 4.148 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.0001438/0.2434, allocations: 127.4 kB / 448.1 MB, free: 4.016 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002307/0.2457, allocations: 1.073 MB / 449.2 MB, free: 2.891 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.2457, allocations: 0 / 449.2 MB, free: 2.891 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009647/0.2467, allocations: 0.5396 MB / 449.7 MB, free: 2.324 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008021/0.2475, allocations: 182.8 kB / 449.9 MB, free: 2.145 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002179/0.2497, allocations: 1.597 MB / 451.5 MB, free: 0.5234 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004764/0.2502, allocations: 0.884 MB / 452.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003508/0.2506, allocations: 89.11 kB / 452.5 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001306/0.2507, allocations: 51.44 kB / 452.5 MB, free: 15.48 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.2507, allocations: 3.938 kB / 452.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of Templates: time 0.01949/0.2702, allocations: 12.94 MB / 465.5 MB, free: 2.609 MB / 330.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.PumpAndValve.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches