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.001254/0.001254, allocations: 109.5 kB / 20.43 MB, free: 1.449 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.00129/0.00129, allocations: 187.1 kB / 23.72 MB, free: 4.684 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.36/1.36, allocations: 225.6 MB / 252.5 MB, free: 13.03 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_4_0_0_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001493/0.001493, allocations: 43.94 kB / 370.4 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2298/0.2313, allocations: 52.19 MB / 422.6 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006467/0.2378, allocations: 4.975 MB / 427.6 MB, free: 9.602 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002384/0.2402, allocations: 1.293 MB / 428.9 MB, free: 8.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004398/0.2406, allocations: 11.94 kB / 428.9 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004468/0.2411, allocations: 166.5 kB / 429.1 MB, free: 8.125 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006807/0.2417, allocations: 333.2 kB / 429.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004732/0.2422, allocations: 223.6 kB / 429.6 MB, free: 7.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001265/0.2435, allocations: 1.168 MB / 430.8 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003621/0.2438, allocations: 226 kB / 431 MB, free: 6.172 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004749/0.2443, allocations: 458.5 kB / 431.5 MB, free: 5.723 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006221/0.2449, allocations: 0.498 MB / 432 MB, free: 5.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.2451, allocations: 104 kB / 432.1 MB, free: 5.121 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001542/0.2452, allocations: 100 kB / 432.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001906/0.2454, allocations: 219.3 kB / 432.4 MB, free: 4.809 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004856/0.2459, allocations: 0.5172 MB / 432.9 MB, free: 4.289 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.2471, allocations: 1.18 MB / 434.1 MB, free: 3.105 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.2471, allocations: 4 kB / 434.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.2471, allocations: 0 / 434.1 MB, free: 3.102 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.699e-05/0.2471, allocations: 0 / 434.1 MB, free: 3.102 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.002231/0.2493, allocations: 1.265 MB / 435.3 MB, free: 1.785 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.941e-05/0.2494, allocations: 19.95 kB / 435.4 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001782/0.2496, allocations: 127.9 kB / 435.5 MB, free: 1.629 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001686/0.2497, allocations: 116.3 kB / 435.6 MB, free: 1.516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008578/0.2506, allocations: 0.4953 MB / 436.1 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002865/0.2509, allocations: 301.2 kB / 436.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-05/0.251, allocations: 60.38 kB / 436.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.2523, allocations: 0.8588 MB / 437.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.804e-05/0.2524, allocations: 0 / 437.3 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.571e-05/0.2524, allocations: 28 kB / 437.3 MB, free: 15.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.2524, allocations: 16 kB / 437.3 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001201/0.2536, allocations: 0.5711 MB / 437.9 MB, free: 15.01 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.003452/0.2571, allocations: 2.081 MB / 440 MB, free: 12.83 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001638/0.2587, allocations: 0.7017 MB / 440.7 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006771/0.2594, allocations: 339.3 kB / 441 MB, free: 11.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.2595, allocations: 12.66 kB / 441 MB, free: 11.77 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.74e-05/0.2595, allocations: 51.14 kB / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.214e-06/0.2595, allocations: 0 / 441.1 MB, free: 11.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.00461/0.2641, allocations: 1.433 MB / 442.5 MB, free: 10.27 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004539/0.2646, allocations: 0.8272 MB / 443.3 MB, free: 9.242 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008076/0.2654, allocations: 0.641 MB / 444 MB, free: 8.594 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.549e-05/0.2654, allocations: 45.7 kB / 444 MB, free: 8.543 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002889/0.2657, allocations: 341.4 kB / 444.4 MB, free: 8.203 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.266, allocations: 269.6 kB / 444.6 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002365/0.2662, allocations: 146.6 kB / 444.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001993/0.2664, allocations: 386.7 kB / 445.2 MB, free: 7.402 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005471/0.2669, allocations: 249.9 kB / 445.4 MB, free: 7.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008524/0.2678, allocations: 0.5234 MB / 445.9 MB, free: 6.527 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001156/0.2689, allocations: 0.631 MB / 446.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.2689, allocations: 0 / 446.6 MB, free: 5.867 MB / 350.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002471/0.2714, allocations: 1.048 MB / 447.6 MB, free: 4.785 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.615e-05/0.2715, allocations: 85.11 kB / 447.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.2715, allocations: 0 / 447.7 MB, free: 4.684 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006923/0.2722, allocations: 239.2 kB / 447.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005846/0.2728, allocations: 123.9 kB / 448 MB, free: 4.316 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008215/0.281, allocations: 6.523 MB / 454.6 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007547/0.2817, allocations: 95.47 kB / 454.7 MB, free: 13.24 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.981e-05/0.2818, allocations: 27.98 kB / 454.7 MB, free: 13.21 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.0003898/0.2822, allocations: 213.7 kB / 454.9 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.2824, allocations: 99.38 kB / 455 MB, free: 12.9 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002066/0.2826, allocations: 91.33 kB / 455.1 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.2826, allocations: 8 kB / 455.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.2826, allocations: 0 / 455.1 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002311/0.2849, allocations: 1.182 MB / 456.3 MB, free: 11.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003735/0.2887, allocations: 1.84 MB / 458.1 MB, free: 9.594 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.2887, allocations: 8 kB / 458.1 MB, free: 9.586 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006091/0.2893, allocations: 131.9 kB / 458.2 MB, free: 9.457 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005396/0.2898, allocations: 198.5 kB / 458.4 MB, free: 9.254 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.773e-05/0.2899, allocations: 16 kB / 458.5 MB, free: 9.238 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006334/0.2962, allocations: 5.005 MB / 463.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.2962, allocations: 0 / 463.5 MB, free: 3.895 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002928/0.2991, allocations: 1.317 MB / 464.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003923/0.2995, allocations: 167.2 kB / 464.9 MB, free: 2.379 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/0.2997, allocations: 23.98 kB / 465 MB, free: 2.355 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006011/0.3003, allocations: 43.91 kB / 465 MB, free: 2.312 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001572/0.3004, allocations: 56.55 kB / 465.1 MB, free: 2.258 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/0.3005, allocations: 23.98 kB / 465.1 MB, free: 2.234 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0006039/0.3011, allocations: 459.1 kB / 465.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3011, allocations: 0 / 465.5 MB, free: 1.793 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008614/0.3019, allocations: 287.8 kB / 465.8 MB, free: 1.512 MB / 366.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.003327/0.3053, allocations: 1.88 MB / 467.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002092/0.3073, allocations: 1.262 MB / 469 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.3074, allocations: 4 kB / 469 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.3084, allocations: 0.6676 MB / 469.6 MB, free: 13.53 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001001/0.3094, allocations: 227.2 kB / 469.8 MB, free: 13.3 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01292/0.3223, allocations: 7.452 MB / 477.3 MB, free: 5.664 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.3229, allocations: 0.944 MB / 478.2 MB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003937/0.3233, allocations: 102.4 kB / 478.3 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004216/0.3237, allocations: 299.3 kB / 478.6 MB, free: 4.293 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.3237, allocations: 0 / 478.6 MB, free: 4.293 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07783/0.4016, allocations: 26.11 MB / 0.4929 GB, free: 10.6 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.63/14.03, allocations: 6.594 kB / 0.4929 GB, free: 10.59 MB / 414.1 MB " [Timeout remaining time 646] (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: 16.360635021002963]