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.001473/0.001473, allocations: 109.6 kB / 16.51 MB, free: 6.707 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.00159/0.00159, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.311/1.311, allocations: 222.9 MB / 241.1 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009359/0.000936, allocations: 51.38 kB / 299.9 MB, free: 6.305 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08173/0.08268, allocations: 49.44 MB / 349.4 MB, free: 4.852 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004265/0.08698, allocations: 3.781 MB / 353.2 MB, free: 1.047 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001581/0.08858, allocations: 0.993 MB / 354.2 MB, free: 48 kB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002857/0.08888, allocations: 4 kB / 354.2 MB, free: 44 kB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.08923, allocations: 91.47 kB / 354.3 MB, free: 15.95 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004402/0.08969, allocations: 174.6 kB / 354.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002668/0.08997, allocations: 119.9 kB / 354.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006721/0.09065, allocations: 0.679 MB / 355.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.09093, allocations: 187.8 kB / 355.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000293/0.09123, allocations: 247 kB / 355.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003399/0.09158, allocations: 290.6 kB / 355.9 MB, free: 14.27 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.778e-05/0.09167, allocations: 44 kB / 356 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.09178, allocations: 40 kB / 356 MB, free: 14.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.982e-05/0.09189, allocations: 115.6 kB / 356.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002767/0.09217, allocations: 302.5 kB / 356.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005447/0.09272, allocations: 0.6929 MB / 357.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.09273, allocations: 0 / 357.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.22e-07/0.09274, allocations: 4 kB / 357.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.432e-05/0.09276, allocations: 0 / 357.1 MB, free: 13.08 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.001556/0.09432, allocations: 0.9194 MB / 358 MB, free: 12.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.09436, allocations: 8.031 kB / 358 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.09451, allocations: 68.19 kB / 358.1 MB, free: 12.03 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006786/0.0952, allocations: 442.7 kB / 358.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002096/0.09542, allocations: 87.17 kB / 358.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.867e-05/0.09549, allocations: 36.28 kB / 358.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009123/0.09641, allocations: 0.51 MB / 359.2 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.09644, allocations: 4 kB / 359.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.09648, allocations: 16 kB / 359.2 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.0965, allocations: 8 kB / 359.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.09747, allocations: 379.7 kB / 359.6 MB, free: 10.46 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.002066/0.09954, allocations: 1.351 MB / 360.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009383/0.1005, allocations: 464.2 kB / 361.4 MB, free: 8.539 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000466/0.101, allocations: 204.7 kB / 361.6 MB, free: 8.336 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.145e-05/0.101, allocations: 15.98 kB / 361.6 MB, free: 8.32 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.811e-05/0.1011, allocations: 38.56 kB / 361.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of pre-optimization done (n=37): time 1.693e-06/0.1011, allocations: 0 / 361.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of matching and sorting (n=37): time 0.001787/0.1029, allocations: 0.7822 MB / 362.4 MB, free: 7.441 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001588/0.103, allocations: 452.9 kB / 362.9 MB, free: 6.895 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000523/0.1036, allocations: 478 kB / 363.3 MB, free: 6.418 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.984e-05/0.1036, allocations: 33.7 kB / 363.4 MB, free: 6.379 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001729/0.1038, allocations: 240.5 kB / 363.6 MB, free: 6.141 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.635e-05/0.1039, allocations: 134 kB / 363.7 MB, free: 6.008 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.104, allocations: 81.69 kB / 363.8 MB, free: 5.922 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.1042, allocations: 366.8 kB / 364.2 MB, free: 5.555 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000433/0.1046, allocations: 151.9 kB / 364.3 MB, free: 5.406 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000525/0.1051, allocations: 306.4 kB / 364.6 MB, free: 5.055 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008395/0.106, allocations: 374.8 kB / 365 MB, free: 4.676 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.106, allocations: 0 / 365 MB, free: 4.676 MB / 302.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001099/0.1071, allocations: 0.5115 MB / 365.5 MB, free: 4.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.467e-05/0.1072, allocations: 33.7 kB / 365.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.1072, allocations: 0 / 365.5 MB, free: 4.105 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001645/0.1074, allocations: 57.72 kB / 365.6 MB, free: 4.043 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004486/0.1078, allocations: 87.88 kB / 365.7 MB, free: 3.957 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.1101, allocations: 2.752 MB / 368.4 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004626/0.1105, allocations: 67.59 kB / 368.5 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.1106, allocations: 12 kB / 368.5 MB, free: 0.8555 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.0002163/0.1108, allocations: 177.7 kB / 368.7 MB, free: 0.6719 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.276e-05/0.1109, allocations: 51.44 kB / 368.7 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.692e-05/0.111, allocations: 56.92 kB / 368.8 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.111, allocations: 4 kB / 368.8 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.111, allocations: 0 / 368.8 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.1458/0.2568, allocations: 0.7536 MB / 369.5 MB, free: 25.7 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001849/0.2587, allocations: 1.074 MB / 370.6 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.2587, allocations: 5.797 kB / 370.6 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004953/0.2592, allocations: 98.97 kB / 370.7 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.723e-06/0.2592, allocations: 1.938 kB / 370.7 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.2593, allocations: 6.062 kB / 370.7 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.311e-06/0.2593, allocations: 7.219 kB / 370.7 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.2593, allocations: 3.75 kB / 370.7 MB, free: 25.36 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001388/0.2607, allocations: 0.709 MB / 371.4 MB, free: 25.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001727/0.2609, allocations: 170.8 kB / 371.6 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.381e-05/0.2609, allocations: 11.38 kB / 371.6 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004126/0.2614, allocations: 41.16 kB / 371.6 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.624e-05/0.2615, allocations: 27.3 kB / 371.7 MB, free: 25.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.2615, allocations: 7.312 kB / 371.7 MB, free: 25.13 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003683/0.2619, allocations: 343.2 kB / 372 MB, free: 25 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2619, allocations: 0 / 372 MB, free: 25 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000511/0.2624, allocations: 145.1 kB / 372.2 MB, free: 24.99 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.0001192/0.2625, allocations: 113.4 kB / 372.3 MB, free: 24.89 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001224/0.2637, allocations: 0.6695 MB / 372.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.2638, allocations: 1.188 kB / 372.9 MB, free: 24.5 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004414/0.2642, allocations: 200.8 kB / 373.1 MB, free: 24.45 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007645/0.265, allocations: 133.7 kB / 373.3 MB, free: 24.41 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00146/0.2665, allocations: 1.132 MB / 374.4 MB, free: 23.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002953/0.2668, allocations: 0.8357 MB / 375.2 MB, free: 23.03 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002951/0.2671, allocations: 64.23 kB / 375.3 MB, free: 23.02 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001291/0.2672, allocations: 45.55 kB / 375.3 MB, free: 23 MB / 302.1 MB Notification: Performance of SimCode: time 3e-07/0.2672, allocations: 0 / 375.3 MB, free: 23 MB / 302.1 MB Notification: Performance of Templates: time 0.01374/0.281, allocations: 8.367 MB / 383.7 MB, free: 20.72 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins/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