Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) 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 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_3.2.3_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_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.00153/0.00153, allocations: 104.5 kB / 18.35 MB, free: 4.645 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.00106/0.00106, allocations: 191 kB / 19.29 MB, free: 3.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 225.2 MB, free: 12.29 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 55.92 kB / 282.1 MB, free: 2.473 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08077/0.08201, allocations: 46.62 MB / 328.7 MB, free: 3.777 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.WaterPump): time 0.005863/0.08791, allocations: 4.833 MB / 333.6 MB, free: 14.91 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002773/0.09071, allocations: 1.391 MB / 334.9 MB, free: 13.51 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.09096, allocations: 11.94 kB / 335 MB, free: 13.5 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003862/0.09137, allocations: 150.7 kB / 335.1 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005861/0.09197, allocations: 341.4 kB / 335.4 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004069/0.09239, allocations: 219.6 kB / 335.7 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008848/0.09328, allocations: 1.035 MB / 336.7 MB, free: 11.76 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003834/0.09367, allocations: 293.9 kB / 337 MB, free: 11.46 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004023/0.09409, allocations: 406.5 kB / 337.4 MB, free: 11.06 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004612/0.09456, allocations: 450.1 kB / 337.8 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000113/0.09468, allocations: 88 kB / 337.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.09482, allocations: 92 kB / 338 MB, free: 10.45 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001603/0.09498, allocations: 199.3 kB / 338.2 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003986/0.09539, allocations: 477.8 kB / 338.6 MB, free: 9.781 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008716/0.09627, allocations: 1.074 MB / 339.7 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.09628, allocations: 0 / 339.7 MB, free: 8.703 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.09629, allocations: 0 / 339.7 MB, free: 8.703 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.05e-05/0.09631, allocations: 0 / 339.7 MB, free: 8.703 MB / 286.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.002104/0.09841, allocations: 1.216 MB / 340.9 MB, free: 7.418 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.09846, allocations: 8.031 kB / 340.9 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.09863, allocations: 103.8 kB / 341 MB, free: 7.309 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007676/0.09941, allocations: 0.5199 MB / 341.6 MB, free: 6.75 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.09956, allocations: 101.3 kB / 341.7 MB, free: 6.637 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.746e-05/0.09966, allocations: 52.38 kB / 341.7 MB, free: 6.586 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001264/0.1009, allocations: 0.7966 MB / 342.5 MB, free: 5.688 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.101, allocations: 3.906 kB / 342.5 MB, free: 5.684 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.231e-05/0.101, allocations: 28 kB / 342.5 MB, free: 5.656 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.303e-05/0.1011, allocations: 16 kB / 342.6 MB, free: 5.641 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001148/0.1022, allocations: 0.4996 MB / 343.1 MB, free: 5.137 MB / 286.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.003079/0.1053, allocations: 2.146 MB / 345.2 MB, free: 2.855 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00127/0.1066, allocations: 0.5253 MB / 345.7 MB, free: 2.316 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005487/0.1071, allocations: 262.4 kB / 346 MB, free: 2.059 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.016e-05/0.1072, allocations: 13.66 kB / 346 MB, free: 2.047 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006939/0.1079, allocations: 323 kB / 346.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of pre-optimization done (n=56): time 2.305e-06/0.1079, allocations: 0 / 346.3 MB, free: 1.723 MB / 286.1 MB Notification: Performance of matching and sorting (n=56): time 0.004658/0.1126, allocations: 1.489 MB / 347.8 MB, free: 188 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003149/0.1129, allocations: 0.8233 MB / 348.6 MB, free: 15.16 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006628/0.1136, allocations: 0.594 MB / 349.2 MB, free: 14.56 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.57e-05/0.1137, allocations: 37.7 kB / 349.3 MB, free: 14.52 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002437/0.1139, allocations: 340.7 kB / 349.6 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.114, allocations: 181.3 kB / 349.8 MB, free: 14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.1143, allocations: 126.2 kB / 349.9 MB, free: 13.87 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.1144, allocations: 382.8 kB / 350.3 MB, free: 13.49 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005275/0.1149, allocations: 213 kB / 350.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007753/0.1157, allocations: 0.5169 MB / 351 MB, free: 12.64 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001078/0.1168, allocations: 0.5614 MB / 351.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.1168, allocations: 0 / 351.6 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.002087/0.1189, allocations: 0.9089 MB / 352.5 MB, free: 11.1 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.893e-05/0.119, allocations: 63.41 kB / 352.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.119, allocations: 0 / 352.5 MB, free: 11.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007033/0.1197, allocations: 225.5 kB / 352.7 MB, free: 10.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/0.1203, allocations: 107.9 kB / 352.9 MB, free: 10.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006092/0.1264, allocations: 4.592 MB / 357.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006515/0.1271, allocations: 83.39 kB / 357.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.051e-05/0.1272, allocations: 23.98 kB / 357.5 MB, free: 5.711 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.0002907/0.1275, allocations: 214.8 kB / 357.8 MB, free: 5.492 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001034/0.1276, allocations: 79.16 kB / 357.8 MB, free: 5.414 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000127/0.1277, allocations: 74.86 kB / 357.9 MB, free: 5.34 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.1277, allocations: 11.94 kB / 357.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.1277, allocations: 0 / 357.9 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001918/0.1297, allocations: 1.046 MB / 359 MB, free: 4.172 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002455/0.1321, allocations: 1.544 MB / 360.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.1321, allocations: 0 / 360.5 MB, free: 2.555 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005793/0.1327, allocations: 107.9 kB / 360.6 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005166/0.1332, allocations: 173.5 kB / 360.8 MB, free: 2.273 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/0.1333, allocations: 12 kB / 360.8 MB, free: 2.262 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004451/0.1378, allocations: 3.936 MB / 364.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.1378, allocations: 0 / 364.7 MB, free: 14.04 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002117/0.1399, allocations: 1.032 MB / 365.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002819/0.1402, allocations: 219.9 kB / 366 MB, free: 12.76 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001/0.1403, allocations: 20.06 kB / 366 MB, free: 12.74 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005775/0.1409, allocations: 40.06 kB / 366 MB, free: 12.7 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.141, allocations: 64.36 kB / 366.1 MB, free: 12.63 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.315e-05/0.1411, allocations: 12 kB / 366.1 MB, free: 12.62 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0004496/0.1415, allocations: 423.1 kB / 366.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1415, allocations: 0 / 366.5 MB, free: 12.21 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007273/0.1423, allocations: 247.8 kB / 366.8 MB, free: 11.97 MB / 318.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.0001425/0.1424, allocations: 123.3 kB / 366.9 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001868/0.1443, allocations: 1.015 MB / 367.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.1443, allocations: 0 / 367.9 MB, free: 10.78 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009088/0.1452, allocations: 0.5516 MB / 368.5 MB, free: 10.2 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009767/0.1462, allocations: 223 kB / 368.7 MB, free: 9.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002377/0.1486, allocations: 1.277 MB / 369.9 MB, free: 8.684 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005334/0.1491, allocations: 0.92 MB / 370.9 MB, free: 7.734 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002945/0.1494, allocations: 81.22 kB / 370.9 MB, free: 7.656 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001313/0.1496, allocations: 55.42 kB / 371 MB, free: 7.602 MB / 318.1 MB Notification: Performance of SimCode: time 3.9e-07/0.1496, allocations: 7.938 kB / 371 MB, free: 7.594 MB / 318.1 MB Notification: Performance of Templates: time 0.154/0.3036, allocations: 16.15 MB / 387.2 MB, free: 51.36 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/WaterPump/WaterPump.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.WaterPump.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches