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.001264/0.001264, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.001516/0.001516, allocations: 212.3 kB / 23.74 MB, free: 4.66 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.383/1.383, allocations: 230.5 MB / 257.4 MB, free: 8 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.001894/0.001894, allocations: 63.89 kB / 377.8 MB, free: 3.031 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2421, allocations: 53.42 MB / 431.2 MB, free: 6.703 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006989/0.2491, allocations: 4.991 MB / 436.2 MB, free: 1.695 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002606/0.2517, allocations: 1.316 MB / 437.5 MB, free: 380 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005052/0.2522, allocations: 15.88 kB / 437.5 MB, free: 364 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005208/0.2527, allocations: 162.6 kB / 437.7 MB, free: 200 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000934/0.2537, allocations: 333.3 kB / 438 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005572/0.2542, allocations: 227.6 kB / 438.2 MB, free: 15.64 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001642/0.2559, allocations: 1.164 MB / 439.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004033/0.2563, allocations: 230 kB / 439.6 MB, free: 14.24 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006441/0.2569, allocations: 454.5 kB / 440.1 MB, free: 13.79 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007892/0.2577, allocations: 0.498 MB / 440.5 MB, free: 13.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001957/0.2579, allocations: 104 kB / 440.6 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000212/0.2581, allocations: 104 kB / 440.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002078/0.2583, allocations: 227.2 kB / 441 MB, free: 12.87 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006494/0.259, allocations: 0.5134 MB / 441.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001377/0.2603, allocations: 1.18 MB / 442.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.2604, allocations: 0 / 442.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.51e-07/0.2604, allocations: 4 kB / 442.7 MB, free: 11.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.304e-05/0.2604, allocations: 0 / 442.7 MB, free: 11.16 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.002785/0.2632, allocations: 1.265 MB / 443.9 MB, free: 9.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.2632, allocations: 12.03 kB / 443.9 MB, free: 9.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001949/0.2634, allocations: 123.8 kB / 444.1 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001963/0.2636, allocations: 120.3 kB / 444.2 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.2647, allocations: 495.3 kB / 444.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003257/0.265, allocations: 305.2 kB / 445 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.2651, allocations: 60.38 kB / 445 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00149/0.2666, allocations: 0.8586 MB / 445.9 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.93e-05/0.2666, allocations: 3.953 kB / 445.9 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.802e-05/0.2667, allocations: 28 kB / 445.9 MB, free: 7.672 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.845e-05/0.2667, allocations: 16 kB / 445.9 MB, free: 7.656 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.2679, allocations: 0.5673 MB / 446.5 MB, free: 7.09 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.00372/0.2716, allocations: 2.085 MB / 448.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.2733, allocations: 0.6992 MB / 449.3 MB, free: 4.199 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006659/0.274, allocations: 334.4 kB / 449.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.038e-05/0.274, allocations: 16.64 kB / 449.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.2741, allocations: 55.09 kB / 449.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.315e-06/0.2741, allocations: 0 / 449.7 MB, free: 3.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004725/0.2788, allocations: 1.441 MB / 451.1 MB, free: 2.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005185/0.2793, allocations: 0.8234 MB / 451.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008456/0.2802, allocations: 0.641 MB / 452.6 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-05/0.2802, allocations: 45.7 kB / 452.6 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000289/0.2805, allocations: 341.4 kB / 453 MB, free: 280 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002307/0.2808, allocations: 269.6 kB / 453.2 MB, free: 8 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002551/0.281, allocations: 142.8 kB / 453.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.2812, allocations: 390.7 kB / 453.7 MB, free: 15.47 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005424/0.2818, allocations: 245.9 kB / 454 MB, free: 15.23 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008507/0.2826, allocations: 0.5312 MB / 454.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001152/0.2838, allocations: 0.631 MB / 455.2 MB, free: 13.93 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2838, allocations: 8 kB / 455.2 MB, free: 13.92 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002502/0.2863, allocations: 1.036 MB / 456.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.2863, allocations: 85.11 kB / 456.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.2863, allocations: 3.984 kB / 456.3 MB, free: 12.75 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006887/0.287, allocations: 235.2 kB / 456.5 MB, free: 12.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005656/0.2876, allocations: 135.8 kB / 456.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00815/0.2958, allocations: 6.518 MB / 463.2 MB, free: 5.402 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.2965, allocations: 99.47 kB / 463.3 MB, free: 5.305 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.992e-05/0.2966, allocations: 20 kB / 463.3 MB, free: 5.285 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.0003527/0.2969, allocations: 217.8 kB / 463.5 MB, free: 5.062 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000144/0.2971, allocations: 91.42 kB / 463.6 MB, free: 4.973 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001896/0.2973, allocations: 95.27 kB / 463.7 MB, free: 4.871 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.2973, allocations: 4 kB / 463.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.2973, allocations: 0 / 463.7 MB, free: 4.867 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00231/0.2996, allocations: 1.182 MB / 464.9 MB, free: 3.57 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003732/0.3033, allocations: 1.839 MB / 466.7 MB, free: 1.664 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3033, allocations: 7.984 kB / 466.7 MB, free: 1.656 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005947/0.3039, allocations: 123.8 kB / 466.8 MB, free: 1.535 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005395/0.3045, allocations: 202.6 kB / 467 MB, free: 1.328 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.349e-05/0.3045, allocations: 12 kB / 467 MB, free: 1.316 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006541/0.3111, allocations: 5.013 MB / 472 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.3111, allocations: 0 / 472 MB, free: 11.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002946/0.314, allocations: 1.313 MB / 473.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.3144, allocations: 163.2 kB / 473.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001537/0.3146, allocations: 23.98 kB / 473.5 MB, free: 10.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/0.3152, allocations: 43.91 kB / 473.6 MB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/0.3154, allocations: 60.55 kB / 473.6 MB, free: 10.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.164e-05/0.3154, allocations: 19.98 kB / 473.7 MB, free: 10.31 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006209/0.316, allocations: 459.1 kB / 474.1 MB, free: 9.871 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.316, allocations: 4 kB / 474.1 MB, free: 9.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008972/0.3169, allocations: 279.8 kB / 474.4 MB, free: 9.594 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.003319/0.3203, allocations: 1.891 MB / 476.3 MB, free: 7.664 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002139/0.3224, allocations: 1.254 MB / 477.5 MB, free: 6.32 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.3224, allocations: 4 kB / 477.5 MB, free: 6.316 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00101/0.3234, allocations: 0.6678 MB / 478.2 MB, free: 5.605 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009933/0.3244, allocations: 238.8 kB / 478.4 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01312/0.3375, allocations: 7.437 MB / 485.9 MB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006428/0.3382, allocations: 0.9478 MB / 486.8 MB, free: 12.78 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004201/0.3386, allocations: 106.4 kB / 486.9 MB, free: 12.67 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000412/0.339, allocations: 295.3 kB / 487.2 MB, free: 12.38 MB / 398.1 MB Notification: Performance of SimCode: time 9.92e-07/0.339, allocations: 3.938 kB / 487.2 MB, free: 12.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07905/0.418, allocations: 26.12 MB / 0.5013 GB, free: 2.605 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.42/13.84, allocations: 7.969 kB / 0.5013 GB, free: 2.598 MB / 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.17974301194772]