Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001301/0.001301, allocations: 79.73 kB / 21.97 MB, free: 2.598 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.001456/0.001456, allocations: 166.9 kB / 25.33 MB, free: 8.594 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9158/0.9158, allocations: 158.6 MB / 187.2 MB, free: 2.926 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.492e-06/1.492e-06, allocations: 0 / 251 MB, free: 7.52 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.828e-05, allocations: 6.25 kB / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut): time 0.004887/0.004915, allocations: 5.189 MB / 256.2 MB, free: 2.297 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.00194/0.006855, allocations: 1.364 MB / 257.6 MB, free: 0.9219 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000215/0.00707, allocations: 15.94 kB / 257.6 MB, free: 0.9062 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003284/0.007399, allocations: 166.4 kB / 257.8 MB, free: 0.7422 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004337/0.007832, allocations: 360.8 kB / 258.1 MB, free: 396 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002884/0.008121, allocations: 243.5 kB / 258.4 MB, free: 152 kB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.001106/0.009226, allocations: 1.277 MB / 259.6 MB, free: 14.87 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003154/0.009542, allocations: 230.7 kB / 259.9 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004974/0.01004, allocations: 0.7094 MB / 260.6 MB, free: 13.92 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003469/0.01039, allocations: 402.9 kB / 261 MB, free: 13.52 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001049/0.01049, allocations: 111.9 kB / 261.1 MB, free: 13.41 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001189/0.01061, allocations: 108 kB / 261.2 MB, free: 13.31 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001294/0.01074, allocations: 231.2 kB / 261.4 MB, free: 13.08 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002664/0.01101, allocations: 403.1 kB / 261.8 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.01162, allocations: 0.8213 MB / 262.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.01163, allocations: 0 / 262.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01163, allocations: 4 kB / 262.6 MB, free: 11.86 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.01164, allocations: 0 / 262.6 MB, free: 11.86 MB / 250.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.001443/0.01308, allocations: 1.427 MB / 264.1 MB, free: 10.38 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.01312, allocations: 11.98 kB / 264.1 MB, free: 10.36 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.01329, allocations: 168.3 kB / 264.2 MB, free: 10.2 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005349/0.01383, allocations: 0.5085 MB / 264.7 MB, free: 9.66 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001688/0.014, allocations: 293.2 kB / 265 MB, free: 9.32 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.27e-05/0.01408, allocations: 72.38 kB / 265.1 MB, free: 9.25 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001269/0.01535, allocations: 1.546 MB / 266.6 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.01536, allocations: 192 / 266.6 MB, free: 7.379 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.588e-05/0.01541, allocations: 36.12 kB / 266.7 MB, free: 7.344 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.01543, allocations: 15.98 kB / 266.7 MB, free: 7.328 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004782/0.0159, allocations: 311.6 kB / 267 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.01788, allocations: 1.565 MB / 268.6 MB, free: 5.418 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006273/0.0185, allocations: 464.3 kB / 269 MB, free: 4.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000295/0.0188, allocations: 218.2 kB / 269.2 MB, free: 4.734 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.338e-05/0.01884, allocations: 20.86 kB / 269.2 MB, free: 4.711 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.91e-05/0.01887, allocations: 50.05 kB / 269.3 MB, free: 4.652 MB / 250.7 MB Notification: Performance of pre-optimization done (n=77): time 1.904e-06/0.01887, allocations: 3.938 kB / 269.3 MB, free: 4.648 MB / 250.7 MB Notification: Performance of matching and sorting (n=77): time 0.002007/0.02088, allocations: 1.058 MB / 270.4 MB, free: 3.574 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002941/0.02117, allocations: 0.8234 MB / 271.2 MB, free: 2.551 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.02168, allocations: 0.6129 MB / 271.8 MB, free: 1.926 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 4.932e-05/0.02173, allocations: 45.7 kB / 271.8 MB, free: 1.875 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002433/0.02198, allocations: 419.9 kB / 272.2 MB, free: 1.457 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00016/0.02214, allocations: 277.5 kB / 272.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001666/0.0223, allocations: 152.3 kB / 272.7 MB, free: 1.027 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0004444/0.02275, allocations: 0.5703 MB / 273.2 MB, free: 456 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002359/0.02298, allocations: 207 kB / 273.4 MB, free: 232 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006024/0.02359, allocations: 1.31 MB / 274.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004803/0.02407, allocations: 446.7 kB / 275.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/0.02407, allocations: 4 kB / 275.2 MB, free: 14.11 MB / 266.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001079/0.02515, allocations: 0.8961 MB / 276.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.777e-05/0.0252, allocations: 85.11 kB / 276.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.0252, allocations: 0 / 276.2 MB, free: 13.04 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000452/0.02566, allocations: 194.6 kB / 276.4 MB, free: 12.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003336/0.02599, allocations: 135.8 kB / 276.5 MB, free: 12.7 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.03027, allocations: 7.807 MB / 284.3 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.03063, allocations: 91.52 kB / 284.4 MB, free: 4.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.471e-05/0.03066, allocations: 20 kB / 284.4 MB, free: 4.301 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.000185/0.03085, allocations: 212.4 kB / 284.6 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001078/0.03096, allocations: 115.5 kB / 284.7 MB, free: 3.969 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.094e-05/0.03104, allocations: 92.06 kB / 284.8 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.03104, allocations: 12 kB / 284.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.03105, allocations: 192 / 284.8 MB, free: 3.863 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009396/0.03199, allocations: 0.9485 MB / 285.8 MB, free: 2.797 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001889/0.03388, allocations: 1.436 MB / 287.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.03388, allocations: 192 / 287.2 MB, free: 1.301 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.03422, allocations: 143.8 kB / 287.4 MB, free: 1.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003097/0.03453, allocations: 162.9 kB / 287.5 MB, free: 0.9883 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.03456, allocations: 12 kB / 287.5 MB, free: 0.9766 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002974/0.03753, allocations: 5.934 MB / 293.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.03753, allocations: 0 / 293.5 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001548/0.03908, allocations: 0.9749 MB / 294.4 MB, free: 9.668 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002054/0.03929, allocations: 171.2 kB / 294.6 MB, free: 9.5 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.03935, allocations: 20 kB / 294.6 MB, free: 9.48 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000291/0.03964, allocations: 39.97 kB / 294.7 MB, free: 9.441 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000123/0.03977, allocations: 76.47 kB / 294.7 MB, free: 9.367 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.482e-05/0.03979, allocations: 23.98 kB / 294.8 MB, free: 9.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000301/0.04009, allocations: 411 kB / 295.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.04009, allocations: 0 / 295.2 MB, free: 8.945 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0005775/0.04067, allocations: 295.7 kB / 295.4 MB, free: 8.656 MB / 282.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 0.0001502/0.04082, allocations: 123.1 kB / 295.6 MB, free: 8.527 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001074/0.04189, allocations: 1.385 MB / 297 MB, free: 7.016 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.0419, allocations: 4 kB / 297 MB, free: 7.012 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005738/0.04247, allocations: 0.8027 MB / 297.8 MB, free: 6.152 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005904/0.04306, allocations: 239 kB / 298 MB, free: 5.918 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0019/0.04496, allocations: 1.506 MB / 299.5 MB, free: 4.371 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/0.04506, allocations: 165.3 kB / 299.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002122/0.04528, allocations: 102.3 kB / 299.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001249/0.0454, allocations: 72.48 kB / 299.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of SimCode: time 9.41e-07/0.0454, allocations: 0 / 299.8 MB, free: 4.02 MB / 282.7 MB Notification: Performance of Templates: time 0.02113/0.06653, allocations: 20.5 MB / 320.3 MB, free: 15.52 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelPumpDropOut_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/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.328159742988646]