Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 69.72 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 161.9 kB / 24.5 MB, free: 3.711 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 177.2 MB / 204.9 MB, free: 9.004 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 55.61 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09434/0.09595, allocations: 53.34 MB / 378.9 MB, free: 15.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005031/0.101, allocations: 3.438 MB / 382.3 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001795/0.1028, allocations: 0.9813 MB / 383.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001775/0.103, allocations: 7.938 kB / 383.3 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003141/0.1033, allocations: 107.1 kB / 383.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004092/0.1037, allocations: 206.3 kB / 383.6 MB, free: 10.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.104, allocations: 143.8 kB / 383.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007982/0.1048, allocations: 0.7042 MB / 384.5 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000256/0.105, allocations: 139.2 kB / 384.6 MB, free: 9.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002926/0.1053, allocations: 279 kB / 384.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003881/0.1057, allocations: 270.6 kB / 385.1 MB, free: 9.371 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.186e-05/0.1058, allocations: 60 kB / 385.2 MB, free: 9.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.1059, allocations: 60 kB / 385.3 MB, free: 9.254 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001322/0.106, allocations: 131.5 kB / 385.4 MB, free: 9.125 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002864/0.1063, allocations: 258.8 kB / 385.6 MB, free: 8.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.1071, allocations: 0.7314 MB / 386.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.356e-06/0.1071, allocations: 0 / 386.4 MB, free: 8.137 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.1071, allocations: 4 kB / 386.4 MB, free: 8.133 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.935e-06/0.1071, allocations: 0 / 386.4 MB, free: 8.133 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.001608/0.1087, allocations: 0.8608 MB / 387.2 MB, free: 7.234 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.1087, allocations: 12.03 kB / 387.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001216/0.1089, allocations: 72.52 kB / 387.3 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007755/0.1096, allocations: 377.4 kB / 387.7 MB, free: 6.758 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001344/0.1098, allocations: 114.6 kB / 387.8 MB, free: 6.625 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.398e-05/0.1098, allocations: 32.38 kB / 387.8 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.1109, allocations: 0.8903 MB / 388.7 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.111, allocations: 4 kB / 388.7 MB, free: 5.551 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.074e-05/0.111, allocations: 19.94 kB / 388.8 MB, free: 5.531 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.111, allocations: 8 kB / 388.8 MB, free: 5.523 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008692/0.1119, allocations: 343.8 kB / 389.1 MB, free: 5.188 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.001958/0.1138, allocations: 0.9931 MB / 390.1 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/0.1147, allocations: 353.1 kB / 390.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004243/0.1151, allocations: 172.9 kB / 390.6 MB, free: 3.621 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.1152, allocations: 11.94 kB / 390.6 MB, free: 3.609 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/0.1152, allocations: 46.31 kB / 390.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 1.744e-06/0.1152, allocations: 0 / 390.7 MB, free: 3.555 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.00161/0.1168, allocations: 0.581 MB / 391.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002354/0.1171, allocations: 448.9 kB / 391.7 MB, free: 2.418 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005118/0.1176, allocations: 430 kB / 392.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.073e-05/0.1176, allocations: 37.64 kB / 392.1 MB, free: 1.949 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1178, allocations: 260.4 kB / 392.4 MB, free: 1.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001159/0.118, allocations: 130.9 kB / 392.5 MB, free: 1.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/0.1181, allocations: 77.69 kB / 392.6 MB, free: 1.477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.1183, allocations: 362.7 kB / 392.9 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004124/0.1187, allocations: 169.6 kB / 393.1 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007369/0.1194, allocations: 0.6955 MB / 393.8 MB, free: 100 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008206/0.1202, allocations: 354.8 kB / 394.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1202, allocations: 0 / 394.2 MB, free: 15.74 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001104/0.1213, allocations: 0.5058 MB / 394.7 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.637e-05/0.1214, allocations: 33.7 kB / 394.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1214, allocations: 0 / 394.7 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001671/0.1215, allocations: 57.62 kB / 394.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004312/0.122, allocations: 87.88 kB / 394.8 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00261/0.1246, allocations: 2.689 MB / 397.5 MB, free: 12.13 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004167/0.125, allocations: 52.03 kB / 397.6 MB, free: 12.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.198e-05/0.125, allocations: 8 kB / 397.6 MB, free: 12.07 MB / 366.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.0002471/0.1253, allocations: 177.7 kB / 397.8 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.632e-05/0.1254, allocations: 71.59 kB / 397.8 MB, free: 11.82 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.1255, allocations: 52.62 kB / 397.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.1255, allocations: 4 kB / 397.9 MB, free: 11.76 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1255, allocations: 4 kB / 397.9 MB, free: 11.75 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00112/0.1266, allocations: 0.7322 MB / 398.6 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001711/0.1283, allocations: 0.8921 MB / 399.5 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1283, allocations: 0 / 399.5 MB, free: 9.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000479/0.1288, allocations: 91.86 kB / 399.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.1288, allocations: 0 / 399.6 MB, free: 9.891 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.678e-05/0.1288, allocations: 8 kB / 399.6 MB, free: 9.883 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1288, allocations: 8 kB / 399.6 MB, free: 9.875 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.1288, allocations: 3.938 kB / 399.6 MB, free: 9.871 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.1303, allocations: 0.6606 MB / 400.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002026/0.1305, allocations: 99.58 kB / 400.4 MB, free: 9.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.123e-05/0.1305, allocations: 12 kB / 400.4 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.1309, allocations: 27.97 kB / 400.4 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.238e-05/0.131, allocations: 35.81 kB / 400.5 MB, free: 9.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.235e-05/0.131, allocations: 8 kB / 400.5 MB, free: 9.012 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003629/0.1314, allocations: 307.1 kB / 400.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1314, allocations: 0 / 400.8 MB, free: 8.715 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004696/0.1318, allocations: 143.8 kB / 400.9 MB, free: 8.574 MB / 366.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.0001437/0.132, allocations: 119.1 kB / 401 MB, free: 8.449 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001328/0.1333, allocations: 0.6627 MB / 401.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.806e-06/0.1333, allocations: 0 / 401.7 MB, free: 7.742 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004265/0.1337, allocations: 175.6 kB / 401.9 MB, free: 7.57 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006466/0.1344, allocations: 133.8 kB / 402 MB, free: 7.438 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001641/0.136, allocations: 0.9698 MB / 403 MB, free: 6.438 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002298/0.1362, allocations: 226.1 kB / 403.2 MB, free: 6.191 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002283/0.1365, allocations: 72.22 kB / 403.2 MB, free: 6.121 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.1366, allocations: 40.5 kB / 403.3 MB, free: 6.082 MB / 366.1 MB Notification: Performance of SimCode: time 6.12e-07/0.1366, allocations: 4 kB / 403.3 MB, free: 6.078 MB / 366.1 MB Notification: Performance of Templates: time 0.01667/0.1533, allocations: 9.423 MB / 412.7 MB, free: 12.88 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.655521405977197]