Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00106/0.00106, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001196/0.001197, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.9 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001119/0.001119, allocations: 59.89 kB / 358.7 MB, free: 12.92 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.216, allocations: 50.54 MB / 409.2 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00534/0.2213, allocations: 4.844 MB / 414.1 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.2236, allocations: 1.378 MB / 415.5 MB, free: 11.32 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002646/0.2239, allocations: 11.94 kB / 415.5 MB, free: 11.31 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000361/0.2243, allocations: 158.7 kB / 415.6 MB, free: 11.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006546/0.2249, allocations: 337.4 kB / 416 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004316/0.2254, allocations: 223.6 kB / 416.2 MB, free: 10.61 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009087/0.2263, allocations: 1.027 MB / 417.2 MB, free: 9.574 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.2267, allocations: 297.7 kB / 417.5 MB, free: 9.266 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004734/0.2272, allocations: 418.5 kB / 417.9 MB, free: 8.855 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004508/0.2276, allocations: 446.2 kB / 418.3 MB, free: 8.418 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000116/0.2278, allocations: 91.94 kB / 418.4 MB, free: 8.328 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001298/0.2279, allocations: 88 kB / 418.5 MB, free: 8.242 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001653/0.2281, allocations: 195.4 kB / 418.7 MB, free: 8.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004369/0.2285, allocations: 481.8 kB / 419.2 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001038/0.2296, allocations: 1.076 MB / 420.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.2296, allocations: 0 / 420.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.445e-06/0.2296, allocations: 0 / 420.2 MB, free: 6.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.2296, allocations: 3.938 kB / 420.2 MB, free: 6.496 MB / 334.1 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.001924/0.2315, allocations: 1.216 MB / 421.5 MB, free: 5.215 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.063e-05/0.2316, allocations: 8.031 kB / 421.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001491/0.2317, allocations: 103.8 kB / 421.6 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006812/0.2324, allocations: 0.5121 MB / 422.1 MB, free: 4.551 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001299/0.2326, allocations: 101.2 kB / 422.2 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.023e-05/0.2326, allocations: 56.36 kB / 422.2 MB, free: 4.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001191/0.2338, allocations: 0.7966 MB / 423 MB, free: 3.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.025e-05/0.2339, allocations: 3.906 kB / 423 MB, free: 3.477 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.248e-05/0.2339, allocations: 24 kB / 423.1 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.177e-05/0.234, allocations: 19.94 kB / 423.1 MB, free: 3.434 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.2351, allocations: 0.4997 MB / 423.6 MB, free: 2.938 MB / 334.1 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.002952/0.2381, allocations: 2.138 MB / 425.7 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001172/0.2392, allocations: 0.5333 MB / 426.3 MB, free: 120 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005655/0.2398, allocations: 270.9 kB / 426.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.2399, allocations: 12.47 kB / 426.5 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006728/0.2406, allocations: 323 kB / 426.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of pre-optimization done (n=56): time 2.285e-06/0.2406, allocations: 4 kB / 426.9 MB, free: 15.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=56): time 0.004623/0.2452, allocations: 1.485 MB / 428.3 MB, free: 13.97 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003282/0.2455, allocations: 0.8271 MB / 429.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006466/0.2462, allocations: 0.5862 MB / 429.8 MB, free: 12.35 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.632e-05/0.2463, allocations: 41.7 kB / 429.8 MB, free: 12.3 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002387/0.2465, allocations: 336.7 kB / 430.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001437/0.2467, allocations: 189.2 kB / 430.3 MB, free: 11.78 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002074/0.2469, allocations: 134.2 kB / 430.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.247, allocations: 382.8 kB / 430.8 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005245/0.2476, allocations: 205 kB / 431 MB, free: 11.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008146/0.2484, allocations: 0.5208 MB / 431.5 MB, free: 10.42 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001128/0.2495, allocations: 0.5576 MB / 432.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2495, allocations: 0 / 432.1 MB, free: 9.812 MB / 350.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002118/0.2517, allocations: 0.9089 MB / 433 MB, free: 8.883 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.091e-05/0.2517, allocations: 59.41 kB / 433.1 MB, free: 8.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.2517, allocations: 11.92 kB / 433.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006756/0.2524, allocations: 217.6 kB / 433.3 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005807/0.253, allocations: 119.8 kB / 433.4 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006243/0.2593, allocations: 4.584 MB / 438 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006961/0.26, allocations: 87.39 kB / 438.1 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.611e-05/0.26, allocations: 23.98 kB / 438.1 MB, free: 3.492 MB / 350.1 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 (oneWayValve.backward,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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.0003024/0.2603, allocations: 213.9 kB / 438.3 MB, free: 3.273 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.2605, allocations: 79.16 kB / 438.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.2606, allocations: 82.78 kB / 438.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.2606, allocations: 11.94 kB / 438.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.2606, allocations: 0 / 438.5 MB, free: 3.098 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001906/0.2625, allocations: 1.046 MB / 439.5 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.265, allocations: 1.536 MB / 441.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.2651, allocations: 0 / 441.1 MB, free: 336 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005759/0.2656, allocations: 107.8 kB / 441.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005273/0.2662, allocations: 173.5 kB / 441.3 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.91e-05/0.2662, allocations: 19.98 kB / 441.3 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004723/0.271, allocations: 3.925 MB / 445.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.271, allocations: 0 / 445.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002196/0.2732, allocations: 1.024 MB / 446.3 MB, free: 10.77 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002761/0.2735, allocations: 227.8 kB / 446.5 MB, free: 10.53 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.874e-05/0.2736, allocations: 16.19 kB / 446.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005493/0.2741, allocations: 47.95 kB / 446.6 MB, free: 10.47 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2743, allocations: 48.48 kB / 446.6 MB, free: 10.42 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.331e-05/0.2743, allocations: 16 kB / 446.6 MB, free: 10.41 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004754/0.2748, allocations: 419.1 kB / 447.1 MB, free: 10 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2748, allocations: 4 kB / 447.1 MB, free: 9.996 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007656/0.2756, allocations: 255.7 kB / 447.3 MB, free: 9.746 MB / 366.1 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.000141/0.2757, allocations: 111.2 kB / 447.4 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001909/0.2776, allocations: 1.012 MB / 448.4 MB, free: 8.566 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.2776, allocations: 8 kB / 448.4 MB, free: 8.559 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008958/0.2785, allocations: 0.5433 MB / 449 MB, free: 7.988 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008109/0.2794, allocations: 215.2 kB / 449.2 MB, free: 7.777 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002325/0.2817, allocations: 1.294 MB / 450.5 MB, free: 6.465 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004174/0.2821, allocations: 0.916 MB / 451.4 MB, free: 5.523 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002904/0.2824, allocations: 89.2 kB / 451.5 MB, free: 5.434 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001297/0.2826, allocations: 55.42 kB / 451.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.2826, allocations: 0 / 451.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of Templates: time 0.02349/0.3061, allocations: 16.32 MB / 467.9 MB, free: 5.309 MB / 382.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches