Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001547/0.001547, allocations: 175 kB / 16.72 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.483/1.483, allocations: 205.4 MB / 222.9 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009683/0.0009683, allocations: 92.95 kB / 271.2 MB, free: 8.238 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003299/0.00033, allocations: 8 kB / 327.5 MB, free: 15.89 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2517/0.2521, allocations: 47.58 MB / 375.1 MB, free: 45.43 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.00439/0.2565, allocations: 4.221 MB / 379.3 MB, free: 42.11 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002479/0.259, allocations: 1.323 MB / 380.6 MB, free: 41 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005014/0.2596, allocations: 6.5 kB / 380.6 MB, free: 41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003302/0.2599, allocations: 104.9 kB / 380.7 MB, free: 40.92 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007806/0.2607, allocations: 308.2 kB / 381 MB, free: 40.67 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.2612, allocations: 157.1 kB / 381.2 MB, free: 40.54 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.2622, allocations: 0.9427 MB / 382.1 MB, free: 39.96 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004938/0.2627, allocations: 270.1 kB / 382.4 MB, free: 39.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005574/0.2633, allocations: 359.1 kB / 382.8 MB, free: 39.61 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004366/0.2637, allocations: 398 kB / 383.1 MB, free: 39.36 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001239/0.2639, allocations: 60.84 kB / 383.2 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000154/0.264, allocations: 56.62 kB / 383.3 MB, free: 39.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001167/0.2641, allocations: 159.3 kB / 383.4 MB, free: 39.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004069/0.2646, allocations: 452.6 kB / 383.9 MB, free: 38.92 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006101/0.2652, allocations: 0.7832 MB / 384.6 MB, free: 38.33 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.2652, allocations: 0 / 384.6 MB, free: 38.33 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2652, allocations: 0.9375 kB / 384.6 MB, free: 38.33 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.2652, allocations: 0 / 384.6 MB, free: 38.33 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.00199/0.2672, allocations: 1.079 MB / 385.7 MB, free: 37.46 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.2673, allocations: 9.125 kB / 385.7 MB, free: 37.46 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002086/0.2675, allocations: 96.03 kB / 385.8 MB, free: 37.42 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/0.2682, allocations: 0.5061 MB / 386.3 MB, free: 36.97 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/0.2683, allocations: 110 kB / 386.4 MB, free: 36.88 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.638e-05/0.2684, allocations: 50.88 kB / 386.5 MB, free: 36.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001282/0.2697, allocations: 0.8118 MB / 387.3 MB, free: 36.22 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.327e-05/0.2698, allocations: 1.969 kB / 387.3 MB, free: 36.22 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.2698, allocations: 24.38 kB / 387.3 MB, free: 36.2 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.096e-05/0.2699, allocations: 12 kB / 387.3 MB, free: 36.19 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/0.2709, allocations: 0.527 MB / 387.9 MB, free: 35.67 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.002835/0.2738, allocations: 2.173 MB / 390 MB, free: 33.36 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.2749, allocations: 0.5689 MB / 390.6 MB, free: 32.77 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/0.2754, allocations: 270.4 kB / 390.9 MB, free: 32.51 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-05/0.2755, allocations: 8.562 kB / 390.9 MB, free: 32.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006735/0.2762, allocations: 339 kB / 391.2 MB, free: 32.16 MB / 298.7 MB Notification: Performance of pre-optimization done (n=56): time 3.326e-06/0.2762, allocations: 0 / 391.2 MB, free: 32.16 MB / 298.7 MB Notification: Performance of matching and sorting (n=56): time 0.004522/0.2807, allocations: 1.61 MB / 392.8 MB, free: 30.5 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.2809, allocations: 0.8194 MB / 393.6 MB, free: 29.48 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006202/0.2815, allocations: 0.5861 MB / 394.2 MB, free: 28.88 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.797e-05/0.2816, allocations: 41.7 kB / 394.3 MB, free: 28.84 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.2818, allocations: 333.2 kB / 394.6 MB, free: 28.51 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.282, allocations: 193.2 kB / 394.8 MB, free: 28.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.08e-05/0.282, allocations: 12 kB / 394.8 MB, free: 28.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.2821, allocations: 378.8 kB / 395.2 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.2826, allocations: 221 kB / 395.4 MB, free: 27.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006402/0.2833, allocations: 0.5325 MB / 395.9 MB, free: 27.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009978/0.2843, allocations: 0.5966 MB / 396.5 MB, free: 26.42 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.067e-06/0.2843, allocations: 4 kB / 396.5 MB, free: 26.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001621/0.2859, allocations: 0.8662 MB / 397.4 MB, free: 25.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.37e-05/0.286, allocations: 59.41 kB / 397.4 MB, free: 25.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.286, allocations: 12.02 kB / 397.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000677/0.2867, allocations: 229.4 kB / 397.7 MB, free: 25.21 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.2872, allocations: 115.9 kB / 397.8 MB, free: 25.1 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00551/0.2928, allocations: 4.29 MB / 402.1 MB, free: 20.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.294, allocations: 95.42 kB / 402.2 MB, free: 20.45 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.486e-05/0.2941, allocations: 20 kB / 402.2 MB, free: 20.43 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {9 3,1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0004435/0.2945, allocations: 217.9 kB / 402.4 MB, free: 20.21 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001174/0.2946, allocations: 75.16 kB / 402.5 MB, free: 20.13 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001234/0.2948, allocations: 74.8 kB / 402.5 MB, free: 20.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.2948, allocations: 8 kB / 402.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.2948, allocations: 0 / 402.5 MB, free: 20.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001759/0.2966, allocations: 1.105 MB / 403.7 MB, free: 18.84 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00246/0.299, allocations: 1.583 MB / 405.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.359e-06/0.2991, allocations: 0 / 405.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005575/0.2996, allocations: 115.9 kB / 405.4 MB, free: 17.06 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004923/0.3001, allocations: 177.6 kB / 405.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.162e-05/0.3002, allocations: 8 kB / 405.5 MB, free: 16.88 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003852/0.304, allocations: 3.67 MB / 409.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3041, allocations: 4.031 kB / 409.2 MB, free: 12.93 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00216/0.3062, allocations: 1.066 MB / 410.3 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000534/0.3068, allocations: 216 kB / 410.5 MB, free: 11.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.307, allocations: 16 kB / 410.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006676/0.3077, allocations: 56.02 kB / 410.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001723/0.3079, allocations: 56.42 kB / 410.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-05/0.3079, allocations: 15.98 kB / 410.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005194/0.3085, allocations: 411.1 kB / 411 MB, free: 11.07 MB / 298.7 MB Notification: Performance of sort global known variables: time 2e-07/0.3085, allocations: 288 / 411 MB, free: 11.07 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001095/0.3096, allocations: 251.7 kB / 411.3 MB, free: 10.83 MB / 298.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 3,1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002147/0.3098, allocations: 123.1 kB / 411.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.002107/0.3119, allocations: 1.058 MB / 412.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/0.3119, allocations: 0 / 412.5 MB, free: 9.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000861/0.3128, allocations: 0.5556 MB / 413 MB, free: 9.008 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.314, allocations: 194.9 kB / 413.2 MB, free: 8.816 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002613/0.3167, allocations: 1.592 MB / 414.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000355/0.317, allocations: 0.9161 MB / 415.7 MB, free: 6.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.3172, allocations: 55.42 kB / 415.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of SimCode: time 5.41e-07/0.3172, allocations: 0 / 415.8 MB, free: 6.211 MB / 298.7 MB Notification: Performance of Templates: time 0.02153/0.3388, allocations: 16.01 MB / 431.8 MB, free: 6.191 MB / 314.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","../files/Modelica_3.2.3_cpp_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches