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.0009619/0.0009619, allocations: 87.78 kB / 17.3 MB, free: 6.363 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.001176/0.001176, allocations: 180.9 kB / 18.22 MB, free: 5.523 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.315/1.315, allocations: 223.3 MB / 242.3 MB, free: 212 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002572/0.0002572, allocations: 11.94 kB / 302.1 MB, free: 6.129 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1018, allocations: 50.41 MB / 352.5 MB, free: 3.711 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.003368/0.1053, allocations: 3.399 MB / 355.9 MB, free: 296 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1068, allocations: 0.9194 MB / 356.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002162/0.1071, allocations: 11.94 kB / 356.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002754/0.1073, allocations: 87.36 kB / 356.9 MB, free: 15.26 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003894/0.1077, allocations: 174.6 kB / 357.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002651/0.108, allocations: 123.8 kB / 357.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006667/0.1087, allocations: 0.6761 MB / 357.9 MB, free: 14.29 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.109, allocations: 191.7 kB / 358.1 MB, free: 14.1 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.1092, allocations: 239 kB / 358.3 MB, free: 13.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002768/0.1095, allocations: 274.8 kB / 358.6 MB, free: 13.6 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.846e-05/0.1096, allocations: 36 kB / 358.6 MB, free: 13.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.499e-05/0.1097, allocations: 36 kB / 358.6 MB, free: 13.53 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.112e-05/0.1098, allocations: 119.4 kB / 358.7 MB, free: 13.41 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.11, allocations: 312.2 kB / 359.1 MB, free: 13.1 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004087/0.1105, allocations: 0.5297 MB / 359.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1105, allocations: 0 / 359.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1105, allocations: 0 / 359.6 MB, free: 12.57 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.607e-06/0.1105, allocations: 0 / 359.6 MB, free: 12.57 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001333/0.1118, allocations: 0.8276 MB / 360.4 MB, free: 11.68 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.1119, allocations: 12.03 kB / 360.4 MB, free: 11.67 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.112, allocations: 72.19 kB / 360.5 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006525/0.1127, allocations: 438.8 kB / 360.9 MB, free: 11.13 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002137/0.1129, allocations: 91.22 kB / 361 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.846e-05/0.113, allocations: 36.38 kB / 361 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009158/0.1139, allocations: 0.5255 MB / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.1139, allocations: 0 / 361.6 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.907e-05/0.114, allocations: 20 kB / 361.6 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.114, allocations: 8 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009506/0.115, allocations: 395.8 kB / 362 MB, free: 10 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.002109/0.1171, allocations: 1.355 MB / 363.3 MB, free: 8.559 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009128/0.118, allocations: 488.3 kB / 363.8 MB, free: 8.059 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004697/0.1185, allocations: 220.8 kB / 364 MB, free: 7.84 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.696e-05/0.1185, allocations: 7.984 kB / 364 MB, free: 7.832 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.531e-05/0.1186, allocations: 38.56 kB / 364.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.053e-06/0.1186, allocations: 0 / 364.1 MB, free: 7.785 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001757/0.1203, allocations: 0.813 MB / 364.9 MB, free: 6.922 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001724/0.1205, allocations: 452.9 kB / 365.3 MB, free: 6.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005016/0.121, allocations: 485.9 kB / 365.8 MB, free: 5.891 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.257e-05/0.1211, allocations: 37.7 kB / 365.8 MB, free: 5.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1212, allocations: 240.5 kB / 366.1 MB, free: 5.609 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.1213, allocations: 126.1 kB / 366.2 MB, free: 5.484 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.725e-05/0.1214, allocations: 37.7 kB / 366.2 MB, free: 5.441 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.1215, allocations: 358.8 kB / 366.6 MB, free: 5.082 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.122, allocations: 171.9 kB / 366.8 MB, free: 4.914 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005413/0.1225, allocations: 325.2 kB / 367.1 MB, free: 4.547 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008585/0.1234, allocations: 394.8 kB / 367.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.1234, allocations: 0 / 367.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00113/0.1246, allocations: 0.535 MB / 368 MB, free: 3.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.821e-05/0.1246, allocations: 29.7 kB / 368 MB, free: 3.559 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.1246, allocations: 4 kB / 368 MB, free: 3.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.1248, allocations: 53.69 kB / 368.1 MB, free: 3.496 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004453/0.1252, allocations: 99.88 kB / 368.2 MB, free: 3.398 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002093/0.1273, allocations: 2.744 MB / 370.9 MB, free: 392 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004966/0.1278, allocations: 67.62 kB / 371 MB, free: 324 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.865e-05/0.1279, allocations: 16 kB / 371 MB, free: 308 kB / 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 (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 {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002166/0.1281, allocations: 177.7 kB / 371.2 MB, free: 120 kB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.75e-05/0.1282, allocations: 55.34 kB / 371.2 MB, free: 64 kB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/0.1283, allocations: 52.94 kB / 371.3 MB, free: 12 kB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1283, allocations: 4 kB / 371.3 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1283, allocations: 7.938 kB / 371.3 MB, free: 0 / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1677/0.296, allocations: 0.7734 MB / 372.1 MB, free: 24.38 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/0.2981, allocations: 1.096 MB / 373.2 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2982, allocations: 0 / 373.2 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.2987, allocations: 100.1 kB / 373.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.2987, allocations: 2.688 kB / 373.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.2987, allocations: 9.062 kB / 373.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/0.2987, allocations: 2.266 kB / 373.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.2987, allocations: 4.375 kB / 373.3 MB, free: 24.04 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001485/0.3002, allocations: 0.744 MB / 374 MB, free: 23.9 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.3005, allocations: 171 kB / 374.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.075e-05/0.3006, allocations: 12.98 kB / 374.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004256/0.301, allocations: 46.22 kB / 374.2 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.3011, allocations: 29.67 kB / 374.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.483e-05/0.3011, allocations: 9.625 kB / 374.3 MB, free: 23.8 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004523/0.3016, allocations: 338.8 kB / 374.6 MB, free: 23.71 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3016, allocations: 0.625 kB / 374.6 MB, free: 23.71 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000495/0.3021, allocations: 140.3 kB / 374.8 MB, free: 23.71 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001229/0.3022, allocations: 116.9 kB / 374.9 MB, free: 23.62 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.3035, allocations: 0.7001 MB / 375.6 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3035, allocations: 3.938 kB / 375.6 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004619/0.3039, allocations: 204.2 kB / 375.8 MB, free: 23.33 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.3047, allocations: 142.6 kB / 375.9 MB, free: 23.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.3065, allocations: 1.226 MB / 377.1 MB, free: 22.62 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3067, allocations: 0.8314 MB / 378 MB, free: 21.92 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.3069, allocations: 48.72 kB / 378 MB, free: 21.91 MB / 302.1 MB Notification: Performance of SimCode: time 4.51e-07/0.3069, allocations: 0 / 378 MB, free: 21.91 MB / 302.1 MB Notification: Performance of Templates: time 0.01298/0.3199, allocations: 9.097 MB / 387.1 MB, free: 18.8 MB / 302.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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches