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.001627/0.001627, allocations: 75.75 kB / 21.24 MB, free: 396 kB / 14.72 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.001934/0.001934, allocations: 160.3 kB / 24.49 MB, free: 3.453 MB / 14.72 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 1.437/1.437, allocations: 177.1 MB / 204.7 MB, free: 8.965 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001925/0.001925, allocations: 56.75 kB / 325.5 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08841/0.09034, allocations: 53.39 MB / 378.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006164/0.0965, allocations: 4.441 MB / 383.4 MB, free: 11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00269/0.09919, allocations: 1.269 MB / 384.6 MB, free: 9.723 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005003/0.09969, allocations: 11.94 kB / 384.6 MB, free: 9.711 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005233/0.1002, allocations: 158.6 kB / 384.8 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000836/0.1011, allocations: 325.3 kB / 385.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005091/0.1016, allocations: 231.6 kB / 385.3 MB, free: 9.008 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001504/0.1031, allocations: 1.153 MB / 386.5 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000395/0.1035, allocations: 218.6 kB / 386.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006008/0.1041, allocations: 454.4 kB / 387.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006905/0.1048, allocations: 434 kB / 387.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001804/0.1049, allocations: 107.9 kB / 387.7 MB, free: 6.645 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002058/0.1051, allocations: 104 kB / 387.8 MB, free: 6.543 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002165/0.1054, allocations: 219.2 kB / 388 MB, free: 6.328 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000559/0.1059, allocations: 450.2 kB / 388.4 MB, free: 5.887 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001291/0.1072, allocations: 1.198 MB / 389.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1072, allocations: 0 / 389.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1072, allocations: 0 / 389.6 MB, free: 4.684 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.976e-05/0.1072, allocations: 0 / 389.6 MB, free: 4.684 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.002599/0.1098, allocations: 1.269 MB / 390.9 MB, free: 3.363 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1099, allocations: 11.98 kB / 390.9 MB, free: 3.352 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002129/0.1101, allocations: 112.3 kB / 391 MB, free: 3.242 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009074/0.111, allocations: 499.3 kB / 391.5 MB, free: 2.727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002904/0.1113, allocations: 293.2 kB / 391.8 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.1114, allocations: 64.36 kB / 391.9 MB, free: 2.324 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00181/0.1132, allocations: 1.608 MB / 393.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.155e-05/0.1132, allocations: 0 / 393.5 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.917e-05/0.1133, allocations: 28 kB / 393.5 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.1133, allocations: 16 kB / 393.5 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.1146, allocations: 0.5516 MB / 394.1 MB, free: 15.84 MB / 366.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.003313/0.1179, allocations: 1.558 MB / 395.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001769/0.1196, allocations: 0.6852 MB / 396.3 MB, free: 13.55 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/0.1204, allocations: 341.5 kB / 396.6 MB, free: 13.21 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.1205, allocations: 24.59 kB / 396.7 MB, free: 13.19 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.432e-05/0.1205, allocations: 47.2 kB / 396.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.174e-06/0.1205, allocations: 0 / 396.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004811/0.1253, allocations: 1.422 MB / 398.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004622/0.1258, allocations: 0.8238 MB / 398.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000727/0.1265, allocations: 0.5733 MB / 399.5 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.912e-05/0.1266, allocations: 45.7 kB / 399.6 MB, free: 10.04 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.1268, allocations: 341.2 kB / 399.9 MB, free: 9.703 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002315/0.1271, allocations: 269.6 kB / 400.2 MB, free: 9.438 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002549/0.1273, allocations: 146.7 kB / 400.3 MB, free: 9.289 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002083/0.1275, allocations: 386.7 kB / 400.7 MB, free: 8.902 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006236/0.1282, allocations: 330.9 kB / 401 MB, free: 8.559 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.1295, allocations: 1.356 MB / 402.4 MB, free: 6.898 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001261/0.1308, allocations: 0.6388 MB / 403 MB, free: 6.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.1308, allocations: 0 / 403 MB, free: 6.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002595/0.1334, allocations: 1.116 MB / 404.1 MB, free: 5.059 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.745e-05/0.1334, allocations: 89.09 kB / 404.2 MB, free: 4.953 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1334, allocations: 4 kB / 404.2 MB, free: 4.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000726/0.1342, allocations: 235.2 kB / 404.4 MB, free: 4.707 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005745/0.1347, allocations: 123.9 kB / 404.6 MB, free: 4.586 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00862/0.1434, allocations: 6.377 MB / 410.9 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007254/0.1441, allocations: 83.62 kB / 411 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.228e-05/0.1442, allocations: 31.92 kB / 411 MB, free: 13.69 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.0003348/0.1445, allocations: 221.7 kB / 411.3 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.1446, allocations: 83.53 kB / 411.3 MB, free: 13.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.1448, allocations: 82.75 kB / 411.4 MB, free: 13.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-06/0.1448, allocations: 8 kB / 411.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.1448, allocations: 0 / 411.4 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002407/0.1472, allocations: 1.186 MB / 412.6 MB, free: 11.99 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00371/0.1509, allocations: 1.609 MB / 414.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.151, allocations: 4.172 kB / 414.2 MB, free: 10.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006463/0.1516, allocations: 127.9 kB / 414.4 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005545/0.1522, allocations: 198.5 kB / 414.6 MB, free: 9.992 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/0.1522, allocations: 16 kB / 414.6 MB, free: 9.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006516/0.1587, allocations: 4.909 MB / 419.5 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-06/0.1587, allocations: 64 / 419.5 MB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003035/0.1618, allocations: 1.313 MB / 420.8 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003569/0.1621, allocations: 159.4 kB / 420.9 MB, free: 3.262 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.1622, allocations: 20 kB / 421 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006137/0.1628, allocations: 35.95 kB / 421 MB, free: 3.207 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001621/0.163, allocations: 72.42 kB / 421.1 MB, free: 3.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.621e-05/0.163, allocations: 23.98 kB / 421.1 MB, free: 3.113 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005094/0.1635, allocations: 402.8 kB / 421.5 MB, free: 2.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1635, allocations: 0 / 421.5 MB, free: 2.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008232/0.1644, allocations: 291.7 kB / 421.8 MB, free: 2.438 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.0001608/0.1645, allocations: 119.2 kB / 421.9 MB, free: 2.309 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002085/0.1666, allocations: 1.337 MB / 423.2 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.1666, allocations: 4 kB / 423.2 MB, free: 0.8633 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.1677, allocations: 0.6639 MB / 423.9 MB, free: 164 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009356/0.1686, allocations: 223.1 kB / 424.1 MB, free: 15.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002937/0.1715, allocations: 1.615 MB / 425.7 MB, free: 14.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.1719, allocations: 345.3 kB / 426.1 MB, free: 13.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003613/0.1723, allocations: 90.02 kB / 426.1 MB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001666/0.1724, allocations: 72.48 kB / 426.2 MB, free: 13.76 MB / 398.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1724, allocations: 0 / 426.2 MB, free: 13.76 MB / 398.1 MB Notification: Performance of Templates: time 0.03069/0.2031, allocations: 18.36 MB / 444.6 MB, free: 11.72 MB / 414.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.098374641034752]