Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.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.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=4000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 93.33 kB / 16.3 MB, free: 5.996 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.001487/0.001488, allocations: 189.8 kB / 17.2 MB, free: 5.91 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.347/1.347, allocations: 223.2 MB / 241.1 MB, free: 5.434 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002315/0.0002315, allocations: 9.125 kB / 300.7 MB, free: 5.973 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08253/0.08278, allocations: 50.43 MB / 351.1 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.002944/0.08574, allocations: 2.999 MB / 354.1 MB, free: 8.719 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00124/0.087, allocations: 0.9159 MB / 355 MB, free: 7.797 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001541/0.08717, allocations: 4 kB / 355.1 MB, free: 7.793 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001741/0.08736, allocations: 75.44 kB / 355.1 MB, free: 7.719 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003629/0.08773, allocations: 215.4 kB / 355.3 MB, free: 7.508 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002018/0.08794, allocations: 95.89 kB / 355.4 MB, free: 7.414 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005331/0.08848, allocations: 498.4 kB / 355.9 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000225/0.08872, allocations: 158.8 kB / 356.1 MB, free: 6.766 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002047/0.08893, allocations: 219.2 kB / 356.3 MB, free: 6.551 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000268/0.0892, allocations: 254.9 kB / 356.5 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.784e-05/0.08927, allocations: 39.88 kB / 356.6 MB, free: 6.262 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.831e-05/0.08935, allocations: 36 kB / 356.6 MB, free: 6.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.849e-05/0.08944, allocations: 91.64 kB / 356.7 MB, free: 6.137 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.08955, allocations: 141.4 kB / 356.8 MB, free: 5.992 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003825/0.08993, allocations: 0.4908 MB / 357.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.08994, allocations: 0 / 357.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.08995, allocations: 0 / 357.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.462e-06/0.08996, allocations: 0 / 357.3 MB, free: 5.5 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001266/0.09123, allocations: 0.8352 MB / 358.2 MB, free: 4.609 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.274e-05/0.09128, allocations: 8.031 kB / 358.2 MB, free: 4.602 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.09138, allocations: 67.25 kB / 358.2 MB, free: 4.535 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.09198, allocations: 405.9 kB / 358.6 MB, free: 4.098 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001931/0.09218, allocations: 82.67 kB / 358.7 MB, free: 4.012 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.568e-05/0.09225, allocations: 39.91 kB / 358.8 MB, free: 3.973 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008418/0.0931, allocations: 0.5137 MB / 359.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.355e-05/0.09312, allocations: 0 / 359.3 MB, free: 3.406 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.288e-05/0.09317, allocations: 23.95 kB / 359.3 MB, free: 3.383 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.09319, allocations: 15.98 kB / 359.3 MB, free: 3.367 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009104/0.0941, allocations: 395.7 kB / 359.7 MB, free: 2.977 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.001956/0.09607, allocations: 1.32 MB / 361 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.09712, allocations: 0.516 MB / 361.5 MB, free: 1.02 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.09717, allocations: 4 kB / 361.5 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.158e-05/0.09721, allocations: 38.56 kB / 361.6 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of pre-optimization done (n=37): time 1.773e-06/0.09721, allocations: 0 / 361.6 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of matching and sorting (n=37): time 0.001732/0.09895, allocations: 0.8111 MB / 362.4 MB, free: 112 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002052/0.09917, allocations: 449 kB / 362.8 MB, free: 15.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004732/0.09965, allocations: 442 kB / 363.3 MB, free: 15.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.727e-05/0.09971, allocations: 37.7 kB / 363.3 MB, free: 15.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.09989, allocations: 244.4 kB / 363.5 MB, free: 14.84 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.1, allocations: 134.1 kB / 363.7 MB, free: 14.71 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.068e-05/0.1, allocations: 11.94 kB / 363.7 MB, free: 14.7 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.1002, allocations: 358.8 kB / 364 MB, free: 14.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004078/0.1006, allocations: 167.9 kB / 364.2 MB, free: 14.17 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005089/0.1011, allocations: 314.4 kB / 364.5 MB, free: 13.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004302/0.1015, allocations: 209.6 kB / 364.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1016, allocations: 3.953 kB / 364.7 MB, free: 13.6 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001071/0.1026, allocations: 0.5386 MB / 365.2 MB, free: 13.04 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.575e-05/0.1027, allocations: 33.73 kB / 365.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.1027, allocations: 0 / 365.3 MB, free: 13 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.1029, allocations: 53.62 kB / 365.3 MB, free: 12.94 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.1033, allocations: 95.88 kB / 365.4 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002084/0.1054, allocations: 2.768 MB / 368.2 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.1059, allocations: 63.7 kB / 368.2 MB, free: 9.746 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.1059, allocations: 15.98 kB / 368.3 MB, free: 9.73 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002169/0.1061, allocations: 173.7 kB / 368.4 MB, free: 9.551 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.067e-05/0.1062, allocations: 55.34 kB / 368.5 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.1063, allocations: 56.92 kB / 368.5 MB, free: 9.441 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.1064, allocations: 4 kB / 368.5 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.945e-06/0.1064, allocations: 4 kB / 368.5 MB, free: 9.434 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001078/0.1074, allocations: 0.7893 MB / 369.3 MB, free: 8.539 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002048/0.1095, allocations: 1.063 MB / 370.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1095, allocations: 0 / 370.4 MB, free: 7.41 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007283/0.1103, allocations: 115.8 kB / 370.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.1103, allocations: 0 / 370.5 MB, free: 7.297 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.18e-05/0.1103, allocations: 4 kB / 370.5 MB, free: 7.293 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.1103, allocations: 4 kB / 370.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1104, allocations: 0 / 370.5 MB, free: 7.289 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001467/0.1118, allocations: 0.7529 MB / 371.3 MB, free: 6.516 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002123/0.112, allocations: 164.4 kB / 371.4 MB, free: 6.336 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.1121, allocations: 8 kB / 371.4 MB, free: 6.328 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004051/0.1125, allocations: 43.97 kB / 371.5 MB, free: 6.285 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.346e-05/0.1126, allocations: 23.95 kB / 371.5 MB, free: 6.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.999e-05/0.1127, allocations: 12.06 kB / 371.5 MB, free: 6.25 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003378/0.113, allocations: 322.8 kB / 371.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.113, allocations: 3.938 kB / 371.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005689/0.1136, allocations: 139.8 kB / 372 MB, free: 5.797 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001381/0.1137, allocations: 103.2 kB / 372.1 MB, free: 5.688 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001268/0.115, allocations: 0.6877 MB / 372.8 MB, free: 4.961 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.115, allocations: 4 kB / 372.8 MB, free: 4.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004422/0.1155, allocations: 207.8 kB / 373 MB, free: 4.754 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00064/0.1161, allocations: 129.9 kB / 373.1 MB, free: 4.629 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001589/0.1177, allocations: 1.153 MB / 374.3 MB, free: 3.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.1181, allocations: 0.8471 MB / 375.1 MB, free: 2.582 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002431/0.1184, allocations: 59.42 kB / 375.2 MB, free: 2.52 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.1185, allocations: 43.38 kB / 375.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1185, allocations: 0 / 375.2 MB, free: 2.48 MB / 302.1 MB Notification: Performance of Templates: time 0.01207/0.1306, allocations: 7.561 MB / 382.8 MB, free: 11.06 MB / 318.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches