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.001244/0.001244, allocations: 115.8 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.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: 216.6 kB / 23.74 MB, free: 4.656 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.455/1.455, allocations: 230.6 MB / 257.5 MB, free: 8.039 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.001656/0.001656, allocations: 47.92 kB / 377.8 MB, free: 3.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2565/0.2582, allocations: 53.37 MB / 431.1 MB, free: 6.863 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006491/0.2647, allocations: 4.989 MB / 436.1 MB, free: 1.859 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002864/0.2675, allocations: 1.328 MB / 437.5 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.2679, allocations: 11.94 kB / 437.5 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004709/0.2684, allocations: 166.5 kB / 437.6 MB, free: 356 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000657/0.269, allocations: 325.2 kB / 438 MB, free: 28 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000472/0.2695, allocations: 223.7 kB / 438.2 MB, free: 15.81 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.2709, allocations: 1.164 MB / 439.3 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004061/0.2713, allocations: 227.6 kB / 439.6 MB, free: 14.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006361/0.2719, allocations: 458.4 kB / 440 MB, free: 13.95 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007417/0.2727, allocations: 0.5019 MB / 440.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001548/0.2728, allocations: 104 kB / 440.6 MB, free: 13.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.273, allocations: 104 kB / 440.7 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001997/0.2732, allocations: 215.2 kB / 440.9 MB, free: 13.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005181/0.2737, allocations: 0.5095 MB / 441.4 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001283/0.275, allocations: 1.186 MB / 442.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.468e-05/0.275, allocations: 4 kB / 442.6 MB, free: 11.33 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.275, allocations: 7.938 kB / 442.6 MB, free: 11.32 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.613e-05/0.275, allocations: 0 / 442.6 MB, free: 11.32 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.002636/0.2777, allocations: 1.261 MB / 443.9 MB, free: 10.01 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.2777, allocations: 12.03 kB / 443.9 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001865/0.2779, allocations: 123.9 kB / 444 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001918/0.2781, allocations: 112.3 kB / 444.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009003/0.279, allocations: 499.2 kB / 444.6 MB, free: 9.246 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002972/0.2793, allocations: 305.2 kB / 444.9 MB, free: 8.895 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.592e-05/0.2794, allocations: 60.38 kB / 445 MB, free: 8.836 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001401/0.2808, allocations: 0.8633 MB / 445.8 MB, free: 7.871 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.285e-05/0.2808, allocations: 3.953 kB / 445.8 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.511e-05/0.2809, allocations: 28 kB / 445.9 MB, free: 7.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.801e-05/0.2809, allocations: 19.98 kB / 445.9 MB, free: 7.82 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.2821, allocations: 0.5634 MB / 446.5 MB, free: 7.254 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.003598/0.2857, allocations: 2.093 MB / 448.5 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/0.2874, allocations: 0.6853 MB / 449.2 MB, free: 4.371 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006852/0.2881, allocations: 346.4 kB / 449.6 MB, free: 4.031 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.372e-05/0.2881, allocations: 20.7 kB / 449.6 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.404e-05/0.2882, allocations: 55.09 kB / 449.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of pre-optimization done (n=73): time 2.575e-06/0.2882, allocations: 0 / 449.6 MB, free: 3.949 MB / 350.1 MB Notification: Performance of matching and sorting (n=73): time 0.004666/0.2929, allocations: 1.426 MB / 451.1 MB, free: 2.508 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004325/0.2933, allocations: 0.8272 MB / 451.9 MB, free: 1.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008481/0.2941, allocations: 0.6488 MB / 452.5 MB, free: 0.8242 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.362e-05/0.2942, allocations: 45.7 kB / 452.6 MB, free: 0.7734 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002905/0.2945, allocations: 337.4 kB / 452.9 MB, free: 448 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002418/0.2947, allocations: 273.6 kB / 453.2 MB, free: 172 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002336/0.295, allocations: 146.6 kB / 453.3 MB, free: 20 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002148/0.2952, allocations: 386.7 kB / 453.7 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005442/0.2957, allocations: 245.9 kB / 453.9 MB, free: 15.39 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000825/0.2966, allocations: 0.5274 MB / 454.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.2977, allocations: 0.6349 MB / 455.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.456e-06/0.2977, allocations: 4 kB / 455.1 MB, free: 14.09 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00252/0.3003, allocations: 1.04 MB / 456.2 MB, free: 13.02 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.489e-05/0.3003, allocations: 89.09 kB / 456.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.3003, allocations: 0 / 456.2 MB, free: 12.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007067/0.301, allocations: 235.2 kB / 456.5 MB, free: 12.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005751/0.3016, allocations: 127.9 kB / 456.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008369/0.31, allocations: 6.529 MB / 463.1 MB, free: 5.562 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008945/0.3109, allocations: 95.52 kB / 463.2 MB, free: 5.469 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.83e-05/0.3109, allocations: 27.98 kB / 463.2 MB, free: 5.441 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.0003659/0.3113, allocations: 213.7 kB / 463.5 MB, free: 5.223 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.3115, allocations: 91.42 kB / 463.5 MB, free: 5.133 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001917/0.3117, allocations: 99.33 kB / 463.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.3117, allocations: 4 kB / 463.6 MB, free: 5.023 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.3117, allocations: 7.938 kB / 463.7 MB, free: 5.016 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002315/0.314, allocations: 1.178 MB / 464.8 MB, free: 3.723 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003807/0.3178, allocations: 1.835 MB / 466.7 MB, free: 1.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.3178, allocations: 4 kB / 466.7 MB, free: 1.816 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006218/0.3184, allocations: 131.9 kB / 466.8 MB, free: 1.688 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005475/0.319, allocations: 194.5 kB / 467 MB, free: 1.488 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/0.319, allocations: 16 kB / 467 MB, free: 1.473 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006562/0.3256, allocations: 5.005 MB / 472 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3256, allocations: 0 / 472 MB, free: 12.13 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00313/0.3287, allocations: 1.313 MB / 473.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004483/0.3292, allocations: 167.2 kB / 473.5 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001163/0.3293, allocations: 16.19 kB / 473.5 MB, free: 10.6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006088/0.3299, allocations: 47.91 kB / 473.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/0.33, allocations: 64.48 kB / 473.6 MB, free: 10.49 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.3301, allocations: 23.98 kB / 473.6 MB, free: 10.47 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0005944/0.3307, allocations: 455.1 kB / 474.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.3307, allocations: 4 kB / 474.1 MB, free: 10.03 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0008659/0.3315, allocations: 283.8 kB / 474.4 MB, free: 9.75 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.00332/0.3349, allocations: 1.884 MB / 476.2 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002119/0.337, allocations: 1.262 MB / 477.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.337, allocations: 0 / 477.5 MB, free: 6.477 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.338, allocations: 0.6675 MB / 478.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001093/0.3391, allocations: 239.2 kB / 478.4 MB, free: 5.531 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/0.352, allocations: 7.445 MB / 485.9 MB, free: 13.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000631/0.3526, allocations: 0.9478 MB / 486.8 MB, free: 12.92 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004448/0.3531, allocations: 98.42 kB / 486.9 MB, free: 12.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000435/0.3535, allocations: 291.3 kB / 487.2 MB, free: 12.53 MB / 398.1 MB Notification: Performance of SimCode: time 8.32e-07/0.3535, allocations: 8 kB / 487.2 MB, free: 12.52 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07774/0.4313, allocations: 26.11 MB / 0.5013 GB, free: 2.824 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.09/14.52, allocations: 4.188 kB / 0.5013 GB, free: 2.82 MB / 414.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: 16.995715769939125]