Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001407/0.001407, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.001528/0.001528, allocations: 215 kB / 24.47 MB, free: 3.777 MB / 14.72 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 1.392/1.392, allocations: 207.7 MB / 235.3 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 62.58 kB / 347.2 MB, free: 9.879 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2409/0.2428, allocations: 49.16 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005416/0.2482, allocations: 4.406 MB / 400.8 MB, free: 5.934 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002532/0.2508, allocations: 1.289 MB / 402 MB, free: 5.008 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004757/0.2512, allocations: 12.25 kB / 402.1 MB, free: 5.004 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004925/0.2517, allocations: 155.6 kB / 402.2 MB, free: 4.918 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008404/0.2526, allocations: 332.2 kB / 402.5 MB, free: 4.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006109/0.2532, allocations: 228.4 kB / 402.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001346/0.2545, allocations: 1.16 MB / 403.9 MB, free: 3.961 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003865/0.2549, allocations: 216.1 kB / 404.1 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.2555, allocations: 459.4 kB / 404.6 MB, free: 3.629 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000592/0.2561, allocations: 433.8 kB / 405 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001612/0.2563, allocations: 102.1 kB / 405.1 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002052/0.2565, allocations: 102.7 kB / 405.2 MB, free: 3.449 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001687/0.2566, allocations: 224 kB / 405.4 MB, free: 3.297 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004012/0.257, allocations: 449.8 kB / 405.9 MB, free: 3.07 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.2582, allocations: 1.198 MB / 407.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.2582, allocations: 0 / 407.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2582, allocations: 0 / 407.1 MB, free: 2.59 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.527e-05/0.2582, allocations: 3.938 kB / 407.1 MB, free: 2.586 MB / 318.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.002365/0.2606, allocations: 1.256 MB / 408.3 MB, free: 1.746 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.2606, allocations: 17.58 kB / 408.3 MB, free: 1.738 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001577/0.2608, allocations: 120.6 kB / 408.4 MB, free: 1.648 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001708/0.261, allocations: 120 kB / 408.6 MB, free: 1.59 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008184/0.2618, allocations: 0.494 MB / 409.1 MB, free: 1.242 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001915/0.262, allocations: 299.2 kB / 409.4 MB, free: 0.9414 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/0.2621, allocations: 62.97 kB / 409.4 MB, free: 0.9219 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.2636, allocations: 1.625 MB / 411 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.2636, allocations: 1.156 kB / 411 MB, free: 15.4 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.163e-05/0.2637, allocations: 28.78 kB / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.742e-05/0.2637, allocations: 18.39 kB / 411.1 MB, free: 15.38 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001192/0.2649, allocations: 0.5567 MB / 411.6 MB, free: 15.12 MB / 334.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.003358/0.2682, allocations: 1.679 MB / 413.3 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.2698, allocations: 0.6958 MB / 414 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006404/0.2705, allocations: 335.6 kB / 414.3 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.575e-05/0.2705, allocations: 8.469 kB / 414.4 MB, free: 13.44 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.365e-05/0.2706, allocations: 55.69 kB / 414.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of pre-optimization done (n=73): time 2.345e-06/0.2706, allocations: 0 / 414.4 MB, free: 13.38 MB / 334.1 MB Notification: Performance of matching and sorting (n=73): time 0.004579/0.2752, allocations: 1.441 MB / 415.8 MB, free: 12.65 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004434/0.2756, allocations: 0.8205 MB / 416.7 MB, free: 11.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008125/0.2764, allocations: 0.6407 MB / 417.3 MB, free: 11.28 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.2765, allocations: 45.2 kB / 417.4 MB, free: 11.23 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002936/0.2768, allocations: 340.3 kB / 417.7 MB, free: 10.94 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.277, allocations: 264.5 kB / 417.9 MB, free: 10.71 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002409/0.2773, allocations: 145.7 kB / 418.1 MB, free: 10.62 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.2775, allocations: 388.3 kB / 418.5 MB, free: 10.25 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005781/0.278, allocations: 328.3 kB / 418.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001238/0.2793, allocations: 1.362 MB / 420.1 MB, free: 8.555 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2805, allocations: 0.6379 MB / 420.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.2805, allocations: 0 / 420.8 MB, free: 8.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002586/0.2831, allocations: 1.129 MB / 421.9 MB, free: 7.469 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.481e-05/0.2832, allocations: 83.52 kB / 422 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/0.2832, allocations: 0 / 422 MB, free: 7.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006939/0.2839, allocations: 236.4 kB / 422.2 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005614/0.2844, allocations: 133.2 kB / 422.4 MB, free: 7.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007957/0.2924, allocations: 6.471 MB / 428.8 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001095/0.2935, allocations: 95.75 kB / 428.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.403e-05/0.2936, allocations: 24 kB / 428.9 MB, free: 0.8711 MB / 334.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.0004456/0.294, allocations: 221.8 kB / 429.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002024/0.2942, allocations: 95.41 kB / 429.3 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.2944, allocations: 95.33 kB / 429.3 MB, free: 460 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.2944, allocations: 8 kB / 429.4 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.144e-05/0.2944, allocations: 0 / 429.4 MB, free: 452 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002362/0.2968, allocations: 1.182 MB / 430.5 MB, free: 15.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003854/0.3006, allocations: 1.691 MB / 432.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.97e-06/0.3006, allocations: 0 / 432.2 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006057/0.3013, allocations: 127.9 kB / 432.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005402/0.3018, allocations: 198.4 kB / 432.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.3018, allocations: 12 kB / 432.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006407/0.3082, allocations: 4.973 MB / 437.5 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.3083, allocations: 4.219 kB / 437.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003117/0.3114, allocations: 1.305 MB / 438.8 MB, free: 6.395 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.3119, allocations: 159.3 kB / 439 MB, free: 6.238 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3121, allocations: 20 kB / 439 MB, free: 6.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000592/0.3126, allocations: 51.89 kB / 439.1 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001726/0.3128, allocations: 60.55 kB / 439.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.341e-05/0.3129, allocations: 23.98 kB / 439.1 MB, free: 6.086 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005708/0.3134, allocations: 455.1 kB / 439.6 MB, free: 5.648 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3134, allocations: 3.938 kB / 439.6 MB, free: 5.645 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000855/0.3143, allocations: 287.7 kB / 439.9 MB, free: 5.363 MB / 350.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.003254/0.3175, allocations: 1.884 MB / 441.8 MB, free: 3.434 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.3197, allocations: 1.333 MB / 443.1 MB, free: 1.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.513e-06/0.3197, allocations: 4 kB / 443.1 MB, free: 1.988 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001001/0.3207, allocations: 0.6795 MB / 443.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3217, allocations: 240.4 kB / 444 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01285/0.3346, allocations: 7.753 MB / 451.8 MB, free: 9.012 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004056/0.335, allocations: 346 kB / 452.1 MB, free: 8.648 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.3354, allocations: 102.4 kB / 452.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004282/0.3359, allocations: 295.3 kB / 452.5 MB, free: 8.254 MB / 366.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3359, allocations: 4 kB / 452.5 MB, free: 8.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07151/0.4074, allocations: 27.56 MB / 480.1 MB, free: 12.56 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.05/13.45, allocations: 3.938 kB / 480.1 MB, free: 12.56 MB / 398.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 15.81538463709876]