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.001257/0.001257, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001371/0.001371, allocations: 214 kB / 24.52 MB, free: 3.914 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.364/1.364, allocations: 230.6 MB / 258.3 MB, free: 7.801 MB / 206.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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 51.92 kB / 378.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2322, allocations: 53.36 MB / 431.9 MB, free: 6.672 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005643/0.2378, allocations: 4.424 MB / 436.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2398, allocations: 1.262 MB / 437.5 MB, free: 0.9688 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.2401, allocations: 19.88 kB / 437.6 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003739/0.2404, allocations: 162.6 kB / 437.7 MB, free: 0.7891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005629/0.241, allocations: 329.2 kB / 438 MB, free: 476 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003793/0.2414, allocations: 227.6 kB / 438.3 MB, free: 248 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001202/0.2426, allocations: 1.153 MB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003783/0.243, allocations: 234.5 kB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004616/0.2434, allocations: 454.5 kB / 440.1 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005994/0.244, allocations: 0.498 MB / 440.6 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001443/0.2442, allocations: 104 kB / 440.7 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001793/0.2443, allocations: 104 kB / 440.8 MB, free: 13.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001922/0.2445, allocations: 223.2 kB / 441 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004569/0.245, allocations: 442.2 kB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001184/0.2462, allocations: 1.191 MB / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.2462, allocations: 0 / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2462, allocations: 0 / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.819e-06/0.2462, allocations: 0 / 442.6 MB, free: 11.84 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.002254/0.2484, allocations: 1.269 MB / 443.9 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2485, allocations: 11.97 kB / 443.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.247e-05/0.2485, allocations: 29.48 kB / 443.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001728/0.2487, allocations: 131.8 kB / 444.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001939/0.2489, allocations: 116.3 kB / 444.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008365/0.2498, allocations: 0.4954 MB / 444.7 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003005/0.2501, allocations: 305.1 kB / 445 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.2502, allocations: 72.12 kB / 445 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001817/0.252, allocations: 1.632 MB / 446.7 MB, free: 7.367 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.252, allocations: 3.953 kB / 446.7 MB, free: 7.363 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.2521, allocations: 32 kB / 446.7 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.518e-05/0.2521, allocations: 16 kB / 446.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001208/0.2533, allocations: 0.579 MB / 447.3 MB, free: 6.734 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.003386/0.2567, allocations: 1.791 MB / 449.1 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001722/0.2584, allocations: 0.7376 MB / 449.8 MB, free: 4.156 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007107/0.2591, allocations: 378.2 kB / 450.2 MB, free: 3.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.458e-05/0.2592, allocations: 13 kB / 450.2 MB, free: 3.773 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.2592, allocations: 51.56 kB / 450.3 MB, free: 3.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=87): time 2.324e-06/0.2592, allocations: 4 kB / 450.3 MB, free: 3.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=132): time 0.01487/0.2741, allocations: 5.342 MB / 455.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.007835/0.2819, allocations: 4.707 MB / 460.3 MB, free: 9.297 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008388/0.2828, allocations: 0.6371 MB / 461 MB, free: 8.648 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001283/0.2829, allocations: 53.7 kB / 461 MB, free: 8.59 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/0.2832, allocations: 334 kB / 461.3 MB, free: 8.258 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004273/0.2836, allocations: 484 kB / 461.8 MB, free: 7.781 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004181/0.284, allocations: 231 kB / 462 MB, free: 7.551 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002222/0.2842, allocations: 410.7 kB / 462.4 MB, free: 7.141 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001197/0.2854, allocations: 0.6752 MB / 463.1 MB, free: 6.445 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001947/0.2874, allocations: 1.745 MB / 464.9 MB, free: 4.391 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002341/0.2897, allocations: 1.33 MB / 466.2 MB, free: 3.035 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.2897, allocations: 3.938 kB / 466.2 MB, free: 3.031 MB / 366.1 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.005414/0.2951, allocations: 2.305 MB / 468.5 MB, free: 0.6562 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.861e-05/0.2952, allocations: 85.09 kB / 468.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.998e-06/0.2952, allocations: 0 / 468.6 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/0.2978, allocations: 0.7364 MB / 469.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008265/0.2986, allocations: 195.8 kB / 469.5 MB, free: 15.6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01602/0.3146, allocations: 13.27 MB / 482.8 MB, free: 1.414 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001667/0.3163, allocations: 171.8 kB / 482.9 MB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.3164, allocations: 56.17 kB / 483 MB, free: 1.191 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.0004473/0.3169, allocations: 253.7 kB / 483.3 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.3171, allocations: 107.3 kB / 483.4 MB, free: 0.8281 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.3173, allocations: 126.1 kB / 483.5 MB, free: 0.6992 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005195/0.3225, allocations: 2.025 MB / 485.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.3225, allocations: 4 kB / 485.5 MB, free: 14.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005035/0.3275, allocations: 2.375 MB / 487.9 MB, free: 12.14 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00846/0.336, allocations: 3.804 MB / 491.7 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.479e-06/0.336, allocations: 0 / 491.7 MB, free: 8.258 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008112/0.3368, allocations: 187.7 kB / 491.9 MB, free: 8.074 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003622/0.3404, allocations: 1.082 MB / 493 MB, free: 6.973 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.365e-05/0.3405, allocations: 35.91 kB / 493 MB, free: 6.938 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01785/0.3584, allocations: 12.28 MB / 0.4934 GB, free: 9.969 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006672/0.3651, allocations: 3.649 MB / 0.497 GB, free: 6.195 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006674/0.3717, allocations: 3.008 MB / 0.4999 GB, free: 3.141 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005764/0.3723, allocations: 255.2 kB / 0.5002 GB, free: 2.891 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000165/0.3725, allocations: 28 kB / 0.5002 GB, free: 2.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001101/0.3736, allocations: 103.9 kB / 0.5003 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003555/0.3739, allocations: 137 kB / 0.5004 GB, free: 2.629 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.273e-05/0.374, allocations: 43.91 kB / 0.5005 GB, free: 2.586 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006297/0.3747, allocations: 463 kB / 0.5009 GB, free: 2.141 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3747, allocations: 0 / 0.5009 GB, free: 2.141 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001562/0.3762, allocations: 0.5742 MB / 0.5015 GB, free: 1.566 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.007048/0.3833, allocations: 3.614 MB / 0.505 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004027/0.3873, allocations: 2.659 MB / 0.5076 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.3873, allocations: 0 / 0.5076 GB, free: 11.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003359/0.3907, allocations: 1.737 MB / 0.5093 GB, free: 9.262 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001115/0.3918, allocations: 255 kB / 0.5095 GB, free: 9.012 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0215/0.4133, allocations: 11.85 MB / 0.5211 GB, free: 12.87 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.4138, allocations: 466.2 kB / 0.5216 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0005854/0.4144, allocations: 152.4 kB / 0.5217 GB, free: 12.22 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006883/0.4151, allocations: 399.2 kB / 0.5221 GB, free: 11.83 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.4151, allocations: 0 / 0.5221 GB, free: 11.83 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2684/0.6834, allocations: 41.94 MB / 0.563 GB, free: 117.9 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.55/15.23, allocations: 5.797 kB / 0.563 GB, free: 117.9 MB / 462.1 MB " [Timeout remaining time 645] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_4.1.0_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] 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: 17.649823090992868]