Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009719/0.0009719, allocations: 82.59 kB / 21.43 MB, free: 3.07 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009627/0.0009627, allocations: 166.1 kB / 24.82 MB, free: 9.258 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.986/0.986, allocations: 177 MB / 205.1 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 273.3 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.782e-05/1.914e-05, allocations: 9.266 kB / 273.3 MB, free: 1.234 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003895/0.003914, allocations: 4.862 MB / 278.2 MB, free: 12.35 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.00555, allocations: 1.3 MB / 279.5 MB, free: 11.04 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.00582, allocations: 15.88 kB / 279.5 MB, free: 11.02 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003387/0.006159, allocations: 158.6 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004413/0.0066, allocations: 352.9 kB / 280 MB, free: 10.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.006901, allocations: 223.5 kB / 280.2 MB, free: 10.3 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008211/0.007722, allocations: 1.203 MB / 281.4 MB, free: 9.09 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002767/0.007999, allocations: 222.4 kB / 281.6 MB, free: 8.863 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005418/0.008541, allocations: 0.6743 MB / 282.3 MB, free: 8.188 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003899/0.008931, allocations: 378.9 kB / 282.7 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001078/0.009039, allocations: 100 kB / 282.8 MB, free: 7.719 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001125/0.009151, allocations: 104 kB / 282.9 MB, free: 7.617 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001205/0.009272, allocations: 223.2 kB / 283.1 MB, free: 7.398 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.009523, allocations: 379.2 kB / 283.5 MB, free: 7.027 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00058/0.0101, allocations: 0.7708 MB / 284.2 MB, free: 6.254 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.01011, allocations: 4 kB / 284.2 MB, free: 6.25 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.82e-07/0.01011, allocations: 7.938 kB / 284.3 MB, free: 6.242 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.694e-06/0.01011, allocations: 0 / 284.3 MB, free: 6.242 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001339/0.01145, allocations: 1.368 MB / 285.6 MB, free: 4.816 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.957e-05/0.01149, allocations: 15.98 kB / 285.6 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.01164, allocations: 156.3 kB / 285.8 MB, free: 4.648 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004553/0.0121, allocations: 476 kB / 286.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001589/0.01226, allocations: 297.2 kB / 286.5 MB, free: 3.812 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.666e-05/0.01233, allocations: 72.38 kB / 286.6 MB, free: 3.742 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008427/0.01318, allocations: 1.48 MB / 288.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.01319, allocations: 192 / 288.1 MB, free: 1.938 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.371e-05/0.01323, allocations: 36.11 kB / 288.1 MB, free: 1.902 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.01325, allocations: 20 kB / 288.2 MB, free: 1.883 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.01355, allocations: 238.2 kB / 288.4 MB, free: 1.648 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001699/0.01525, allocations: 1.425 MB / 289.8 MB, free: 200 kB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005954/0.01584, allocations: 417.2 kB / 290.2 MB, free: 15.78 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002071/0.01605, allocations: 182.1 kB / 290.4 MB, free: 15.59 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.01609, allocations: 17.31 kB / 290.4 MB, free: 15.57 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.939e-05/0.01612, allocations: 50.05 kB / 290.5 MB, free: 15.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=73): time 1.843e-06/0.01612, allocations: 4 kB / 290.5 MB, free: 15.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=73): time 0.001721/0.01784, allocations: 0.9642 MB / 291.4 MB, free: 14.53 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002322/0.01808, allocations: 0.8234 MB / 292.3 MB, free: 13.5 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000379/0.01846, allocations: 0.5569 MB / 292.8 MB, free: 12.93 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 4.38e-05/0.0185, allocations: 49.64 kB / 292.9 MB, free: 12.88 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002077/0.01871, allocations: 403.8 kB / 293.3 MB, free: 12.47 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.01885, allocations: 269.6 kB / 293.5 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000154/0.019, allocations: 152.3 kB / 293.7 MB, free: 12.05 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.01917, allocations: 0.5702 MB / 294.2 MB, free: 11.47 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.01932, allocations: 171 kB / 294.4 MB, free: 11.28 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005365/0.01986, allocations: 1.271 MB / 295.7 MB, free: 9.664 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003384/0.0202, allocations: 386.6 kB / 296.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.0202, allocations: 0 / 296.1 MB, free: 9.258 MB / 282.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008753/0.02108, allocations: 0.8141 MB / 296.9 MB, free: 8.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.423e-05/0.02112, allocations: 83.77 kB / 296.9 MB, free: 8.289 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.02113, allocations: 7.938 kB / 297 MB, free: 8.281 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003708/0.0215, allocations: 182.6 kB / 297.1 MB, free: 8.086 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.02178, allocations: 127.8 kB / 297.3 MB, free: 7.961 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1051/0.1269, allocations: 7.673 MB / 304.9 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000577/0.1274, allocations: 79.06 kB / 305 MB, free: 37.62 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.712e-05/0.1275, allocations: 19.23 kB / 305 MB, free: 37.62 MB / 282.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 (70): * Single equations (assignments): 63 * 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.0002129/0.1277, allocations: 205.7 kB / 305.2 MB, free: 37.46 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001182/0.1278, allocations: 107.1 kB / 305.3 MB, free: 37.46 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.983e-05/0.1279, allocations: 87.5 kB / 305.4 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.142e-06/0.1279, allocations: 8.547 kB / 305.4 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.1279, allocations: 3.875 kB / 305.4 MB, free: 37.45 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008426/0.1287, allocations: 0.8747 MB / 306.3 MB, free: 36.88 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/0.1303, allocations: 1.255 MB / 307.6 MB, free: 36.55 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.1303, allocations: 2.188 kB / 307.6 MB, free: 36.55 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003224/0.1306, allocations: 123.9 kB / 307.7 MB, free: 36.55 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003104/0.131, allocations: 157.5 kB / 307.8 MB, free: 36.51 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.267e-05/0.131, allocations: 13.28 kB / 307.9 MB, free: 36.51 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002219/0.1332, allocations: 5.83 MB / 313.7 MB, free: 31.22 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1332, allocations: 2.688 kB / 313.7 MB, free: 31.22 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.1343, allocations: 0.8646 MB / 314.5 MB, free: 30.93 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.1345, allocations: 158.3 kB / 314.7 MB, free: 30.89 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.148e-05/0.1346, allocations: 19.94 kB / 314.7 MB, free: 30.89 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002843/0.1348, allocations: 42.06 kB / 314.8 MB, free: 30.89 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.135, allocations: 62.56 kB / 314.8 MB, free: 30.88 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.524e-05/0.135, allocations: 21.48 kB / 314.8 MB, free: 30.88 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002508/0.1352, allocations: 360.4 kB / 315.2 MB, free: 30.75 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1352, allocations: 0 / 315.2 MB, free: 30.75 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006549/0.1359, allocations: 288.5 kB / 315.5 MB, free: 30.73 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (61): * Single equations (assignments): 58 * 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.0001268/0.136, allocations: 120.3 kB / 315.6 MB, free: 30.65 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009039/0.1369, allocations: 1.322 MB / 316.9 MB, free: 29.64 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.1369, allocations: 2.062 kB / 316.9 MB, free: 29.64 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004168/0.1374, allocations: 0.7293 MB / 317.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006078/0.138, allocations: 232.5 kB / 317.9 MB, free: 29.11 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00198/0.1399, allocations: 1.423 MB / 319.3 MB, free: 28.4 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001588/0.1401, allocations: 161.7 kB / 319.5 MB, free: 28.33 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002915/0.1404, allocations: 96.95 kB / 319.6 MB, free: 28.3 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006079/0.141, allocations: 425.7 kB / 320 MB, free: 28.23 MB / 282.7 MB Notification: Performance of SimCode: time 1.002e-06/0.141, allocations: 0 / 320 MB, free: 28.23 MB / 282.7 MB Notification: Performance of Templates: time 0.0197/0.1607, allocations: 19.69 MB / 339.7 MB, free: 13.75 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.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.253344004973769]