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.001853/0.001853, allocations: 73.48 kB / 21.24 MB, free: 0.5547 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.001728/0.001728, allocations: 150 kB / 24.49 MB, free: 3.723 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.395/1.395, allocations: 173.4 MB / 201.1 MB, free: 12.68 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 0.001582/0.001582, allocations: 47.84 kB / 319.4 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08538/0.08697, allocations: 52.16 MB / 371.6 MB, free: 7.355 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005146/0.09211, allocations: 3.433 MB / 375 MB, free: 3.906 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001595/0.09371, allocations: 0.9502 MB / 375.9 MB, free: 2.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001785/0.09388, allocations: 11.94 kB / 376 MB, free: 2.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003154/0.0942, allocations: 103.1 kB / 376.1 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.09462, allocations: 214.3 kB / 376.3 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002814/0.0949, allocations: 131.8 kB / 376.4 MB, free: 2.496 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008147/0.09571, allocations: 0.7197 MB / 377.1 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.09597, allocations: 131.2 kB / 377.2 MB, free: 1.641 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.09627, allocations: 271 kB / 377.5 MB, free: 1.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003787/0.09665, allocations: 266.6 kB / 377.8 MB, free: 1.113 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 9.625e-05/0.09675, allocations: 60 kB / 377.8 MB, free: 1.055 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000116/0.09686, allocations: 60 kB / 377.9 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001308/0.09699, allocations: 131.6 kB / 378 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002998/0.09729, allocations: 278.8 kB / 378.3 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007926/0.09809, allocations: 0.7236 MB / 379 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.09809, allocations: 0 / 379 MB, free: 15.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.09809, allocations: 0 / 379 MB, free: 15.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.676e-06/0.0981, allocations: 4 kB / 379 MB, free: 15.86 MB / 350.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.001606/0.0997, allocations: 0.8569 MB / 379.9 MB, free: 14.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.09974, allocations: 12.92 kB / 379.9 MB, free: 14.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000119/0.09986, allocations: 68.56 kB / 379.9 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/0.1006, allocations: 381.4 kB / 380.3 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.1007, allocations: 114.7 kB / 380.4 MB, free: 14.36 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.697e-05/0.1008, allocations: 40.36 kB / 380.5 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001145/0.102, allocations: 0.8825 MB / 381.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.605e-05/0.102, allocations: 0 / 381.4 MB, free: 13.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.291e-05/0.102, allocations: 16 kB / 381.4 MB, free: 13.28 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.102, allocations: 12 kB / 381.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008916/0.1029, allocations: 343.8 kB / 381.7 MB, free: 12.93 MB / 350.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.001988/0.1049, allocations: 0.9892 MB / 382.7 MB, free: 11.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.1058, allocations: 367.3 kB / 383.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004424/0.1063, allocations: 172.8 kB / 383.2 MB, free: 11.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.887e-05/0.1063, allocations: 4 kB / 383.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.01e-05/0.1063, allocations: 46.48 kB / 383.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.813e-06/0.1063, allocations: 0 / 383.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.001645/0.108, allocations: 0.5826 MB / 383.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002547/0.1082, allocations: 445 kB / 384.3 MB, free: 10.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005249/0.1088, allocations: 433.9 kB / 384.7 MB, free: 9.73 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.156e-05/0.1088, allocations: 33.7 kB / 384.8 MB, free: 9.691 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002108/0.109, allocations: 252.5 kB / 385 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001246/0.1092, allocations: 146.8 kB / 385.1 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.1093, allocations: 81.62 kB / 385.2 MB, free: 9.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001884/0.1095, allocations: 358.7 kB / 385.6 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004295/0.1099, allocations: 165.6 kB / 385.7 MB, free: 8.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007722/0.1107, allocations: 0.6929 MB / 386.4 MB, free: 7.836 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008328/0.1115, allocations: 355 kB / 386.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1115, allocations: 0 / 386.8 MB, free: 7.477 MB / 350.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001104/0.1126, allocations: 0.5097 MB / 387.3 MB, free: 6.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.876e-05/0.1127, allocations: 33.7 kB / 387.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.1127, allocations: 7.922 kB / 387.3 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000172/0.1128, allocations: 57.67 kB / 387.4 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004361/0.1133, allocations: 83.88 kB / 387.5 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002656/0.1159, allocations: 2.693 MB / 390.2 MB, free: 3.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004088/0.1163, allocations: 51.78 kB / 390.2 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.231e-05/0.1164, allocations: 12.23 kB / 390.2 MB, free: 3.797 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.0002318/0.1166, allocations: 177.8 kB / 390.4 MB, free: 3.613 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.407e-05/0.1167, allocations: 55.66 kB / 390.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001194/0.1168, allocations: 56.61 kB / 390.5 MB, free: 3.496 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.508e-06/0.1168, allocations: 4 kB / 390.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.1168, allocations: 3.938 kB / 390.5 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001107/0.1179, allocations: 0.7386 MB / 391.3 MB, free: 2.645 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00167/0.1196, allocations: 0.8766 MB / 392.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1196, allocations: 0 / 392.1 MB, free: 1.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.1201, allocations: 91.88 kB / 392.2 MB, free: 1.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1201, allocations: 7.938 kB / 392.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.929e-05/0.1201, allocations: 12 kB / 392.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1201, allocations: 0 / 392.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.1201, allocations: 3.938 kB / 392.2 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.1215, allocations: 0.6766 MB / 392.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.1217, allocations: 95.56 kB / 393 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.823e-05/0.1218, allocations: 4 kB / 393 MB, free: 0.8125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003776/0.1222, allocations: 31.97 kB / 393 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.178e-05/0.1222, allocations: 27.89 kB / 393.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.311e-05/0.1223, allocations: 11.94 kB / 393.1 MB, free: 0.7422 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003664/0.1226, allocations: 311.1 kB / 393.4 MB, free: 456 kB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1226, allocations: 0 / 393.4 MB, free: 456 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004724/0.1231, allocations: 143.8 kB / 393.5 MB, free: 312 kB / 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.0001409/0.1232, allocations: 111.2 kB / 393.6 MB, free: 192 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001304/0.1245, allocations: 0.6621 MB / 394.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.1245, allocations: 8.062 kB / 394.3 MB, free: 15.47 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.125, allocations: 171.8 kB / 394.5 MB, free: 15.3 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.1256, allocations: 137.3 kB / 394.6 MB, free: 15.17 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/0.1274, allocations: 0.9622 MB / 395.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002454/0.1276, allocations: 238.1 kB / 395.8 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002293/0.1279, allocations: 56.25 kB / 395.9 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001208/0.128, allocations: 40.5 kB / 395.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.128, allocations: 4 kB / 395.9 MB, free: 13.82 MB / 366.1 MB Notification: Performance of Templates: time 0.01732/0.1453, allocations: 9.399 MB / 405.3 MB, free: 4.641 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 -s ida -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/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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.5378628129838035]