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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 96.67 kB / 20.95 MB, free: 452 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001715/0.001715, allocations: 150.9 kB / 24.24 MB, free: 3.488 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 173.3 MB / 200.8 MB, free: 12.71 MB / 190.1 MB " [Timeout remaining time 179] 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=2000,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=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.223e-05/2.382e-05, allocations: 2.312 kB / 267.3 MB, free: 10.2 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.004824/0.004848, allocations: 3.442 MB / 270.7 MB, free: 6.73 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001756/0.006604, allocations: 0.9501 MB / 271.7 MB, free: 5.773 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001883/0.006793, allocations: 7.938 kB / 271.7 MB, free: 5.766 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003275/0.00712, allocations: 119 kB / 271.8 MB, free: 5.648 MB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004216/0.007542, allocations: 210.2 kB / 272 MB, free: 5.441 MB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002862/0.007828, allocations: 147.7 kB / 272.2 MB, free: 5.297 MB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008174/0.008645, allocations: 0.7272 MB / 272.9 MB, free: 4.566 MB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.008901, allocations: 139.2 kB / 273 MB, free: 4.426 MB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004731/0.009375, allocations: 403.1 kB / 273.4 MB, free: 4.031 MB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003282/0.009703, allocations: 219.4 kB / 273.6 MB, free: 3.816 MB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 9.488e-05/0.009798, allocations: 60 kB / 273.7 MB, free: 3.758 MB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.009925, allocations: 60 kB / 273.7 MB, free: 3.699 MB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001346/0.01006, allocations: 139.5 kB / 273.9 MB, free: 3.562 MB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002734/0.01033, allocations: 231.4 kB / 274.1 MB, free: 3.336 MB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008161/0.01115, allocations: 0.7359 MB / 274.8 MB, free: 2.598 MB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.01115, allocations: 8 kB / 274.9 MB, free: 2.59 MB / 254.1 MB Notification: Performance of FrontEnd: time 8.51e-07/0.01115, allocations: 0 / 274.9 MB, free: 2.59 MB / 254.1 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.01116, allocations: 0 / 274.9 MB, free: 2.59 MB / 254.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.001623/0.01279, allocations: 0.8491 MB / 275.7 MB, free: 1.703 MB / 254.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.01282, allocations: 8.922 kB / 275.7 MB, free: 1.695 MB / 254.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.01299, allocations: 96.56 kB / 275.8 MB, free: 1.602 MB / 254.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007574/0.01375, allocations: 388.6 kB / 276.2 MB, free: 1.195 MB / 254.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.01388, allocations: 106.7 kB / 276.3 MB, free: 1.07 MB / 254.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.95e-05/0.01395, allocations: 40.31 kB / 276.3 MB, free: 1.031 MB / 254.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001135/0.01509, allocations: 0.8829 MB / 277.2 MB, free: 0 / 254.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.725e-05/0.01511, allocations: 192 / 277.2 MB, free: 0 / 254.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.01517, allocations: 16.2 kB / 277.2 MB, free: 15.98 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.01518, allocations: 8 kB / 277.2 MB, free: 15.97 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009268/0.0161, allocations: 355.7 kB / 277.6 MB, free: 15.62 MB / 270.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.002056/0.01816, allocations: 1.001 MB / 278.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/0.01909, allocations: 358.8 kB / 278.9 MB, free: 14.22 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004443/0.01953, allocations: 172.8 kB / 279.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.627e-05/0.01957, allocations: 4 kB / 279.1 MB, free: 14.05 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.327e-05/0.01961, allocations: 47.12 kB / 279.2 MB, free: 13.99 MB / 270.1 MB Notification: Performance of pre-optimization done (n=37): time 1.593e-06/0.01961, allocations: 0 / 279.2 MB, free: 13.99 MB / 270.1 MB Notification: Performance of matching and sorting (n=37): time 0.001715/0.02133, allocations: 0.6041 MB / 279.8 MB, free: 13.38 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002412/0.02157, allocations: 448.9 kB / 280.2 MB, free: 12.83 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.02211, allocations: 430 kB / 280.6 MB, free: 12.41 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 4.584e-05/0.02216, allocations: 37.7 kB / 280.7 MB, free: 12.36 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002116/0.02237, allocations: 256.5 kB / 280.9 MB, free: 12.11 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001174/0.02249, allocations: 126.9 kB / 281 MB, free: 11.98 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001454/0.02263, allocations: 77.69 kB / 281.1 MB, free: 11.9 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000178/0.02281, allocations: 362.7 kB / 281.5 MB, free: 11.54 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004325/0.02324, allocations: 169.6 kB / 281.6 MB, free: 11.36 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007775/0.02402, allocations: 0.7028 MB / 282.3 MB, free: 10.51 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008358/0.02486, allocations: 350.9 kB / 282.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.02486, allocations: 0 / 282.7 MB, free: 10.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001173/0.02603, allocations: 0.5289 MB / 283.2 MB, free: 9.602 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.104e-05/0.02607, allocations: 29.7 kB / 283.2 MB, free: 9.566 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.02608, allocations: 0 / 283.2 MB, free: 9.566 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001775/0.02626, allocations: 53.62 kB / 283.3 MB, free: 9.508 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004568/0.02671, allocations: 87.88 kB / 283.4 MB, free: 9.422 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002697/0.02941, allocations: 2.704 MB / 286.1 MB, free: 6.52 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000446/0.02986, allocations: 51.8 kB / 286.1 MB, free: 6.469 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.238e-05/0.02989, allocations: 16.16 kB / 286.1 MB, free: 6.453 MB / 270.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.000229/0.03012, allocations: 173.7 kB / 286.3 MB, free: 6.273 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.03024, allocations: 67.67 kB / 286.4 MB, free: 6.207 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000116/0.03036, allocations: 52.61 kB / 286.4 MB, free: 6.148 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.03036, allocations: 7.938 kB / 286.4 MB, free: 6.141 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.03037, allocations: 4 kB / 286.4 MB, free: 6.137 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001115/0.03148, allocations: 0.7385 MB / 287.2 MB, free: 5.293 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001712/0.03319, allocations: 0.874 MB / 288 MB, free: 4.371 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.0332, allocations: 4 kB / 288.1 MB, free: 4.367 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005018/0.0337, allocations: 91.88 kB / 288.1 MB, free: 4.277 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.0337, allocations: 4 kB / 288.1 MB, free: 4.273 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.03373, allocations: 7.984 kB / 288.2 MB, free: 4.266 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.458e-06/0.03373, allocations: 4 kB / 288.2 MB, free: 4.262 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.03374, allocations: 0 / 288.2 MB, free: 4.262 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.03519, allocations: 0.6801 MB / 288.8 MB, free: 3.562 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001956/0.03539, allocations: 99.5 kB / 288.9 MB, free: 3.465 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.217e-05/0.03545, allocations: 8 kB / 288.9 MB, free: 3.457 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003881/0.03584, allocations: 23.97 kB / 289 MB, free: 3.434 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.713e-05/0.03592, allocations: 31.89 kB / 289 MB, free: 3.402 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.03594, allocations: 8 kB / 289 MB, free: 3.395 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0003747/0.03631, allocations: 311.1 kB / 289.3 MB, free: 3.094 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.03631, allocations: 4.062 kB / 289.3 MB, free: 3.09 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0004673/0.03678, allocations: 151.8 kB / 289.5 MB, free: 2.941 MB / 270.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.0001486/0.03693, allocations: 107.2 kB / 289.6 MB, free: 2.828 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.03827, allocations: 0.6652 MB / 290.2 MB, free: 2.121 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.03828, allocations: 0 / 290.2 MB, free: 2.121 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004478/0.03872, allocations: 172.2 kB / 290.4 MB, free: 1.953 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006824/0.03941, allocations: 142 kB / 290.5 MB, free: 1.812 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00165/0.04106, allocations: 0.9013 MB / 291.4 MB, free: 0.8789 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.04133, allocations: 238.1 kB / 291.7 MB, free: 0.6211 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 0.0002532/0.04158, allocations: 60.25 kB / 291.7 MB, free: 0.5625 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001226/0.0417, allocations: 44.48 kB / 291.8 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of SimCode: time 3.4e-07/0.0417, allocations: 0 / 291.8 MB, free: 0.5195 MB / 270.1 MB Notification: Performance of Templates: time 0.01791/0.05961, allocations: 9.357 MB / 301.1 MB, free: 7.398 MB / 286.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.4977782890200615]