Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.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.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009326/0.0009327, allocations: 198.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.252/1.252, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007445/0.0007445, allocations: 98.47 kB / 299.8 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002957, allocations: 4 kB / 360.6 MB, free: 8.5 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1961, allocations: 51.41 MB / 412 MB, free: 25.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.003056/0.1992, allocations: 4.236 MB / 416.3 MB, free: 21.67 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.2007, allocations: 1.651 MB / 417.9 MB, free: 19.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002212/0.201, allocations: 11.94 kB / 417.9 MB, free: 19.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002629/0.2012, allocations: 119.2 kB / 418.1 MB, free: 19.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004507/0.2017, allocations: 301.9 kB / 418.4 MB, free: 19.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002922/0.202, allocations: 191.8 kB / 418.5 MB, free: 19.34 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005824/0.2026, allocations: 0.9762 MB / 419.5 MB, free: 18.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002653/0.2029, allocations: 257.9 kB / 419.8 MB, free: 18.09 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003195/0.2032, allocations: 374.6 kB / 420.1 MB, free: 17.72 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003025/0.2035, allocations: 426.1 kB / 420.6 MB, free: 17.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 8.212e-05/0.2036, allocations: 56 kB / 420.6 MB, free: 17.25 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/0.2037, allocations: 56 kB / 420.7 MB, free: 17.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.877e-05/0.2038, allocations: 159.3 kB / 420.8 MB, free: 17.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002816/0.2041, allocations: 467.5 kB / 421.3 MB, free: 16.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005423/0.2047, allocations: 1.02 MB / 422.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2047, allocations: 0 / 422.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.2047, allocations: 0 / 422.3 MB, free: 15.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.979e-06/0.2047, allocations: 0 / 422.3 MB, free: 15.55 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001595/0.2063, allocations: 1.069 MB / 423.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.778e-05/0.2063, allocations: 8.031 kB / 423.4 MB, free: 14.41 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001324/0.2065, allocations: 99.91 kB / 423.5 MB, free: 14.31 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.207, allocations: 0.5159 MB / 424 MB, free: 13.75 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001223/0.2072, allocations: 101.3 kB / 424.1 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.974e-05/0.2072, allocations: 52.38 kB / 424.1 MB, free: 13.59 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/0.2083, allocations: 0.8045 MB / 424.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.2083, allocations: 3.906 kB / 424.9 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/0.2084, allocations: 28 kB / 425 MB, free: 12.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.008e-05/0.2084, allocations: 12 kB / 425 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001037/0.2094, allocations: 0.5387 MB / 425.5 MB, free: 12.1 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.002444/0.2119, allocations: 2.162 MB / 427.7 MB, free: 9.801 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001111/0.213, allocations: 0.5579 MB / 428.2 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/0.2135, allocations: 278.4 kB / 428.5 MB, free: 8.953 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.043e-05/0.2136, allocations: 13.64 kB / 428.5 MB, free: 8.941 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006285/0.2142, allocations: 343 kB / 428.9 MB, free: 8.594 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 2.124e-06/0.2142, allocations: 0 / 428.9 MB, free: 8.594 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.004308/0.2185, allocations: 1.598 MB / 430.5 MB, free: 6.949 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/0.2187, allocations: 0.8271 MB / 431.3 MB, free: 5.926 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004934/0.2192, allocations: 0.5862 MB / 431.9 MB, free: 5.332 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.163e-05/0.2192, allocations: 49.69 kB / 431.9 MB, free: 5.277 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.2194, allocations: 332.8 kB / 432.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2195, allocations: 185.2 kB / 432.4 MB, free: 4.766 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.717e-05/0.2195, allocations: 12 kB / 432.4 MB, free: 4.754 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.2196, allocations: 382.8 kB / 432.8 MB, free: 4.371 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000484/0.2201, allocations: 221 kB / 433 MB, free: 4.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006233/0.2207, allocations: 0.5325 MB / 433.6 MB, free: 3.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/0.2217, allocations: 0.5888 MB / 434.2 MB, free: 2.867 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.2217, allocations: 3.938 kB / 434.2 MB, free: 2.863 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001508/0.2232, allocations: 0.8663 MB / 435 MB, free: 1.973 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.169e-05/0.2233, allocations: 63.41 kB / 435.1 MB, free: 1.898 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.2233, allocations: 4 kB / 435.1 MB, free: 1.895 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006172/0.2239, allocations: 229.6 kB / 435.3 MB, free: 1.664 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.2245, allocations: 123.8 kB / 435.4 MB, free: 1.543 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005852/0.2304, allocations: 4.279 MB / 439.7 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006658/0.231, allocations: 99.42 kB / 439.8 MB, free: 12.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.445e-05/0.2311, allocations: 20 kB / 439.8 MB, free: 12.87 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count,oneWayValve.backward) * 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: 2 * 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 {(9,3), (1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0002723/0.2314, allocations: 209.8 kB / 440 MB, free: 12.66 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001047/0.2315, allocations: 87.05 kB / 440.1 MB, free: 12.57 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001297/0.2316, allocations: 74.86 kB / 440.2 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.2316, allocations: 8 kB / 440.2 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2316, allocations: 4 kB / 440.2 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002052/0.2337, allocations: 1.109 MB / 441.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002547/0.2363, allocations: 1.576 MB / 442.9 MB, free: 9.609 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2363, allocations: 4 kB / 442.9 MB, free: 9.605 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006134/0.2369, allocations: 107.9 kB / 443 MB, free: 9.5 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000528/0.2374, allocations: 181.5 kB / 443.2 MB, free: 9.316 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.407e-05/0.2375, allocations: 12 kB / 443.2 MB, free: 9.305 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.2418, allocations: 3.659 MB / 446.8 MB, free: 5.375 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2418, allocations: 3.938 kB / 446.8 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/0.2441, allocations: 1.082 MB / 447.9 MB, free: 4.266 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002707/0.2443, allocations: 212 kB / 448.1 MB, free: 4.039 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.513e-05/0.2444, allocations: 20.06 kB / 448.2 MB, free: 4.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005713/0.245, allocations: 51.95 kB / 448.2 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.2452, allocations: 52.48 kB / 448.3 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.179e-05/0.2452, allocations: 12 kB / 448.3 MB, free: 3.906 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004691/0.2457, allocations: 419.1 kB / 448.7 MB, free: 3.504 MB / 314.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2457, allocations: 4 kB / 448.7 MB, free: 3.5 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007149/0.2464, allocations: 251.7 kB / 448.9 MB, free: 3.254 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (speed.phi) * Number of discrete variables: 4 ($whenCondition1,trapezoid.T_start,trapezoid.count,oneWayValve.backward) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 {(2,3), (1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001572/0.2466, allocations: 119.2 kB / 449 MB, free: 3.129 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.002006/0.2486, allocations: 1.054 MB / 450.1 MB, free: 2.023 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.2486, allocations: 4 kB / 450.1 MB, free: 2.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009486/0.2496, allocations: 0.5553 MB / 450.7 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008491/0.2504, allocations: 192.1 kB / 450.8 MB, free: 1.254 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.2529, allocations: 1.611 MB / 452.5 MB, free: 15.61 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004479/0.2534, allocations: 0.9237 MB / 453.4 MB, free: 14.66 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003637/0.2537, allocations: 89.2 kB / 453.5 MB, free: 14.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.2539, allocations: 51.44 kB / 453.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of SimCode: time 5.41e-07/0.2539, allocations: 3.938 kB / 453.5 MB, free: 14.52 MB / 330.7 MB Notification: Performance of Templates: time 0.0224/0.2763, allocations: 14.96 MB / 468.5 MB, free: 15.66 MB / 346.7 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches