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.001817/0.001817, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002115/0.002115, allocations: 203.4 kB / 23.73 MB, free: 4.379 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.385/1.385, allocations: 230.6 MB / 257.5 MB, free: 7.805 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_1_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001482/0.001482, allocations: 47.92 kB / 377.7 MB, free: 3.047 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.2389, allocations: 53.37 MB / 431.1 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005741/0.2446, allocations: 4.435 MB / 435.5 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002569/0.2472, allocations: 1.266 MB / 436.8 MB, free: 0.9102 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003535/0.2475, allocations: 11.94 kB / 436.8 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004266/0.248, allocations: 162.6 kB / 437 MB, free: 0.7383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006355/0.2486, allocations: 329.2 kB / 437.3 MB, free: 424 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.249, allocations: 227.6 kB / 437.5 MB, free: 196 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001284/0.2503, allocations: 1.149 MB / 438.6 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004248/0.2507, allocations: 239.5 kB / 438.9 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005051/0.2513, allocations: 450.5 kB / 439.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006234/0.2519, allocations: 0.5018 MB / 439.8 MB, free: 13.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001371/0.252, allocations: 104 kB / 439.9 MB, free: 13.74 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001617/0.2522, allocations: 104 kB / 440 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001999/0.2524, allocations: 219.2 kB / 440.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004504/0.2528, allocations: 438.2 kB / 440.7 MB, free: 13 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.254, allocations: 1.198 MB / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.254, allocations: 0 / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.254, allocations: 0 / 441.9 MB, free: 11.8 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.254, allocations: 0 / 441.9 MB, free: 11.8 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.002307/0.2563, allocations: 1.269 MB / 443.1 MB, free: 10.48 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.2564, allocations: 8.031 kB / 443.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001765/0.2566, allocations: 123.9 kB / 443.3 MB, free: 10.34 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.2567, allocations: 112.3 kB / 443.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000881/0.2576, allocations: 0.507 MB / 443.9 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002896/0.2579, allocations: 297.2 kB / 444.2 MB, free: 9.352 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001109/0.258, allocations: 64.38 kB / 444.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001908/0.2599, allocations: 1.609 MB / 445.8 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.2599, allocations: 7.953 kB / 445.8 MB, free: 7.387 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.317e-05/0.26, allocations: 35.97 kB / 445.9 MB, free: 7.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/0.26, allocations: 20 kB / 445.9 MB, free: 7.332 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001189/0.2612, allocations: 0.5555 MB / 446.5 MB, free: 6.773 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.003348/0.2646, allocations: 1.682 MB / 448.1 MB, free: 5.043 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001683/0.2663, allocations: 0.697 MB / 448.8 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006596/0.2669, allocations: 334.4 kB / 449.2 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.182e-05/0.267, allocations: 16.64 kB / 449.2 MB, free: 3.996 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.267, allocations: 51.16 kB / 449.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.424e-06/0.267, allocations: 0 / 449.2 MB, free: 3.934 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004663/0.2717, allocations: 1.43 MB / 450.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004612/0.2721, allocations: 0.8272 MB / 451.5 MB, free: 1.469 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000803/0.2729, allocations: 0.6527 MB / 452.1 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.273, allocations: 45.7 kB / 452.2 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000284/0.2733, allocations: 333.4 kB / 452.5 MB, free: 432 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002292/0.2735, allocations: 269.7 kB / 452.8 MB, free: 160 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002533/0.2738, allocations: 146.7 kB / 452.9 MB, free: 4 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002076/0.274, allocations: 382.8 kB / 453.3 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005843/0.2746, allocations: 323 kB / 453.6 MB, free: 15.29 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001272/0.2759, allocations: 1.375 MB / 455 MB, free: 13.61 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001153/0.277, allocations: 0.6272 MB / 455.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.277, allocations: 0 / 455.6 MB, free: 12.95 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002473/0.2795, allocations: 1.131 MB / 456.7 MB, free: 11.76 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.265e-05/0.2796, allocations: 85.11 kB / 456.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2796, allocations: 0 / 456.8 MB, free: 11.66 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006956/0.2803, allocations: 239.2 kB / 457.1 MB, free: 11.41 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.2808, allocations: 123.9 kB / 457.2 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008111/0.289, allocations: 6.471 MB / 463.6 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/0.2898, allocations: 95.52 kB / 463.7 MB, free: 4.273 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.2898, allocations: 24.08 kB / 463.8 MB, free: 4.25 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.0003389/0.2902, allocations: 217.7 kB / 464 MB, free: 4.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001476/0.2903, allocations: 95.41 kB / 464.1 MB, free: 3.934 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.2905, allocations: 95.34 kB / 464.2 MB, free: 3.832 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.758e-06/0.2905, allocations: 11.98 kB / 464.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.61e-06/0.2905, allocations: 0 / 464.2 MB, free: 3.82 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002282/0.2928, allocations: 1.174 MB / 465.3 MB, free: 2.531 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003549/0.2964, allocations: 1.691 MB / 467 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.2964, allocations: 0 / 467 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/0.297, allocations: 128 kB / 467.2 MB, free: 0.6484 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005382/0.2976, allocations: 206.6 kB / 467.4 MB, free: 448 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.001e-05/0.2976, allocations: 20 kB / 467.4 MB, free: 428 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006215/0.3038, allocations: 4.966 MB / 472.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.3038, allocations: 0 / 472.4 MB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002934/0.3068, allocations: 1.321 MB / 473.7 MB, free: 9.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000386/0.3071, allocations: 159.3 kB / 473.8 MB, free: 9.598 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/0.3073, allocations: 20 kB / 473.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005853/0.3078, allocations: 39.91 kB / 473.9 MB, free: 9.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001544/0.308, allocations: 64.53 kB / 473.9 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.308, allocations: 20 kB / 474 MB, free: 9.457 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005696/0.3086, allocations: 463 kB / 474.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3086, allocations: 0 / 474.4 MB, free: 9.012 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00085/0.3095, allocations: 283.8 kB / 474.7 MB, free: 8.734 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.003241/0.3127, allocations: 1.888 MB / 476.6 MB, free: 6.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002097/0.3148, allocations: 1.329 MB / 477.9 MB, free: 5.371 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.3148, allocations: 8.062 kB / 477.9 MB, free: 5.363 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009675/0.3158, allocations: 0.6637 MB / 478.6 MB, free: 4.656 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001021/0.3168, allocations: 243.2 kB / 478.8 MB, free: 4.422 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/0.3293, allocations: 7.753 MB / 486.6 MB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003589/0.3296, allocations: 353.9 kB / 486.9 MB, free: 12.03 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0003935/0.33, allocations: 106.4 kB / 487 MB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003993/0.3304, allocations: 291.3 kB / 487.3 MB, free: 11.64 MB / 398.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3304, allocations: 3.938 kB / 487.3 MB, free: 11.63 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07362/0.404, allocations: 27.76 MB / 0.503 GB, free: 372 kB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/13.34, allocations: 3.094 kB / 0.503 GB, free: 372 kB / 414.1 MB " [Timeout remaining time 647] (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: 15.685154256003443]