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.001119/0.001119, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 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.001189/0.001189, allocations: 149.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 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 0.8271/0.8271, allocations: 173.4 MB / 200.4 MB, free: 9.441 MB / 186.7 MB " [Timeout remaining time 179] 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 1.643e-06/1.643e-06, allocations: 0 / 318.4 MB, free: 6.371 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.802e-05, allocations: 2.281 kB / 318.4 MB, free: 6.367 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.003606/0.003624, allocations: 4.415 MB / 322.8 MB, free: 1.926 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001553/0.005177, allocations: 1.246 MB / 324.1 MB, free: 0.6719 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.005399, allocations: 11.94 kB / 324.1 MB, free: 0.6602 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.005694, allocations: 162.5 kB / 324.3 MB, free: 0.5 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004099/0.006104, allocations: 345 kB / 324.6 MB, free: 164 kB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.0064, allocations: 231.5 kB / 324.8 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007693/0.007169, allocations: 1.21 MB / 326 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002557/0.007425, allocations: 218.5 kB / 326.2 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004625/0.007887, allocations: 0.6666 MB / 326.9 MB, free: 13.83 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003176/0.008205, allocations: 371 kB / 327.3 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 9.171e-05/0.008297, allocations: 100 kB / 327.4 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.27e-05/0.008389, allocations: 104 kB / 327.5 MB, free: 13.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001063/0.008496, allocations: 227.2 kB / 327.7 MB, free: 13.04 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002359/0.008731, allocations: 383.1 kB / 328.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007117/0.009443, allocations: 1.231 MB / 329.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.009445, allocations: 0 / 329.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.009446, allocations: 0 / 329.3 MB, free: 11.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.14e-05/0.009458, allocations: 0 / 329.3 MB, free: 11.43 MB / 298.7 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.001297/0.01076, allocations: 1.253 MB / 330.6 MB, free: 10.13 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.524e-05/0.01079, allocations: 8.922 kB / 330.6 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001268/0.01092, allocations: 123.9 kB / 330.7 MB, free: 9.988 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001117/0.01103, allocations: 116.3 kB / 330.8 MB, free: 9.875 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005374/0.01157, allocations: 0.5024 MB / 331.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001567/0.01172, allocations: 301.2 kB / 331.6 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.485e-05/0.01179, allocations: 64.38 kB / 331.7 MB, free: 8.938 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009898/0.01278, allocations: 1.616 MB / 333.3 MB, free: 7.035 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.01279, allocations: 4.125 kB / 333.3 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.33e-05/0.01284, allocations: 31.94 kB / 333.3 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.01285, allocations: 20 kB / 333.3 MB, free: 6.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007001/0.01355, allocations: 0.5595 MB / 333.9 MB, free: 6.422 MB / 298.7 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.001991/0.01554, allocations: 1.678 MB / 335.6 MB, free: 4.695 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.01655, allocations: 0.691 MB / 336.3 MB, free: 3.984 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003953/0.01694, allocations: 335.9 kB / 336.6 MB, free: 3.656 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.472e-05/0.01698, allocations: 10.3 kB / 336.6 MB, free: 3.648 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.017, allocations: 59.14 kB / 336.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of pre-optimization done (n=73): time 1.943e-06/0.01701, allocations: 0 / 336.7 MB, free: 3.578 MB / 298.7 MB Notification: Performance of matching and sorting (n=73): time 0.00288/0.01989, allocations: 1.429 MB / 338.1 MB, free: 2.133 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/0.02012, allocations: 0.8234 MB / 338.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005704/0.02069, allocations: 0.641 MB / 339.5 MB, free: 472 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.533e-05/0.02076, allocations: 45.7 kB / 339.6 MB, free: 420 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001764/0.02094, allocations: 341.3 kB / 339.9 MB, free: 76 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001587/0.02109, allocations: 265.9 kB / 340.2 MB, free: 15.81 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001506/0.02125, allocations: 146.6 kB / 340.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.02137, allocations: 390.7 kB / 340.7 MB, free: 15.27 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.02175, allocations: 323 kB / 341 MB, free: 14.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007323/0.02248, allocations: 1.367 MB / 342.4 MB, free: 13.26 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007465/0.02323, allocations: 0.6349 MB / 343 MB, free: 12.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.02323, allocations: 0 / 343 MB, free: 12.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001472/0.0247, allocations: 1.127 MB / 344.2 MB, free: 11.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.297e-05/0.02475, allocations: 93.09 kB / 344.2 MB, free: 11.31 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.02476, allocations: 3.984 kB / 344.2 MB, free: 11.3 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000439/0.0252, allocations: 235.2 kB / 344.5 MB, free: 11.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.0255, allocations: 123.9 kB / 344.6 MB, free: 10.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004661/0.03016, allocations: 6.475 MB / 351.1 MB, free: 4.012 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004249/0.03058, allocations: 95.52 kB / 351.2 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.03062, allocations: 23.98 kB / 351.2 MB, free: 3.895 MB / 314.7 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.0002458/0.03086, allocations: 217.7 kB / 351.4 MB, free: 3.672 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.083e-05/0.03096, allocations: 95.38 kB / 351.5 MB, free: 3.578 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.645e-05/0.03105, allocations: 95.34 kB / 351.6 MB, free: 3.477 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.03106, allocations: 8 kB / 351.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.03106, allocations: 0 / 351.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00123/0.03229, allocations: 1.178 MB / 352.8 MB, free: 2.176 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/0.03438, allocations: 1.683 MB / 354.5 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.03438, allocations: 0 / 354.5 MB, free: 436 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003103/0.03469, allocations: 127.8 kB / 354.6 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000308/0.035, allocations: 202.6 kB / 354.8 MB, free: 96 kB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.353e-05/0.03504, allocations: 15.98 kB / 354.8 MB, free: 80 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00336/0.0384, allocations: 4.962 MB / 359.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.0384, allocations: 3.938 kB / 359.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001604/0.04, allocations: 1.309 MB / 361.1 MB, free: 9.43 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002308/0.04023, allocations: 171.2 kB / 361.2 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.72e-05/0.04029, allocations: 16 kB / 361.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000296/0.04058, allocations: 39.97 kB / 361.3 MB, free: 9.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.0407, allocations: 68.41 kB / 361.4 MB, free: 9.141 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-05/0.04073, allocations: 20 kB / 361.4 MB, free: 9.121 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003578/0.04108, allocations: 463 kB / 361.8 MB, free: 8.672 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.04108, allocations: 3.938 kB / 361.8 MB, free: 8.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005511/0.04163, allocations: 287.8 kB / 362.1 MB, free: 8.387 MB / 330.7 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.00183/0.04346, allocations: 1.876 MB / 364 MB, free: 6.469 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001229/0.04469, allocations: 1.337 MB / 365.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.0447, allocations: 4.125 kB / 365.3 MB, free: 5.02 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005482/0.04524, allocations: 0.6714 MB / 366 MB, free: 4.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006001/0.04584, allocations: 239 kB / 366.2 MB, free: 4.074 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007833/0.05368, allocations: 7.706 MB / 373.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/0.0539, allocations: 346 kB / 374.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000271/0.05417, allocations: 102.4 kB / 374.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002653/0.05444, allocations: 296.4 kB / 374.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of SimCode: time 6.21e-07/0.05444, allocations: 0 / 374.7 MB, free: 11.34 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03928/0.09372, allocations: 27.61 MB / 402.3 MB, free: 168 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.392, allocations: 3.938 kB / 402.3 MB, free: 164 kB / 362.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins/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: 10.001299331896007]