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.00161/0.00161, allocations: 111.1 kB / 20.44 MB, free: 1.199 MB / 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.001908/0.001908, allocations: 206.4 kB / 23.73 MB, free: 4.414 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.398/1.398, allocations: 230.5 MB / 257.4 MB, free: 7.766 MB / 206.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: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00289/0.00289, allocations: 63.91 kB / 377.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.259/0.2619, allocations: 53.4 MB / 431.1 MB, free: 6.469 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006236/0.2682, allocations: 4.433 MB / 435.6 MB, free: 2.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002571/0.2707, allocations: 1.269 MB / 436.8 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002502/0.271, allocations: 11.94 kB / 436.8 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.2714, allocations: 158.6 kB / 437 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006015/0.272, allocations: 333.2 kB / 437.3 MB, free: 256 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004213/0.2724, allocations: 223.7 kB / 437.5 MB, free: 32 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001201/0.2736, allocations: 1.151 MB / 438.7 MB, free: 14.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003814/0.274, allocations: 222.5 kB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004626/0.2745, allocations: 458.4 kB / 439.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00057/0.275, allocations: 441.9 kB / 439.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001489/0.2752, allocations: 100 kB / 439.9 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001781/0.2754, allocations: 108 kB / 440 MB, free: 13.56 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001907/0.2755, allocations: 223.2 kB / 440.2 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004338/0.276, allocations: 442.2 kB / 440.6 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.2772, allocations: 1.191 MB / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.2772, allocations: 0 / 441.8 MB, free: 11.71 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.664e-06/0.2772, allocations: 7.938 kB / 441.8 MB, free: 11.7 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.137e-05/0.2772, allocations: 0 / 441.8 MB, free: 11.7 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.002258/0.2794, allocations: 1.261 MB / 443.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2795, allocations: 19.97 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001788/0.2797, allocations: 119.9 kB / 443.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001789/0.2798, allocations: 112.3 kB / 443.4 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008896/0.2807, allocations: 499.2 kB / 443.8 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003111/0.281, allocations: 309.2 kB / 444.1 MB, free: 9.262 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.2811, allocations: 60.38 kB / 444.2 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.283, allocations: 1.612 MB / 445.8 MB, free: 7.305 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.283, allocations: 3.953 kB / 445.8 MB, free: 7.301 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.225e-05/0.2831, allocations: 36 kB / 445.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.116e-05/0.2831, allocations: 12 kB / 445.9 MB, free: 7.254 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001229/0.2843, allocations: 0.5634 MB / 446.4 MB, free: 6.691 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.003319/0.2876, allocations: 1.686 MB / 448.1 MB, free: 4.957 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001715/0.2893, allocations: 0.6882 MB / 448.8 MB, free: 4.262 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006753/0.29, allocations: 338.4 kB / 449.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.107e-05/0.2901, allocations: 20.53 kB / 449.2 MB, free: 3.91 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.2901, allocations: 51.16 kB / 449.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.154e-06/0.2901, allocations: 0 / 449.2 MB, free: 3.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004603/0.2947, allocations: 1.429 MB / 450.6 MB, free: 2.406 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005033/0.2952, allocations: 0.8234 MB / 451.5 MB, free: 1.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008794/0.2961, allocations: 0.6487 MB / 452.1 MB, free: 0.7266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.118e-05/0.2962, allocations: 45.7 kB / 452.1 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003628/0.2966, allocations: 337.4 kB / 452.5 MB, free: 348 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002543/0.2968, allocations: 277.7 kB / 452.7 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002734/0.2971, allocations: 142.8 kB / 452.9 MB, free: 15.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002243/0.2973, allocations: 386.8 kB / 453.3 MB, free: 15.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006181/0.2979, allocations: 334.9 kB / 453.6 MB, free: 15.18 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001357/0.2993, allocations: 1.36 MB / 455 MB, free: 13.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001245/0.3005, allocations: 0.6388 MB / 455.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.3005, allocations: 0 / 455.6 MB, free: 12.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002574/0.3031, allocations: 1.127 MB / 456.7 MB, free: 11.67 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.23e-05/0.3032, allocations: 89.09 kB / 456.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3032, allocations: 0 / 456.8 MB, free: 11.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007313/0.3039, allocations: 239.2 kB / 457 MB, free: 11.32 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/0.3045, allocations: 123.9 kB / 457.2 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008598/0.3131, allocations: 6.463 MB / 463.6 MB, free: 4.281 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008836/0.314, allocations: 95.64 kB / 463.7 MB, free: 4.188 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.547e-05/0.3141, allocations: 24 kB / 463.7 MB, free: 4.164 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.0003971/0.3145, allocations: 214.6 kB / 463.9 MB, free: 3.945 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001554/0.3146, allocations: 99.41 kB / 464 MB, free: 3.848 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000183/0.3148, allocations: 87.53 kB / 464.1 MB, free: 3.754 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.3148, allocations: 11.94 kB / 464.1 MB, free: 3.742 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.415e-06/0.3148, allocations: 4 kB / 464.1 MB, free: 3.738 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002352/0.3172, allocations: 1.182 MB / 465.3 MB, free: 2.441 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003708/0.3209, allocations: 1.687 MB / 467 MB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.3209, allocations: 4 kB / 467 MB, free: 0.6836 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006178/0.3215, allocations: 127.8 kB / 467.1 MB, free: 0.5586 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005542/0.322, allocations: 198.5 kB / 467.3 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.701e-05/0.3221, allocations: 15.98 kB / 467.4 MB, free: 348 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00654/0.3286, allocations: 4.97 MB / 472.3 MB, free: 11.03 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3286, allocations: 3.938 kB / 472.3 MB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003061/0.3317, allocations: 1.305 MB / 473.6 MB, free: 9.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003998/0.3321, allocations: 171.3 kB / 473.8 MB, free: 9.52 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001154/0.3322, allocations: 20 kB / 473.8 MB, free: 9.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006149/0.3328, allocations: 39.91 kB / 473.9 MB, free: 9.461 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001619/0.333, allocations: 64.48 kB / 473.9 MB, free: 9.398 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.333, allocations: 19.98 kB / 473.9 MB, free: 9.379 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006009/0.3336, allocations: 459.1 kB / 474.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3336, allocations: 0 / 474.4 MB, free: 8.938 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008666/0.3345, allocations: 279.8 kB / 474.7 MB, free: 8.664 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.003346/0.3378, allocations: 1.888 MB / 476.6 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00221/0.3401, allocations: 1.341 MB / 477.9 MB, free: 5.289 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.3401, allocations: 4 kB / 477.9 MB, free: 5.285 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001022/0.3411, allocations: 0.6717 MB / 478.6 MB, free: 4.57 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009718/0.3421, allocations: 235 kB / 478.8 MB, free: 4.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01296/0.355, allocations: 7.751 MB / 486.5 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.3554, allocations: 357.9 kB / 486.9 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005083/0.3559, allocations: 98.42 kB / 487 MB, free: 11.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004323/0.3564, allocations: 295.3 kB / 487.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of SimCode: time 1.183e-06/0.3564, allocations: 0 / 487.3 MB, free: 11.55 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07826/0.4346, allocations: 27.56 MB / 0.5028 GB, free: 436 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/13.72, allocations: 7.938 kB / 0.5028 GB, free: 428 kB / 414.1 MB " [Timeout remaining time 646] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) [Timeout 52.5] 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: 16.09378015389666]