Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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.001361/0.001361, allocations: 74.88 kB / 21.24 MB, free: 0.5469 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.001429/0.001429, allocations: 161.8 kB / 24.5 MB, free: 3.715 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.518/1.518, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.ParallelCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|heatCapacitor1.T|heatCapacitor2.T|pipe1.T|pipe2.T|pipe3.T",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 51.7 kB / 325.6 MB, free: 260 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09056/0.09204, allocations: 53.34 MB / 378.9 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005964/0.09801, allocations: 4.433 MB / 383.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.1002, allocations: 1.262 MB / 384.6 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002404/0.1004, allocations: 11.94 kB / 384.6 MB, free: 9.914 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004053/0.1008, allocations: 162.6 kB / 384.8 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006144/0.1014, allocations: 333.2 kB / 385.1 MB, free: 9.426 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004148/0.1018, allocations: 227.6 kB / 385.3 MB, free: 9.203 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001236/0.1031, allocations: 1.16 MB / 386.5 MB, free: 8.043 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003637/0.1034, allocations: 214.6 kB / 386.7 MB, free: 7.816 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004662/0.1039, allocations: 462.4 kB / 387.1 MB, free: 7.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005991/0.1045, allocations: 434 kB / 387.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001543/0.1047, allocations: 104 kB / 387.7 MB, free: 6.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000181/0.1048, allocations: 104 kB / 387.8 MB, free: 6.734 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000217/0.1051, allocations: 227.2 kB / 388 MB, free: 6.512 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004806/0.1055, allocations: 438.2 kB / 388.4 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.1068, allocations: 1.198 MB / 389.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.1068, allocations: 0 / 389.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1068, allocations: 0 / 389.6 MB, free: 4.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1068, allocations: 0 / 389.6 MB, free: 4.879 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002327/0.1091, allocations: 1.269 MB / 390.9 MB, free: 3.559 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1092, allocations: 8.031 kB / 390.9 MB, free: 3.551 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.1093, allocations: 112.3 kB / 391 MB, free: 3.441 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008788/0.1102, allocations: 499.2 kB / 391.5 MB, free: 2.922 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003082/0.1105, allocations: 301.2 kB / 391.8 MB, free: 2.574 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.7e-05/0.1106, allocations: 60.38 kB / 391.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001829/0.1125, allocations: 1.6 MB / 393.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.1125, allocations: 0 / 393.4 MB, free: 0.6289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.849e-05/0.1125, allocations: 28 kB / 393.5 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1126, allocations: 15.94 kB / 393.5 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.1138, allocations: 0.5556 MB / 394 MB, free: 32 kB / 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.003112/0.1169, allocations: 1.566 MB / 395.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.1186, allocations: 0.6925 MB / 396.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006889/0.1193, allocations: 338.4 kB / 396.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.835e-05/0.1194, allocations: 8.656 kB / 396.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.1194, allocations: 47.22 kB / 396.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 1.953e-06/0.1194, allocations: 1.641 kB / 396.7 MB, free: 13.33 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004824/0.1242, allocations: 1.426 MB / 398.1 MB, free: 11.89 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004388/0.1247, allocations: 0.8234 MB / 398.9 MB, free: 10.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007188/0.1254, allocations: 0.5655 MB / 399.5 MB, free: 10.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.025e-05/0.1254, allocations: 45.7 kB / 399.5 MB, free: 10.24 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002837/0.1257, allocations: 349.2 kB / 399.9 MB, free: 9.895 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000233/0.126, allocations: 269.7 kB / 400.1 MB, free: 9.629 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000243/0.1262, allocations: 150.7 kB / 400.3 MB, free: 9.477 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002006/0.1264, allocations: 382.7 kB / 400.7 MB, free: 9.094 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000609/0.127, allocations: 323 kB / 401 MB, free: 8.758 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001298/0.1283, allocations: 1.363 MB / 402.3 MB, free: 7.086 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/0.1295, allocations: 0.6349 MB / 403 MB, free: 6.422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1295, allocations: 3.938 kB / 403 MB, free: 6.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002525/0.1321, allocations: 1.123 MB / 404.1 MB, free: 5.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.349e-05/0.1321, allocations: 89.03 kB / 404.2 MB, free: 5.137 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.1321, allocations: 7.938 kB / 404.2 MB, free: 5.129 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007017/0.1328, allocations: 227.3 kB / 404.4 MB, free: 4.895 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005721/0.1334, allocations: 127.8 kB / 404.5 MB, free: 4.77 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008166/0.1416, allocations: 6.387 MB / 410.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008192/0.1424, allocations: 87.94 kB / 411 MB, free: 13.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.933e-05/0.1425, allocations: 24 kB / 411 MB, free: 13.87 MB / 382.1 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.0003732/0.1428, allocations: 221.7 kB / 411.3 MB, free: 13.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001457/0.143, allocations: 83.53 kB / 411.3 MB, free: 13.56 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001749/0.1431, allocations: 86.75 kB / 411.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.1432, allocations: 8 kB / 411.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.1432, allocations: 0 / 411.4 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002338/0.1455, allocations: 1.182 MB / 412.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003558/0.1491, allocations: 1.613 MB / 414.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1491, allocations: 0 / 414.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006364/0.1497, allocations: 123.9 kB / 414.3 MB, free: 10.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005598/0.1503, allocations: 194.6 kB / 414.5 MB, free: 10.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.254e-05/0.1503, allocations: 19.98 kB / 414.6 MB, free: 10.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006618/0.1569, allocations: 4.902 MB / 419.5 MB, free: 4.953 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.1569, allocations: 3.984 kB / 419.5 MB, free: 4.949 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003129/0.1601, allocations: 1.301 MB / 420.8 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003605/0.1604, allocations: 155.4 kB / 420.9 MB, free: 3.465 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001223/0.1605, allocations: 24 kB / 420.9 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006258/0.1612, allocations: 39.97 kB / 421 MB, free: 3.402 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001567/0.1613, allocations: 64.47 kB / 421 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.634e-05/0.1614, allocations: 20 kB / 421.1 MB, free: 3.32 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005568/0.1619, allocations: 410.8 kB / 421.5 MB, free: 2.922 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1619, allocations: 0 / 421.5 MB, free: 2.922 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009463/0.1629, allocations: 291.7 kB / 421.7 MB, free: 2.637 MB / 382.1 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.0001826/0.1631, allocations: 127.1 kB / 421.9 MB, free: 2.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002213/0.1653, allocations: 1.341 MB / 423.2 MB, free: 1.051 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.035e-05/0.1653, allocations: 4 kB / 423.2 MB, free: 1.047 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001044/0.1663, allocations: 0.6754 MB / 423.9 MB, free: 340 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009569/0.1673, allocations: 219.3 kB / 424.1 MB, free: 120 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/0.1703, allocations: 1.608 MB / 425.7 MB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.1707, allocations: 345.3 kB / 426.1 MB, free: 14.11 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003791/0.1711, allocations: 94.02 kB / 426.1 MB, free: 14.01 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001608/0.1713, allocations: 64.5 kB / 426.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1713, allocations: 0 / 426.2 MB, free: 13.95 MB / 398.1 MB Notification: Performance of Templates: time 0.0313/0.2026, allocations: 18.37 MB / 444.6 MB, free: 11.9 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.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: 5.141465630964376]