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.001376/0.001376, allocations: 109.2 kB / 17.17 MB, free: 6.32 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.001533/0.001533, allocations: 194.9 kB / 18.08 MB, free: 5.41 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.381/1.381, allocations: 222.9 MB / 241.8 MB, free: 15.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 51.73 kB / 300.6 MB, free: 6.312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0912/0.09237, allocations: 49.44 MB / 350.1 MB, free: 4.859 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005099/0.09751, allocations: 3.762 MB / 353.8 MB, free: 1.07 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001969/0.09953, allocations: 0.9891 MB / 354.8 MB, free: 76 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.1, allocations: 11.94 kB / 354.8 MB, free: 64 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004645/0.1005, allocations: 87.38 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006109/0.1012, allocations: 174.7 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003585/0.1015, allocations: 123.8 kB / 355.2 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008709/0.1024, allocations: 0.6836 MB / 355.9 MB, free: 15 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003212/0.1027, allocations: 191.8 kB / 356.1 MB, free: 14.81 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003793/0.1031, allocations: 243 kB / 356.3 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004461/0.1036, allocations: 302.6 kB / 356.6 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.1037, allocations: 40 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.1039, allocations: 40 kB / 356.7 MB, free: 14.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001071/0.104, allocations: 111.6 kB / 356.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003456/0.1043, allocations: 306.4 kB / 357.1 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000457/0.1048, allocations: 0.5377 MB / 357.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.1048, allocations: 0 / 357.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.1048, allocations: 0 / 357.6 MB, free: 13.25 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.117e-05/0.1048, allocations: 0 / 357.6 MB, free: 13.25 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.001795/0.1066, allocations: 0.9131 MB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.1067, allocations: 8.031 kB / 358.5 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.1069, allocations: 72.19 kB / 358.6 MB, free: 12.2 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007358/0.1076, allocations: 442.8 kB / 359 MB, free: 11.72 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.1078, allocations: 87.16 kB / 359.1 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.447e-05/0.1079, allocations: 36.28 kB / 359.2 MB, free: 11.6 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009443/0.1089, allocations: 0.5177 MB / 359.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.1089, allocations: 0 / 359.7 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.439e-05/0.1089, allocations: 16 kB / 359.7 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.109, allocations: 8 kB / 359.7 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009287/0.1099, allocations: 375.7 kB / 360.1 MB, free: 10.63 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.002254/0.1122, allocations: 1.355 MB / 361.4 MB, free: 9.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009162/0.1131, allocations: 456.6 kB / 361.9 MB, free: 8.711 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004493/0.1135, allocations: 208.7 kB / 362.1 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.424e-05/0.1136, allocations: 11.98 kB / 362.1 MB, free: 8.492 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.1136, allocations: 42.56 kB / 362.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 2.094e-06/0.1136, allocations: 4 kB / 362.1 MB, free: 8.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001782/0.1154, allocations: 0.7779 MB / 362.9 MB, free: 7.609 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001697/0.1156, allocations: 449 kB / 363.4 MB, free: 7.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005359/0.1162, allocations: 486 kB / 363.8 MB, free: 6.582 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.051e-05/0.1162, allocations: 33.7 kB / 363.9 MB, free: 6.543 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001865/0.1164, allocations: 244.5 kB / 364.1 MB, free: 6.301 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001086/0.1165, allocations: 130 kB / 364.2 MB, free: 6.172 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001373/0.1167, allocations: 77.69 kB / 364.3 MB, free: 6.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1168, allocations: 358.8 kB / 364.7 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004251/0.1172, allocations: 159.8 kB / 364.8 MB, free: 5.574 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005391/0.1178, allocations: 301.1 kB / 365.1 MB, free: 5.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008296/0.1186, allocations: 382.7 kB / 365.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.1187, allocations: 0 / 365.5 MB, free: 4.844 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001121/0.1198, allocations: 0.5115 MB / 366 MB, free: 4.312 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.67e-05/0.1198, allocations: 33.7 kB / 366 MB, free: 4.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.128e-06/0.1198, allocations: 3.984 kB / 366 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001636/0.12, allocations: 45.7 kB / 366.1 MB, free: 4.219 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004528/0.1205, allocations: 95.86 kB / 366.2 MB, free: 4.125 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002282/0.1228, allocations: 2.748 MB / 368.9 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.1233, allocations: 71.69 kB / 369 MB, free: 1.035 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.1234, allocations: 8 kB / 369 MB, free: 1.027 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 (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.0002519/0.1236, allocations: 180.5 kB / 369.2 MB, free: 0.8438 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.1237, allocations: 51.44 kB / 369.2 MB, free: 0.793 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/0.1238, allocations: 56.92 kB / 369.3 MB, free: 0.7383 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.1238, allocations: 8 kB / 369.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.1239, allocations: 0 / 369.3 MB, free: 0.7305 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1688/0.2926, allocations: 0.7581 MB / 370 MB, free: 25.76 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001973/0.2946, allocations: 1.072 MB / 371.1 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/0.2946, allocations: 0 / 371.1 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.2952, allocations: 100 kB / 371.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.2952, allocations: 3.156 kB / 371.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/0.2952, allocations: 6.141 kB / 371.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.388e-06/0.2952, allocations: 3.781 kB / 371.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2952, allocations: 4.125 kB / 371.2 MB, free: 25.43 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001437/0.2967, allocations: 0.7058 MB / 371.9 MB, free: 25.29 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001918/0.2969, allocations: 173.1 kB / 372.1 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.484e-05/0.297, allocations: 17.66 kB / 372.1 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.2974, allocations: 34.84 kB / 372.1 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.2975, allocations: 25.56 kB / 372.2 MB, free: 25.2 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/0.2975, allocations: 12.58 kB / 372.2 MB, free: 25.2 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003961/0.2979, allocations: 341.5 kB / 372.5 MB, free: 25.11 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2979, allocations: 0 / 372.5 MB, free: 25.11 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004971/0.2984, allocations: 140.9 kB / 372.7 MB, free: 25.11 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.0001214/0.2986, allocations: 110.1 kB / 372.8 MB, free: 25.01 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001439/0.3, allocations: 0.6768 MB / 373.4 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.3, allocations: 4.344 kB / 373.4 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004584/0.3005, allocations: 198.1 kB / 373.6 MB, free: 24.56 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007841/0.3013, allocations: 137.3 kB / 373.8 MB, free: 24.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.3029, allocations: 1.155 MB / 374.9 MB, free: 23.82 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002766/0.3032, allocations: 0.8352 MB / 375.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.3033, allocations: 44.77 kB / 375.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.3034, allocations: 1.375 kB / 375.8 MB, free: 23.11 MB / 302.1 MB Notification: Performance of Templates: time 0.01365/0.317, allocations: 9.15 MB / 385 MB, free: 20.09 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