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: 124.8 kB / 17.79 MB, free: 5.266 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.001283/0.001283, allocations: 186.9 kB / 20.73 MB, free: 2.332 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.351/1.351, allocations: 225.6 MB / 249.1 MB, free: 3.602 MB / 190.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.001484/0.001484, allocations: 47.92 kB / 365.6 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09141/0.0929, allocations: 52.14 MB / 417.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.006233/0.09913, allocations: 4.976 MB / 422.7 MB, free: 7.602 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.1015, allocations: 1.293 MB / 424 MB, free: 6.301 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003148/0.1018, allocations: 11.94 kB / 424.1 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004068/0.1022, allocations: 154.6 kB / 424.2 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006115/0.1028, allocations: 329.2 kB / 424.5 MB, free: 5.812 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004409/0.1033, allocations: 223.6 kB / 424.7 MB, free: 5.594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001291/0.1046, allocations: 1.16 MB / 425.9 MB, free: 4.426 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003857/0.105, allocations: 230 kB / 426.1 MB, free: 4.184 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005354/0.1055, allocations: 450.5 kB / 426.6 MB, free: 3.742 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006053/0.1061, allocations: 0.4902 MB / 427.1 MB, free: 3.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001405/0.1062, allocations: 100 kB / 427.2 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001596/0.1064, allocations: 104 kB / 427.3 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001961/0.1066, allocations: 227.2 kB / 427.5 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005112/0.1071, allocations: 0.5134 MB / 428 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001203/0.1083, allocations: 1.187 MB / 429.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.1083, allocations: 0 / 429.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1083, allocations: 0 / 429.2 MB, free: 1.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1083, allocations: 4 kB / 429.2 MB, free: 1.117 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.002393/0.1107, allocations: 1.336 MB / 430.5 MB, free: 15.71 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1108, allocations: 8.031 kB / 430.5 MB, free: 15.7 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001883/0.1109, allocations: 123.8 kB / 430.6 MB, free: 15.57 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001837/0.1111, allocations: 116.3 kB / 430.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.112, allocations: 0.5557 MB / 431.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/0.1122, allocations: 139 kB / 431.5 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001012/0.1123, allocations: 72.36 kB / 431.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00138/0.1137, allocations: 0.8587 MB / 432.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.1137, allocations: 7.938 kB / 432.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.1138, allocations: 28 kB / 432.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/0.1138, allocations: 12 kB / 432.4 MB, free: 13.63 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001195/0.115, allocations: 0.5672 MB / 433 MB, free: 13.06 MB / 366.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.003516/0.1185, allocations: 2.147 MB / 435.1 MB, free: 10.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001776/0.1203, allocations: 0.9186 MB / 436.1 MB, free: 9.828 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006882/0.121, allocations: 342.4 kB / 436.4 MB, free: 9.492 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.184e-05/0.121, allocations: 8.656 kB / 436.4 MB, free: 9.484 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.095e-05/0.1211, allocations: 55.16 kB / 436.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of pre-optimization done (n=73): time 2.284e-06/0.1211, allocations: 0 / 436.5 MB, free: 9.422 MB / 366.1 MB Notification: Performance of matching and sorting (n=73): time 0.004853/0.1259, allocations: 1.739 MB / 438.2 MB, free: 7.59 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000463/0.1264, allocations: 0.8234 MB / 439 MB, free: 6.57 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.1272, allocations: 0.6371 MB / 439.7 MB, free: 5.926 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/0.1273, allocations: 53.64 kB / 439.7 MB, free: 5.867 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002883/0.1276, allocations: 345.3 kB / 440 MB, free: 5.523 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.1278, allocations: 261.7 kB / 440.3 MB, free: 5.266 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002311/0.1281, allocations: 142.7 kB / 440.4 MB, free: 5.121 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002144/0.1283, allocations: 390.7 kB / 440.8 MB, free: 4.73 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005529/0.1288, allocations: 245.9 kB / 441.1 MB, free: 4.492 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00084/0.1297, allocations: 0.5312 MB / 441.6 MB, free: 3.855 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001166/0.1308, allocations: 0.6349 MB / 442.2 MB, free: 3.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.1308, allocations: 0 / 442.2 MB, free: 3.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002451/0.1333, allocations: 1.044 MB / 443.3 MB, free: 2.109 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.367e-05/0.1334, allocations: 82.75 kB / 443.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1334, allocations: 0 / 443.4 MB, free: 2.012 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.1341, allocations: 243.2 kB / 443.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005615/0.1346, allocations: 119.9 kB / 443.7 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.161/0.2956, allocations: 6.93 MB / 450.6 MB, free: 25.78 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007834/0.2964, allocations: 94.05 kB / 450.7 MB, free: 25.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.2965, allocations: 22.47 kB / 450.8 MB, free: 25.78 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.0002934/0.2968, allocations: 217.1 kB / 451 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.2969, allocations: 94.39 kB / 451.1 MB, free: 25.66 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.297, allocations: 91.86 kB / 451.1 MB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.297, allocations: 8.406 kB / 451.2 MB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.297, allocations: 0 / 451.2 MB, free: 25.64 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001788/0.2988, allocations: 1.185 MB / 452.3 MB, free: 25.08 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/0.3018, allocations: 1.862 MB / 454.2 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.3019, allocations: 3.984 kB / 454.2 MB, free: 24.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000578/0.3024, allocations: 128 kB / 454.3 MB, free: 24.72 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000484/0.3029, allocations: 201.2 kB / 454.5 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.925e-05/0.303, allocations: 18.06 kB / 454.5 MB, free: 24.7 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004684/0.3076, allocations: 5.31 MB / 459.9 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3076, allocations: 1.812 kB / 459.9 MB, free: 20.28 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002824/0.3105, allocations: 1.31 MB / 461.2 MB, free: 19.68 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003336/0.3108, allocations: 242.6 kB / 461.4 MB, free: 19.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.3109, allocations: 25.08 kB / 461.4 MB, free: 19.49 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005633/0.3115, allocations: 39.06 kB / 461.5 MB, free: 19.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/0.3116, allocations: 63.16 kB / 461.5 MB, free: 19.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.3117, allocations: 23.61 kB / 461.6 MB, free: 19.45 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005191/0.3122, allocations: 456.8 kB / 462 MB, free: 19.25 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3122, allocations: 3.188 kB / 462 MB, free: 19.25 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007934/0.313, allocations: 284.9 kB / 462.3 MB, free: 19.21 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.002726/0.3157, allocations: 1.892 MB / 464.2 MB, free: 18.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.3174, allocations: 1.258 MB / 465.4 MB, free: 17.22 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.3174, allocations: 2.438 kB / 465.4 MB, free: 17.22 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008009/0.3182, allocations: 0.6757 MB / 466.1 MB, free: 16.77 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009124/0.3191, allocations: 227.8 kB / 466.3 MB, free: 16.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01106/0.3302, allocations: 7.45 MB / 473.8 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003886/0.3306, allocations: 0.9443 MB / 474.7 MB, free: 12.21 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004666/0.331, allocations: 103.6 kB / 474.8 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.3313, allocations: 294.5 kB / 475.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3313, allocations: 0 / 475.1 MB, free: 11.98 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06349/0.3948, allocations: 25.59 MB / 0.489 GB, free: 9.082 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.83/13.22, allocations: 4.031 kB / 0.489 GB, free: 9.082 MB / 382.1 MB " [Timeout remaining time 647] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.519381505902857]