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.001246/0.001246, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.001322/0.001322, allocations: 188.3 kB / 24.49 MB, free: 3.941 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.362/1.362, allocations: 225.7 MB / 253.3 MB, free: 12.81 MB / 206.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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001481/0.001481, allocations: 47.94 kB / 371.2 MB, free: 9.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2299/0.2313, allocations: 52.18 MB / 423.4 MB, free: 14.37 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005854/0.2372, allocations: 4.408 MB / 427.8 MB, free: 9.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002075/0.2393, allocations: 1.238 MB / 429 MB, free: 8.695 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002215/0.2395, allocations: 11.94 kB / 429 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003963/0.2399, allocations: 166.6 kB / 429.2 MB, free: 8.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005881/0.2405, allocations: 317.3 kB / 429.5 MB, free: 8.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004131/0.2409, allocations: 231.6 kB / 429.7 MB, free: 7.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001228/0.2421, allocations: 1.163 MB / 430.9 MB, free: 6.812 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003759/0.2425, allocations: 230.5 kB / 431.1 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000471/0.243, allocations: 458.5 kB / 431.6 MB, free: 6.125 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006199/0.2436, allocations: 0.498 MB / 432.1 MB, free: 5.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001462/0.2437, allocations: 107.9 kB / 432.2 MB, free: 5.52 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001708/0.2439, allocations: 100 kB / 432.3 MB, free: 5.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001952/0.2441, allocations: 219.3 kB / 432.5 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004659/0.2446, allocations: 446.2 kB / 432.9 MB, free: 4.77 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2457, allocations: 1.198 MB / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2458, allocations: 0 / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2458, allocations: 0 / 434.1 MB, free: 3.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.297e-05/0.2458, allocations: 0 / 434.1 MB, free: 3.566 MB / 334.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.002286/0.2481, allocations: 1.257 MB / 435.4 MB, free: 2.258 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.2481, allocations: 12.03 kB / 435.4 MB, free: 2.246 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.101e-05/0.2481, allocations: 25.48 kB / 435.4 MB, free: 2.219 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/0.2483, allocations: 135.8 kB / 435.5 MB, free: 2.078 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001986/0.2485, allocations: 112.3 kB / 435.6 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008546/0.2494, allocations: 0.5031 MB / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002898/0.2497, allocations: 297.2 kB / 436.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.2498, allocations: 84.06 kB / 436.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.2516, allocations: 1.631 MB / 438.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.2516, allocations: 0 / 438.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-05/0.2517, allocations: 28 kB / 438.2 MB, free: 15.06 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/0.2517, allocations: 16 kB / 438.2 MB, free: 15.05 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.253, allocations: 0.5906 MB / 438.8 MB, free: 14.46 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.003399/0.2564, allocations: 1.784 MB / 440.6 MB, free: 12.63 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001713/0.2581, allocations: 0.7385 MB / 441.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007207/0.2588, allocations: 374.3 kB / 441.7 MB, free: 11.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.84e-05/0.2589, allocations: 17 kB / 441.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.189e-05/0.2589, allocations: 51.55 kB / 441.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.395e-06/0.2589, allocations: 0 / 441.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01521/0.2741, allocations: 5.327 MB / 447.1 MB, free: 6.055 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007974/0.2821, allocations: 4.726 MB / 451.8 MB, free: 1.02 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008457/0.2829, allocations: 0.6449 MB / 452.4 MB, free: 376 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002148/0.2831, allocations: 53.7 kB / 452.5 MB, free: 316 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.2834, allocations: 330.2 kB / 452.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000457/0.2839, allocations: 479.8 kB / 453.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004412/0.2843, allocations: 230.9 kB / 453.5 MB, free: 15.27 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002089/0.2845, allocations: 406.7 kB / 453.9 MB, free: 14.87 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00122/0.2858, allocations: 0.6752 MB / 454.6 MB, free: 14.17 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001874/0.2876, allocations: 1.749 MB / 456.3 MB, free: 12.11 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.29, allocations: 1.333 MB / 457.7 MB, free: 10.76 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/0.2901, allocations: 4 kB / 457.7 MB, free: 10.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.00564/0.2957, allocations: 2.293 MB / 460 MB, free: 8.395 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.924e-05/0.2958, allocations: 81.11 kB / 460 MB, free: 8.297 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.347e-05/0.2958, allocations: 3.938 kB / 460 MB, free: 8.293 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002608/0.2984, allocations: 0.7364 MB / 460.8 MB, free: 7.531 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008642/0.2992, allocations: 199.7 kB / 461 MB, free: 7.336 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/0.3161, allocations: 13.26 MB / 474.2 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001779/0.3179, allocations: 175.9 kB / 474.4 MB, free: 8.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001381/0.3181, allocations: 51.95 kB / 474.4 MB, free: 8.938 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 (112): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,3,88.9%), (1,3,100.0%), (1,7,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,3), (3,3), (1,7), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0004917/0.3186, allocations: 254 kB / 474.7 MB, free: 8.68 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002161/0.3188, allocations: 111.3 kB / 474.8 MB, free: 8.57 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002471/0.319, allocations: 126.1 kB / 474.9 MB, free: 8.441 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005502/0.3245, allocations: 2.025 MB / 477 MB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3245, allocations: 4 kB / 477 MB, free: 6.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005307/0.3298, allocations: 2.383 MB / 479.3 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008788/0.3386, allocations: 3.804 MB / 483.1 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.551e-06/0.3386, allocations: 0 / 483.1 MB, free: 15.99 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008294/0.3395, allocations: 183.8 kB / 483.3 MB, free: 15.81 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003689/0.3432, allocations: 1.08 MB / 484.4 MB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.3433, allocations: 39.89 kB / 484.4 MB, free: 14.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01829/0.3615, allocations: 12.27 MB / 496.7 MB, free: 1.715 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007051/0.3686, allocations: 3.643 MB / 0.4886 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006837/0.3754, allocations: 3.027 MB / 0.4916 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000677/0.3761, allocations: 255.5 kB / 0.4918 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/0.3763, allocations: 27.98 kB / 0.4919 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.3774, allocations: 103.9 kB / 0.492 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003908/0.3778, allocations: 141 kB / 0.4921 GB, free: 10.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001022/0.3779, allocations: 43.95 kB / 0.4921 GB, free: 10.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005816/0.3785, allocations: 455.1 kB / 0.4926 GB, free: 9.879 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3785, allocations: 4 kB / 0.4926 GB, free: 9.875 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001674/0.3802, allocations: 0.5781 MB / 0.4931 GB, free: 9.297 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],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 (94): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,3,100.0%), (3,3,88.9%), (1,1,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(6,15), (1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007254/0.3874, allocations: 3.61 MB / 0.4967 GB, free: 5.629 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004604/0.392, allocations: 2.659 MB / 0.4993 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/0.392, allocations: 0 / 0.4993 GB, free: 2.809 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003619/0.3956, allocations: 1.745 MB / 0.501 GB, free: 0.9844 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001311/0.397, allocations: 250.8 kB / 0.5012 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02249/0.4194, allocations: 11.85 MB / 0.5128 GB, free: 4.594 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005338/0.42, allocations: 457.8 kB / 0.5132 GB, free: 4.109 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007185/0.4207, allocations: 156.4 kB / 0.5134 GB, free: 3.953 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006662/0.4214, allocations: 399.2 kB / 0.5137 GB, free: 3.562 MB / 430.1 MB Notification: Performance of SimCode: time 8.11e-07/0.4214, allocations: 0 / 0.5137 GB, free: 3.562 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2743/0.6956, allocations: 41.93 MB / 0.5547 GB, free: 127.8 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.66, allocations: 7.688 kB / 0.5547 GB, free: 127.7 MB / 462.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] 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: 18.09261486597825]