Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001612/0.001612, allocations: 73.72 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 149.7 kB / 24.49 MB, free: 3.727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.482/1.482, allocations: 173.4 MB / 201.1 MB, free: 12.68 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 47.48 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08749/0.08909, allocations: 52.16 MB / 371.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005821/0.09491, allocations: 4.42 MB / 376 MB, free: 2.883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002318/0.09722, allocations: 1.242 MB / 377.2 MB, free: 1.633 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002713/0.0975, allocations: 11.94 kB / 377.2 MB, free: 1.621 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004313/0.09793, allocations: 154.6 kB / 377.4 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006281/0.09856, allocations: 325.3 kB / 377.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004381/0.09899, allocations: 235.6 kB / 377.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001267/0.1003, allocations: 1.16 MB / 379.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000363/0.1006, allocations: 218.6 kB / 379.3 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.1011, allocations: 458.4 kB / 379.8 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006206/0.1017, allocations: 434 kB / 380.2 MB, free: 14.65 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001592/0.1019, allocations: 100 kB / 380.3 MB, free: 14.55 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.102, allocations: 104 kB / 380.4 MB, free: 14.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002105/0.1023, allocations: 227.2 kB / 380.6 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004783/0.1027, allocations: 442.2 kB / 381 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001236/0.104, allocations: 1.202 MB / 382.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.104, allocations: 0 / 382.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.104, allocations: 0 / 382.2 MB, free: 12.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.087e-05/0.104, allocations: 4 kB / 382.3 MB, free: 12.59 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.002395/0.1064, allocations: 1.249 MB / 383.5 MB, free: 11.29 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1064, allocations: 12.03 kB / 383.5 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002019/0.1066, allocations: 112.3 kB / 383.6 MB, free: 11.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009315/0.1076, allocations: 0.4954 MB / 384.1 MB, free: 10.64 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003007/0.1079, allocations: 297.2 kB / 384.4 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.108, allocations: 64.33 kB / 384.5 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.1098, allocations: 1.6 MB / 386.1 MB, free: 8.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.1098, allocations: 4 kB / 386.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.193e-05/0.1099, allocations: 31.98 kB / 386.1 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.1099, allocations: 12 kB / 386.1 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001247/0.1112, allocations: 0.5516 MB / 386.7 MB, free: 7.75 MB / 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.003177/0.1143, allocations: 1.554 MB / 388.2 MB, free: 6.164 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001772/0.1161, allocations: 0.6986 MB / 388.9 MB, free: 5.449 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007074/0.1168, allocations: 335.5 kB / 389.2 MB, free: 5.125 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.1169, allocations: 8.656 kB / 389.3 MB, free: 5.117 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.1169, allocations: 59.16 kB / 389.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.605e-06/0.1169, allocations: 0 / 389.3 MB, free: 5.047 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004952/0.1219, allocations: 1.435 MB / 390.7 MB, free: 3.598 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004555/0.1223, allocations: 0.8234 MB / 391.6 MB, free: 2.578 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007536/0.1231, allocations: 0.5656 MB / 392.1 MB, free: 2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.74e-05/0.1232, allocations: 49.64 kB / 392.2 MB, free: 1.945 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.1234, allocations: 341.2 kB / 392.5 MB, free: 1.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002367/0.1237, allocations: 265.7 kB / 392.8 MB, free: 1.348 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.1239, allocations: 142.7 kB / 392.9 MB, free: 1.203 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.1241, allocations: 386.7 kB / 393.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.1248, allocations: 331 kB / 393.6 MB, free: 484 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001323/0.1261, allocations: 1.36 MB / 395 MB, free: 14.81 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001254/0.1273, allocations: 0.6349 MB / 395.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.1273, allocations: 8 kB / 395.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0026/0.1299, allocations: 1.115 MB / 396.7 MB, free: 12.96 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.248e-05/0.13, allocations: 89.09 kB / 396.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.13, allocations: 3.984 kB / 396.8 MB, free: 12.86 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007476/0.1308, allocations: 243.1 kB / 397.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.1314, allocations: 123.9 kB / 397.2 MB, free: 12.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00846/0.1398, allocations: 6.376 MB / 403.6 MB, free: 5.699 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000843/0.1407, allocations: 83.62 kB / 403.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.755e-05/0.1407, allocations: 23.98 kB / 403.7 MB, free: 5.594 MB / 366.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.0003669/0.1411, allocations: 225.7 kB / 403.9 MB, free: 5.363 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001503/0.1412, allocations: 87.48 kB / 404 MB, free: 5.277 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.1414, allocations: 86.75 kB / 404.1 MB, free: 5.191 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.274e-06/0.1414, allocations: 8 kB / 404.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1414, allocations: 0 / 404.1 MB, free: 5.184 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002393/0.1438, allocations: 1.175 MB / 405.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003606/0.1474, allocations: 1.617 MB / 406.9 MB, free: 2.219 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.1474, allocations: 4 kB / 406.9 MB, free: 2.215 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006289/0.1481, allocations: 127.8 kB / 407 MB, free: 2.09 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005846/0.1487, allocations: 210.5 kB / 407.2 MB, free: 1.875 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.69e-05/0.1487, allocations: 12 kB / 407.2 MB, free: 1.863 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006434/0.1551, allocations: 4.905 MB / 412.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.1551, allocations: 4.031 kB / 412.1 MB, free: 12.65 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/0.1583, allocations: 1.301 MB / 413.4 MB, free: 11.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.1587, allocations: 155.3 kB / 413.6 MB, free: 11.17 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001051/0.1588, allocations: 20 kB / 413.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006066/0.1594, allocations: 39.97 kB / 413.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.1596, allocations: 68.41 kB / 413.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.442e-05/0.1597, allocations: 20 kB / 413.7 MB, free: 11.02 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000526/0.1602, allocations: 406.8 kB / 414.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1602, allocations: 0 / 414.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000881/0.1611, allocations: 291.7 kB / 414.4 MB, free: 10.34 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.0001665/0.1612, allocations: 119.2 kB / 414.5 MB, free: 10.21 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.1634, allocations: 1.345 MB / 415.9 MB, free: 8.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.1634, allocations: 4 kB / 415.9 MB, free: 8.758 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001095/0.1645, allocations: 0.6717 MB / 416.5 MB, free: 8.051 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009396/0.1654, allocations: 221.7 kB / 416.7 MB, free: 7.836 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002969/0.1684, allocations: 1.616 MB / 418.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000363/0.1688, allocations: 349.3 kB / 418.7 MB, free: 5.809 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003553/0.1691, allocations: 90.02 kB / 418.8 MB, free: 5.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001651/0.1693, allocations: 72.48 kB / 418.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.1693, allocations: 0 / 418.9 MB, free: 5.648 MB / 382.1 MB Notification: Performance of Templates: time 0.03061/0.1999, allocations: 18.36 MB / 437.2 MB, free: 3.613 MB / 398.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.208137435023673]