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.001621/0.001621, allocations: 107.5 kB / 20.44 MB, free: 1.066 MB / 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.001492/0.001492, allocations: 186 kB / 23.7 MB, free: 4.191 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.414/1.414, allocations: 225.7 MB / 252.5 MB, free: 12.84 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001675/0.001675, allocations: 51.92 kB / 370.9 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2415, allocations: 52.18 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005017/0.2466, allocations: 3.434 MB / 426.5 MB, free: 11.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001502/0.2481, allocations: 0.9463 MB / 427.4 MB, free: 10.07 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001756/0.2482, allocations: 11.94 kB / 427.4 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003173/0.2486, allocations: 111.1 kB / 427.6 MB, free: 9.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004046/0.249, allocations: 206.3 kB / 427.8 MB, free: 9.75 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002786/0.2492, allocations: 139.7 kB / 427.9 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008064/0.25, allocations: 0.7157 MB / 428.6 MB, free: 8.895 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.2503, allocations: 127.2 kB / 428.7 MB, free: 8.766 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003/0.2506, allocations: 275 kB / 429 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003523/0.2509, allocations: 262.7 kB / 429.3 MB, free: 8.238 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001003/0.251, allocations: 60 kB / 429.3 MB, free: 8.18 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001175/0.2512, allocations: 60 kB / 429.4 MB, free: 8.121 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.2513, allocations: 135.5 kB / 429.5 MB, free: 7.988 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002936/0.2516, allocations: 266.8 kB / 429.8 MB, free: 7.727 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000833/0.2524, allocations: 0.7299 MB / 430.5 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.2524, allocations: 0 / 430.5 MB, free: 7 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.2524, allocations: 0 / 430.5 MB, free: 7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.027e-05/0.2524, allocations: 0 / 430.5 MB, free: 7 MB / 334.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.001755/0.2542, allocations: 0.8677 MB / 431.4 MB, free: 6.098 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.2542, allocations: 11.97 kB / 431.4 MB, free: 6.086 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001282/0.2544, allocations: 68.56 kB / 431.4 MB, free: 6.02 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.2551, allocations: 377.3 kB / 431.8 MB, free: 5.625 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.2553, allocations: 110.7 kB / 431.9 MB, free: 5.496 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.356e-05/0.2553, allocations: 40.38 kB / 432 MB, free: 5.457 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.2565, allocations: 0.8786 MB / 432.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.766e-05/0.2565, allocations: 0 / 432.8 MB, free: 4.434 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.777e-05/0.2566, allocations: 20 kB / 432.9 MB, free: 4.414 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.222e-05/0.2566, allocations: 11.98 kB / 432.9 MB, free: 4.402 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008868/0.2575, allocations: 347.8 kB / 433.2 MB, free: 4.062 MB / 334.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.2595, allocations: 0.989 MB / 434.2 MB, free: 3.027 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.2604, allocations: 359.4 kB / 434.6 MB, free: 2.664 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004232/0.2609, allocations: 176.7 kB / 434.7 MB, free: 2.488 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-05/0.2609, allocations: 4 kB / 434.7 MB, free: 2.484 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.164e-05/0.2609, allocations: 38.56 kB / 434.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of pre-optimization done (n=37): time 1.663e-06/0.2609, allocations: 0 / 434.8 MB, free: 2.438 MB / 334.1 MB Notification: Performance of matching and sorting (n=37): time 0.001635/0.2626, allocations: 0.5865 MB / 435.4 MB, free: 1.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002614/0.2628, allocations: 452.9 kB / 435.8 MB, free: 1.293 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005309/0.2634, allocations: 437.9 kB / 436.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.108e-05/0.2634, allocations: 37.7 kB / 436.3 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002169/0.2636, allocations: 248.5 kB / 436.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000127/0.2638, allocations: 142.8 kB / 436.6 MB, free: 432 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001457/0.2639, allocations: 77.69 kB / 436.7 MB, free: 348 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.2641, allocations: 358.7 kB / 437.1 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004083/0.2645, allocations: 169.6 kB / 437.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007785/0.2653, allocations: 0.6891 MB / 437.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008096/0.2661, allocations: 347 kB / 438.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.2661, allocations: 3.938 kB / 438.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001057/0.2672, allocations: 0.5135 MB / 438.8 MB, free: 14.07 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.109e-05/0.2672, allocations: 33.7 kB / 438.8 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2672, allocations: 3.938 kB / 438.8 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001694/0.2674, allocations: 53.69 kB / 438.9 MB, free: 13.97 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004237/0.2678, allocations: 83.88 kB / 438.9 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002589/0.2704, allocations: 2.705 MB / 441.7 MB, free: 10.99 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003965/0.2708, allocations: 47.8 kB / 441.7 MB, free: 10.94 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.334e-05/0.2708, allocations: 20.14 kB / 441.7 MB, free: 10.92 MB / 350.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.0002278/0.271, allocations: 173.7 kB / 441.9 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.551e-05/0.2711, allocations: 51.67 kB / 441.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.2712, allocations: 52.62 kB / 442 MB, free: 10.63 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.2713, allocations: 7.984 kB / 442 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.217e-06/0.2713, allocations: 240 / 442 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/0.2723, allocations: 0.7425 MB / 442.7 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001721/0.274, allocations: 0.8881 MB / 443.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.274, allocations: 0 / 443.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004626/0.2745, allocations: 91.88 kB / 443.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.2745, allocations: 0 / 443.7 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.343e-05/0.2745, allocations: 8 kB / 443.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.2745, allocations: 0 / 443.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2745, allocations: 3.938 kB / 443.7 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.2759, allocations: 0.6766 MB / 444.4 MB, free: 8.047 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.2761, allocations: 95.56 kB / 444.5 MB, free: 7.953 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.391e-05/0.2762, allocations: 8 kB / 444.5 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003752/0.2766, allocations: 31.97 kB / 444.5 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.195e-05/0.2767, allocations: 27.89 kB / 444.6 MB, free: 7.887 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.052e-05/0.2767, allocations: 8 kB / 444.6 MB, free: 7.879 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003666/0.277, allocations: 311.1 kB / 444.9 MB, free: 7.582 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.277, allocations: 4.062 kB / 444.9 MB, free: 7.578 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004608/0.2775, allocations: 147.8 kB / 445 MB, free: 7.434 MB / 350.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.0001325/0.2776, allocations: 103.2 kB / 445.1 MB, free: 7.324 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001309/0.2789, allocations: 0.666 MB / 445.8 MB, free: 6.613 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.2789, allocations: 4 kB / 445.8 MB, free: 6.609 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.2794, allocations: 171.8 kB / 446 MB, free: 6.441 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006483/0.28, allocations: 133.8 kB / 446.1 MB, free: 6.309 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.2817, allocations: 0.97 MB / 447.1 MB, free: 5.305 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002345/0.2819, allocations: 234 kB / 447.3 MB, free: 5.051 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002399/0.2822, allocations: 60.25 kB / 447.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.2823, allocations: 39.44 kB / 447.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of SimCode: time 3.8e-07/0.2823, allocations: 0 / 447.4 MB, free: 4.953 MB / 350.1 MB Notification: Performance of Templates: time 0.01749/0.2998, allocations: 10.1 MB / 457.5 MB, free: 11.11 MB / 366.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.754341207444668]