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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 108.2 kB / 16.92 MB, free: 6.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 187.4 kB / 17.85 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.215/1.215, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 49 kB / 300.7 MB, free: 5.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07441/0.07546, allocations: 49.44 MB / 350.2 MB, free: 4.32 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004918/0.08041, allocations: 4.942 MB / 355.1 MB, free: 15.34 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001529/0.08195, allocations: 1.277 MB / 356.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000187/0.08215, allocations: 11.94 kB / 356.4 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003234/0.08249, allocations: 170.5 kB / 356.6 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004502/0.08295, allocations: 313.3 kB / 356.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003303/0.08329, allocations: 227.6 kB / 357.1 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008733/0.08417, allocations: 1.156 MB / 358.2 MB, free: 12.19 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003944/0.08457, allocations: 337.9 kB / 358.6 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003311/0.08491, allocations: 438.5 kB / 359 MB, free: 11.41 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004539/0.08537, allocations: 0.5018 MB / 359.5 MB, free: 10.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001277/0.08551, allocations: 100 kB / 359.6 MB, free: 10.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001477/0.08566, allocations: 104 kB / 359.7 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001531/0.08582, allocations: 215.2 kB / 359.9 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003936/0.08622, allocations: 0.5172 MB / 360.4 MB, free: 9.98 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009075/0.08713, allocations: 1.16 MB / 361.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.08714, allocations: 0 / 361.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.08715, allocations: 0 / 361.6 MB, free: 8.816 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.368e-06/0.08717, allocations: 8 kB / 361.6 MB, free: 8.809 MB / 302.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.001959/0.08913, allocations: 1.306 MB / 362.9 MB, free: 7.434 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.084e-05/0.08917, allocations: 12.03 kB / 362.9 MB, free: 7.422 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.08932, allocations: 119.8 kB / 363 MB, free: 7.293 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001459/0.08948, allocations: 115.8 kB / 363.1 MB, free: 7.18 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006325/0.09011, allocations: 0.5473 MB / 363.7 MB, free: 6.594 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001793/0.0903, allocations: 147 kB / 363.8 MB, free: 6.434 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.694e-05/0.0904, allocations: 64.31 kB / 363.9 MB, free: 6.371 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.09154, allocations: 0.8631 MB / 364.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.533e-05/0.09156, allocations: 4 kB / 364.8 MB, free: 5.402 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.285e-05/0.09163, allocations: 32 kB / 364.8 MB, free: 5.371 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.09164, allocations: 12 kB / 364.8 MB, free: 5.359 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.09269, allocations: 0.5634 MB / 365.4 MB, free: 4.797 MB / 302.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.00289/0.09559, allocations: 2.151 MB / 367.5 MB, free: 2.539 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001551/0.09715, allocations: 0.9609 MB / 368.5 MB, free: 1.516 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006018/0.09776, allocations: 371.1 kB / 368.8 MB, free: 1.148 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.09781, allocations: 12.64 kB / 368.9 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.09785, allocations: 55.16 kB / 368.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 1.673e-06/0.09786, allocations: 0 / 368.9 MB, free: 1.074 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.1382/0.236, allocations: 1.726 MB / 370.6 MB, free: 25.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/0.2362, allocations: 0.8267 MB / 371.5 MB, free: 24.14 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007437/0.2369, allocations: 0.6401 MB / 372.1 MB, free: 24.02 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.784e-05/0.237, allocations: 43.19 kB / 372.1 MB, free: 23.98 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002104/0.2372, allocations: 340.8 kB / 372.5 MB, free: 23.9 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001492/0.2374, allocations: 255.6 kB / 372.7 MB, free: 23.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002137/0.2376, allocations: 145.2 kB / 372.9 MB, free: 23.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.2377, allocations: 384.1 kB / 373.2 MB, free: 23.47 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005022/0.2382, allocations: 250.5 kB / 373.5 MB, free: 23.39 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006472/0.2389, allocations: 0.534 MB / 374 MB, free: 23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001035/0.2399, allocations: 0.6362 MB / 374.7 MB, free: 22.65 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2399, allocations: 1.344 kB / 374.7 MB, free: 22.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002102/0.2421, allocations: 1.046 MB / 375.7 MB, free: 22.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.182e-05/0.2421, allocations: 85.34 kB / 375.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.2421, allocations: 1.375 kB / 375.8 MB, free: 22.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006474/0.2428, allocations: 237.9 kB / 376 MB, free: 22.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005248/0.2433, allocations: 128.8 kB / 376.1 MB, free: 22.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006135/0.2495, allocations: 6.93 MB / 383.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000729/0.2502, allocations: 89.27 kB / 383.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.2503, allocations: 23.2 kB / 383.2 MB, free: 15.68 MB / 302.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.0003107/0.2506, allocations: 225.2 kB / 383.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001304/0.2507, allocations: 88.47 kB / 383.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001491/0.2509, allocations: 91.19 kB / 383.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2509, allocations: 7.062 kB / 383.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.2509, allocations: 1.984 kB / 383.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001907/0.2528, allocations: 1.189 MB / 384.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003137/0.256, allocations: 1.872 MB / 386.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.256, allocations: 1.281 kB / 386.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005655/0.2565, allocations: 128.5 kB / 386.8 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004969/0.2571, allocations: 200.4 kB / 387 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.143e-05/0.2571, allocations: 18.84 kB / 387 MB, free: 13.59 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/0.2616, allocations: 5.313 MB / 392.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2616, allocations: 1 kB / 392.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00258/0.2642, allocations: 1.312 MB / 393.6 MB, free: 8.227 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003191/0.2646, allocations: 238.8 kB / 393.9 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.2647, allocations: 23.12 kB / 393.9 MB, free: 8.023 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005469/0.2652, allocations: 44.03 kB / 393.9 MB, free: 8.008 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/0.2654, allocations: 59.72 kB / 394 MB, free: 7.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.196e-05/0.2655, allocations: 19.7 kB / 394 MB, free: 7.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0005523/0.266, allocations: 457.1 kB / 394.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.266, allocations: 0 / 394.4 MB, free: 7.789 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008646/0.2669, allocations: 285 kB / 394.7 MB, free: 7.746 MB / 302.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.002778/0.2697, allocations: 1.899 MB / 396.6 MB, free: 6.586 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001815/0.2715, allocations: 1.323 MB / 397.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.2715, allocations: 3.938 kB / 397.9 MB, free: 5.691 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007493/0.2723, allocations: 0.695 MB / 398.6 MB, free: 5.219 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009433/0.2732, allocations: 232.1 kB / 398.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009949/0.2832, allocations: 7.903 MB / 406.8 MB, free: 15.3 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004427/0.2837, allocations: 0.9441 MB / 407.7 MB, free: 14.32 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.2841, allocations: 106.4 kB / 407.8 MB, free: 14.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003402/0.2845, allocations: 296.5 kB / 408.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2845, allocations: 0 / 408.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5055/0.79, allocations: 25.07 MB / 433.2 MB, free: 5.262 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.49/15.28, allocations: 12.08 kB / 433.2 MB, free: 5.258 MB / 334.1 MB (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 --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) 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) Reference file matches