Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.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.0008607/0.0008607, allocations: 83.69 kB / 21.19 MB, free: 3.391 MB / 18.57 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.0009535/0.0009535, allocations: 165 kB / 24.56 MB, free: 20 kB / 18.57 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 0.901/0.901, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 179] 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.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.07e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.0042/0.004221, allocations: 5.203 MB / 278.2 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001591/0.005811, allocations: 1.347 MB / 279.5 MB, free: 10.95 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000238/0.006049, allocations: 15.94 kB / 279.5 MB, free: 10.93 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003179/0.006367, allocations: 170.4 kB / 279.7 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004534/0.006821, allocations: 364.8 kB / 280.1 MB, free: 10.41 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003438/0.007165, allocations: 243.5 kB / 280.3 MB, free: 10.17 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008047/0.007969, allocations: 1.265 MB / 281.6 MB, free: 8.898 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.00823, allocations: 238.6 kB / 281.8 MB, free: 8.656 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004791/0.00871, allocations: 0.7094 MB / 282.5 MB, free: 7.945 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003464/0.009056, allocations: 402.8 kB / 282.9 MB, free: 7.551 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.009158, allocations: 108 kB / 283 MB, free: 7.445 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.009268, allocations: 108 kB / 283.1 MB, free: 7.34 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001246/0.009393, allocations: 239.2 kB / 283.3 MB, free: 7.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.009646, allocations: 403.1 kB / 283.7 MB, free: 6.711 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006224/0.01027, allocations: 0.8213 MB / 284.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01027, allocations: 0 / 284.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01027, allocations: 0 / 284.6 MB, free: 5.887 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.556e-06/0.01028, allocations: 0 / 284.6 MB, free: 5.887 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 149 * Number of variables: 149 Notification: Performance of Generate backend data structure: time 0.001415/0.0117, allocations: 1.419 MB / 286 MB, free: 4.41 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.682e-05/0.01173, allocations: 12.02 kB / 286 MB, free: 4.398 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00019/0.01192, allocations: 168.3 kB / 286.2 MB, free: 4.234 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005342/0.01246, allocations: 0.5084 MB / 286.7 MB, free: 3.695 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001763/0.01264, allocations: 297.2 kB / 286.9 MB, free: 3.352 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.944e-05/0.01271, allocations: 72.38 kB / 287 MB, free: 3.281 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009814/0.0137, allocations: 1.546 MB / 288.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.01371, allocations: 192 / 288.6 MB, free: 1.41 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.44e-05/0.01376, allocations: 32.12 kB / 288.6 MB, free: 1.379 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.258e-05/0.01377, allocations: 16 kB / 288.6 MB, free: 1.363 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004702/0.01424, allocations: 307.6 kB / 288.9 MB, free: 1.062 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1039/0.1181, allocations: 1.562 MB / 290.5 MB, free: 25.15 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007373/0.1188, allocations: 460 kB / 290.9 MB, free: 25.12 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000331/0.1192, allocations: 228.8 kB / 291.1 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.769e-05/0.1192, allocations: 20.44 kB / 291.2 MB, free: 25.09 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/0.1192, allocations: 49.91 kB / 291.2 MB, free: 25.05 MB / 266.7 MB Notification: Performance of pre-optimization done (n=77): time 3.066e-06/0.1192, allocations: 1 kB / 291.2 MB, free: 25.05 MB / 266.7 MB Notification: Performance of matching and sorting (n=77): time 0.002125/0.1214, allocations: 1.06 MB / 292.3 MB, free: 24.95 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.804e-05/0.1215, allocations: 0.8218 MB / 293.1 MB, free: 23.95 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005117/0.122, allocations: 0.6238 MB / 293.7 MB, free: 23.76 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.001e-05/0.122, allocations: 46.48 kB / 293.8 MB, free: 23.73 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.1222, allocations: 405.8 kB / 294.2 MB, free: 23.6 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001346/0.1223, allocations: 282.1 kB / 294.4 MB, free: 23.46 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001682/0.1225, allocations: 152.6 kB / 294.6 MB, free: 23.43 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1226, allocations: 0.5658 MB / 295.2 MB, free: 22.94 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002476/0.1229, allocations: 209.2 kB / 295.4 MB, free: 22.84 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.1233, allocations: 1.308 MB / 296.7 MB, free: 21.41 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.1238, allocations: 450.1 kB / 297.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.1238, allocations: 0 / 297.1 MB, free: 21.27 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00113/0.1249, allocations: 0.8954 MB / 298 MB, free: 20.93 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.604e-05/0.125, allocations: 90.12 kB / 298.1 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.125, allocations: 5.75 kB / 298.1 MB, free: 20.83 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004444/0.1254, allocations: 189.9 kB / 298.3 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003452/0.1257, allocations: 141.7 kB / 298.4 MB, free: 20.78 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003112/0.1289, allocations: 7.8 MB / 306.2 MB, free: 13.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003626/0.1292, allocations: 93.67 kB / 306.3 MB, free: 13.51 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.474e-05/0.1293, allocations: 25.42 kB / 306.3 MB, free: 13.5 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (73): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(3,3), (1,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001561/0.1294, allocations: 210.5 kB / 306.5 MB, free: 13.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.1295, allocations: 120.3 kB / 306.7 MB, free: 13.26 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.501e-05/0.1296, allocations: 92.94 kB / 306.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1296, allocations: 7.75 kB / 306.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.1296, allocations: 1.156 kB / 306.8 MB, free: 13.19 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008704/0.1305, allocations: 0.9462 MB / 307.7 MB, free: 12.52 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00168/0.1322, allocations: 1.428 MB / 309.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.1322, allocations: 1.656 kB / 309.1 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003512/0.1325, allocations: 144.4 kB / 309.3 MB, free: 11.84 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003045/0.1328, allocations: 155.2 kB / 309.4 MB, free: 11.78 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.206e-05/0.1328, allocations: 22.08 kB / 309.5 MB, free: 11.77 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/0.135, allocations: 5.952 MB / 315.4 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.135, allocations: 0 / 315.4 MB, free: 6.09 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.1361, allocations: 0.9698 MB / 316.4 MB, free: 5.656 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001873/0.1363, allocations: 174 kB / 316.5 MB, free: 5.562 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.98e-05/0.1364, allocations: 18.81 kB / 316.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002816/0.1367, allocations: 34.34 kB / 316.6 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.1368, allocations: 72.62 kB / 316.7 MB, free: 5.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.1368, allocations: 22.34 kB / 316.7 MB, free: 5.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002546/0.1371, allocations: 424.7 kB / 317.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1371, allocations: 0 / 317.1 MB, free: 5.332 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0005125/0.1376, allocations: 299.2 kB / 317.4 MB, free: 5.289 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.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 (65): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,3), (1,3), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 9.912e-05/0.1377, allocations: 122.1 kB / 317.5 MB, free: 5.184 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008121/0.1385, allocations: 1.384 MB / 318.9 MB, free: 4.098 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.1385, allocations: 6.031 kB / 318.9 MB, free: 4.094 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004697/0.139, allocations: 0.802 MB / 319.7 MB, free: 3.488 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005306/0.1395, allocations: 252 kB / 320 MB, free: 3.395 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1412, allocations: 1.49 MB / 321.4 MB, free: 2.348 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.97e-05/0.1412, allocations: 169.3 kB / 321.6 MB, free: 2.16 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0002159/0.1415, allocations: 102.3 kB / 321.7 MB, free: 2.059 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.1416, allocations: 68.5 kB / 321.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of SimCode: time 8.02e-07/0.1416, allocations: 0 / 321.8 MB, free: 1.992 MB / 266.7 MB Notification: Performance of Templates: time 0.01988/0.1615, allocations: 20.51 MB / 342.3 MB, free: 13.89 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelPumpDropOut/ParallelPumpDropOut.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2500065062195063]