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.001882/0.001882, allocations: 115.5 kB / 18.45 MB, free: 4.602 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.002203/0.002203, allocations: 192.3 kB / 21.4 MB, free: 1.664 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.415/1.415, allocations: 225.6 MB / 249.8 MB, free: 3.613 MB / 190.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.001488/0.001488, allocations: 47.92 kB / 366.8 MB, free: 376 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1071/0.1085, allocations: 52.14 MB / 418.9 MB, free: 12.13 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.PumpDropOut): time 0.005969/0.1145, allocations: 3.78 MB / 422.7 MB, free: 8.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.1168, allocations: 1.001 MB / 423.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002692/0.1171, allocations: 8 kB / 423.7 MB, free: 7.324 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003903/0.1175, allocations: 111 kB / 423.8 MB, free: 7.215 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004631/0.1179, allocations: 210.3 kB / 424 MB, free: 7.008 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003523/0.1183, allocations: 131.8 kB / 424.2 MB, free: 6.879 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008363/0.1191, allocations: 0.6964 MB / 424.9 MB, free: 6.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002891/0.1194, allocations: 142.8 kB / 425 MB, free: 6.031 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003134/0.1197, allocations: 274.9 kB / 425.3 MB, free: 5.762 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.1201, allocations: 302.8 kB / 425.6 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.111e-05/0.1202, allocations: 56 kB / 425.6 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001115/0.1203, allocations: 64 kB / 425.7 MB, free: 5.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001316/0.1205, allocations: 135.4 kB / 425.8 MB, free: 5.215 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003271/0.1208, allocations: 318.5 kB / 426.1 MB, free: 4.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009221/0.1217, allocations: 0.7275 MB / 426.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1217, allocations: 0 / 426.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.1217, allocations: 0 / 426.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.724e-05/0.1217, allocations: 0 / 426.9 MB, free: 4.172 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.00178/0.1235, allocations: 0.936 MB / 427.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.1236, allocations: 12.03 kB / 427.8 MB, free: 3.168 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001383/0.1237, allocations: 64.56 kB / 427.9 MB, free: 3.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008491/0.1246, allocations: 451.1 kB / 428.3 MB, free: 2.625 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.1247, allocations: 63.25 kB / 428.4 MB, free: 2.559 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.467e-05/0.1248, allocations: 32.38 kB / 428.4 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009432/0.1257, allocations: 0.4982 MB / 428.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.675e-05/0.1257, allocations: 0 / 428.9 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.456e-05/0.1258, allocations: 16 kB / 428.9 MB, free: 1.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.191e-05/0.1258, allocations: 12 kB / 428.9 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009064/0.1267, allocations: 355.8 kB / 429.3 MB, free: 1.598 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.002249/0.1289, allocations: 1.347 MB / 430.6 MB, free: 160 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009563/0.1299, allocations: 443.1 kB / 431.1 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004407/0.1303, allocations: 173.4 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.462e-05/0.1304, allocations: 4 kB / 431.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.784e-05/0.1304, allocations: 46.55 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of pre-optimization done (n=37): time 1.733e-06/0.1304, allocations: 3.938 kB / 431.3 MB, free: 15.46 MB / 366.1 MB Notification: Performance of matching and sorting (n=37): time 0.001723/0.1321, allocations: 0.7387 MB / 432 MB, free: 14.67 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002668/0.1324, allocations: 452.9 kB / 432.5 MB, free: 14.12 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005723/0.133, allocations: 474 kB / 432.9 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.043e-05/0.133, allocations: 37.7 kB / 433 MB, free: 13.6 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.1332, allocations: 256.5 kB / 433.2 MB, free: 13.35 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000115/0.1333, allocations: 126.9 kB / 433.3 MB, free: 13.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001499/0.1335, allocations: 77.69 kB / 433.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001762/0.1337, allocations: 362.8 kB / 433.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004098/0.1341, allocations: 143.9 kB / 433.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005473/0.1346, allocations: 290.4 kB / 434.2 MB, free: 12.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008092/0.1354, allocations: 347.1 kB / 434.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1354, allocations: 0 / 434.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001089/0.1365, allocations: 0.496 MB / 435 MB, free: 11.44 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.538e-05/0.1366, allocations: 35.92 kB / 435.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.1366, allocations: 0 / 435.1 MB, free: 11.4 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.1368, allocations: 49.7 kB / 435.1 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004415/0.1372, allocations: 83.88 kB / 435.2 MB, free: 11.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003032/0.1403, allocations: 2.976 MB / 438.2 MB, free: 8.008 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004997/0.1408, allocations: 55.75 kB / 438.2 MB, free: 7.953 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.003e-05/0.1408, allocations: 12 kB / 438.2 MB, free: 7.941 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.0002721/0.1411, allocations: 173.8 kB / 438.4 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001091/0.1412, allocations: 55.67 kB / 438.4 MB, free: 7.707 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.1413, allocations: 56.92 kB / 438.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1413, allocations: 4 kB / 438.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.103e-06/0.1413, allocations: 7.875 kB / 438.5 MB, free: 7.641 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001193/0.1425, allocations: 0.7437 MB / 439.3 MB, free: 6.793 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001808/0.1443, allocations: 1.041 MB / 440.3 MB, free: 5.688 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-06/0.1443, allocations: 3.938 kB / 440.3 MB, free: 5.684 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.1448, allocations: 95.86 kB / 440.4 MB, free: 5.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1448, allocations: 4 kB / 440.4 MB, free: 5.586 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.1448, allocations: 4 kB / 440.4 MB, free: 5.582 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.1448, allocations: 4 kB / 440.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1448, allocations: 240 / 440.4 MB, free: 5.578 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001426/0.1462, allocations: 0.6759 MB / 441.1 MB, free: 4.879 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002416/0.1465, allocations: 180.6 kB / 441.3 MB, free: 4.684 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.669e-05/0.1465, allocations: 12 kB / 441.3 MB, free: 4.672 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003837/0.1469, allocations: 32.03 kB / 441.3 MB, free: 4.641 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.147, allocations: 19.97 kB / 441.3 MB, free: 4.621 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.504e-05/0.147, allocations: 12 kB / 441.3 MB, free: 4.609 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004698/0.1475, allocations: 342.9 kB / 441.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1475, allocations: 0 / 441.7 MB, free: 4.277 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005342/0.148, allocations: 139.8 kB / 441.8 MB, free: 4.141 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.0001927/0.1482, allocations: 111.7 kB / 441.9 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001384/0.1496, allocations: 0.6297 MB / 442.5 MB, free: 3.355 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.1496, allocations: 4 kB / 442.6 MB, free: 3.352 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004305/0.1501, allocations: 179.6 kB / 442.7 MB, free: 3.176 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006964/0.1508, allocations: 141.8 kB / 442.9 MB, free: 3.031 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.1526, allocations: 0.9971 MB / 443.9 MB, free: 2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004977/0.1531, allocations: 0.8392 MB / 444.7 MB, free: 1.133 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1533, allocations: 51.42 kB / 444.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of SimCode: time 6.71e-07/0.1533, allocations: 0 / 444.8 MB, free: 1.082 MB / 366.1 MB Notification: Performance of Templates: time 0.221/0.3743, allocations: 9.225 MB / 454 MB, free: 28.8 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/PumpDropOut/PumpDropOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.983955585164949]