Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|speed.phi",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007189/0.000719, allocations: 92.7 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008861/0.0008861, allocations: 181.9 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 223.3 MB / 241.6 MB, free: 14.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004265/0.0004269, allocations: 8.438 kB / 301.4 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1021, allocations: 50.41 MB / 351.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.004691/0.1069, allocations: 4.454 MB / 356.3 MB, free: 15 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002214/0.1091, allocations: 1.328 MB / 357.6 MB, free: 13.66 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002317/0.1093, allocations: 11.94 kB / 357.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003209/0.1097, allocations: 119.2 kB / 357.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005898/0.1103, allocations: 297.9 kB / 358 MB, free: 13.24 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.1107, allocations: 195.8 kB / 358.2 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008555/0.1116, allocations: 0.98 MB / 359.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003471/0.1119, allocations: 269.8 kB / 359.5 MB, free: 11.79 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004016/0.1123, allocations: 366.6 kB / 359.8 MB, free: 11.43 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004376/0.1128, allocations: 422.1 kB / 360.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.1129, allocations: 56 kB / 360.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001198/0.113, allocations: 56 kB / 360.3 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.1132, allocations: 159.3 kB / 360.5 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004039/0.1136, allocations: 471.5 kB / 361 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008465/0.1144, allocations: 1.008 MB / 362 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1144, allocations: 0 / 362 MB, free: 9.27 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1145, allocations: 4 kB / 362 MB, free: 9.266 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.1145, allocations: 0 / 362 MB, free: 9.266 MB / 302.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.001895/0.1164, allocations: 1.084 MB / 363.1 MB, free: 8.117 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.1164, allocations: 8.031 kB / 363.1 MB, free: 8.109 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001576/0.1166, allocations: 103.8 kB / 363.2 MB, free: 8.008 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006496/0.1172, allocations: 0.5043 MB / 363.7 MB, free: 7.461 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001494/0.1174, allocations: 101.3 kB / 363.8 MB, free: 7.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.642e-05/0.1175, allocations: 56.28 kB / 363.8 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00134/0.1189, allocations: 0.8083 MB / 364.6 MB, free: 6.379 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.883e-05/0.1189, allocations: 3.938 kB / 364.6 MB, free: 6.375 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.399e-05/0.119, allocations: 32 kB / 364.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.455e-05/0.119, allocations: 16 kB / 364.7 MB, free: 6.328 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001278/0.1203, allocations: 0.5309 MB / 365.2 MB, free: 5.801 MB / 302.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.00316/0.1234, allocations: 2.165 MB / 367.4 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001365/0.1248, allocations: 0.573 MB / 368 MB, free: 2.906 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006114/0.1254, allocations: 270.4 kB / 368.2 MB, free: 2.641 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.1255, allocations: 21.64 kB / 368.2 MB, free: 2.617 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007818/0.1263, allocations: 339 kB / 368.6 MB, free: 2.277 MB / 302.1 MB Notification: Performance of pre-optimization done (n=56): time 2.304e-06/0.1263, allocations: 4 kB / 368.6 MB, free: 2.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=56): time 0.005268/0.1316, allocations: 1.602 MB / 370.2 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1572/0.2888, allocations: 0.8179 MB / 371 MB, free: 24.54 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008712/0.2897, allocations: 0.589 MB / 371.6 MB, free: 24.42 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001437/0.2899, allocations: 41.97 kB / 371.6 MB, free: 24.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002207/0.2901, allocations: 336.3 kB / 372 MB, free: 24.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/0.2902, allocations: 190.7 kB / 372.1 MB, free: 24.25 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.581e-05/0.2903, allocations: 51.52 kB / 372.2 MB, free: 24.23 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.637e-05/0.2904, allocations: 381.6 kB / 372.6 MB, free: 23.92 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006553/0.2911, allocations: 230.4 kB / 372.8 MB, free: 23.92 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007908/0.2919, allocations: 0.5325 MB / 373.3 MB, free: 23.6 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001296/0.2932, allocations: 0.591 MB / 373.9 MB, free: 23.45 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.2932, allocations: 1.906 kB / 373.9 MB, free: 23.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002376/0.2956, allocations: 0.9543 MB / 374.9 MB, free: 23.22 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/0.2957, allocations: 67.17 kB / 374.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.2957, allocations: 2.812 kB / 374.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000703/0.2964, allocations: 235.6 kB / 375.2 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006301/0.297, allocations: 122.4 kB / 375.3 MB, free: 23.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005445/0.3025, allocations: 4.254 MB / 379.5 MB, free: 19.72 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007973/0.3033, allocations: 98.67 kB / 379.6 MB, free: 19.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.747e-05/0.3033, allocations: 21.95 kB / 379.7 MB, free: 19.68 MB / 302.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.0002919/0.3036, allocations: 204.8 kB / 379.9 MB, free: 19.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001063/0.3038, allocations: 85.83 kB / 379.9 MB, free: 19.47 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000131/0.3039, allocations: 73.84 kB / 380 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.121e-06/0.3039, allocations: 5.719 kB / 380 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3039, allocations: 6 kB / 380 MB, free: 19.41 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002016/0.3059, allocations: 1.11 MB / 381.1 MB, free: 18.67 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002631/0.3086, allocations: 1.574 MB / 382.7 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.3086, allocations: 0 / 382.7 MB, free: 17.85 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000618/0.3092, allocations: 116.6 kB / 382.8 MB, free: 17.84 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005426/0.3098, allocations: 176.2 kB / 383 MB, free: 17.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.351e-05/0.3098, allocations: 9.125 kB / 383 MB, free: 17.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004101/0.3139, allocations: 3.667 MB / 386.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.3139, allocations: 4 kB / 386.7 MB, free: 14.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.3164, allocations: 1.078 MB / 387.8 MB, free: 14.19 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000268/0.3166, allocations: 214.4 kB / 388 MB, free: 14.01 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.44e-05/0.3167, allocations: 18.61 kB / 388 MB, free: 14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006268/0.3174, allocations: 54.19 kB / 388 MB, free: 13.99 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3175, allocations: 54.52 kB / 388.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.42e-05/0.3176, allocations: 12.83 kB / 388.1 MB, free: 13.98 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.000485/0.3181, allocations: 418.2 kB / 388.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3181, allocations: 0 / 388.5 MB, free: 13.79 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008165/0.3189, allocations: 257.1 kB / 388.8 MB, free: 13.75 MB / 302.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.0001454/0.319, allocations: 124.4 kB / 388.9 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002137/0.3212, allocations: 1.037 MB / 389.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.3212, allocations: 2.188 kB / 389.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009256/0.3221, allocations: 0.5659 MB / 390.5 MB, free: 12.7 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009341/0.3231, allocations: 192.7 kB / 390.7 MB, free: 12.62 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.3255, allocations: 1.626 MB / 392.3 MB, free: 11.67 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004495/0.3259, allocations: 0.9199 MB / 393.2 MB, free: 10.95 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0004043/0.3263, allocations: 85.33 kB / 393.3 MB, free: 10.93 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.3265, allocations: 55.48 kB / 393.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3265, allocations: 0 / 393.4 MB, free: 10.92 MB / 302.1 MB Notification: Performance of Templates: time 0.01961/0.3461, allocations: 14.91 MB / 408.3 MB, free: 15.28 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches