Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001032/0.001032, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001191/0.001191, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.226/1.226, allocations: 227.4 MB / 246.8 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 57.66 kB / 307 MB, free: 0.5703 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06869/0.06973, allocations: 50.54 MB / 357.6 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.004649/0.07439, allocations: 4.948 MB / 362.5 MB, free: 9.059 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001872/0.07627, allocations: 1.316 MB / 363.8 MB, free: 7.734 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003385/0.07662, allocations: 8 kB / 363.9 MB, free: 7.727 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003733/0.07701, allocations: 162.5 kB / 364 MB, free: 7.566 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005738/0.0776, allocations: 325.2 kB / 364.3 MB, free: 7.246 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003765/0.07798, allocations: 223.6 kB / 364.5 MB, free: 7.027 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009465/0.07894, allocations: 1.148 MB / 365.7 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003664/0.07931, allocations: 329.9 kB / 366 MB, free: 5.539 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003849/0.0797, allocations: 450.4 kB / 366.5 MB, free: 5.098 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004727/0.08018, allocations: 0.4941 MB / 366.9 MB, free: 4.602 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001212/0.08031, allocations: 104 kB / 367.1 MB, free: 4.5 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001457/0.08046, allocations: 107.9 kB / 367.2 MB, free: 4.395 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001499/0.08062, allocations: 215.3 kB / 367.4 MB, free: 4.184 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003749/0.081, allocations: 0.5172 MB / 367.9 MB, free: 3.664 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007737/0.08178, allocations: 1.164 MB / 369 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.08179, allocations: 0 / 369 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.0818, allocations: 0 / 369 MB, free: 2.496 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.08181, allocations: 0 / 369 MB, free: 2.496 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.001798/0.08361, allocations: 1.314 MB / 370.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.08365, allocations: 8.031 kB / 370.4 MB, free: 1.102 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001419/0.0838, allocations: 123.8 kB / 370.5 MB, free: 0.9727 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001399/0.08394, allocations: 103.8 kB / 370.6 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005912/0.08454, allocations: 0.5512 MB / 371.1 MB, free: 284 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000167/0.08471, allocations: 147 kB / 371.3 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.912e-05/0.0848, allocations: 60.38 kB / 371.3 MB, free: 56 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1133/0.1981, allocations: 0.8553 MB / 372.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.1982, allocations: 2.141 kB / 372.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.737e-05/0.1982, allocations: 29.16 kB / 372.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.133e-05/0.1982, allocations: 13.81 kB / 372.2 MB, free: 19.88 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001029/0.1993, allocations: 0.5674 MB / 372.8 MB, free: 19.87 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.002995/0.2023, allocations: 2.142 MB / 375 MB, free: 18.78 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.2039, allocations: 0.9624 MB / 375.9 MB, free: 18.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.2045, allocations: 376.1 kB / 376.3 MB, free: 18.08 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.273e-05/0.2046, allocations: 20.48 kB / 376.3 MB, free: 18.07 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.99e-05/0.2046, allocations: 46.09 kB / 376.3 MB, free: 18.03 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.474e-06/0.2046, allocations: 4 kB / 376.4 MB, free: 18.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004439/0.209, allocations: 1.738 MB / 378.1 MB, free: 17.22 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001781/0.2092, allocations: 0.8236 MB / 378.9 MB, free: 16.22 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008083/0.2101, allocations: 0.6383 MB / 379.6 MB, free: 15.93 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.687e-05/0.2101, allocations: 44.95 kB / 379.6 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.2104, allocations: 338.7 kB / 379.9 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000175/0.2106, allocations: 251.3 kB / 380.2 MB, free: 15.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002371/0.2108, allocations: 145.9 kB / 380.3 MB, free: 15.38 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001043/0.2109, allocations: 388 kB / 380.7 MB, free: 15.04 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004906/0.2114, allocations: 249.9 kB / 380.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006721/0.2121, allocations: 0.5254 MB / 381.5 MB, free: 14.54 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00122/0.2133, allocations: 0.6366 MB / 382.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.271e-06/0.2134, allocations: 0 / 382.1 MB, free: 14.19 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002998/0.2164, allocations: 1.048 MB / 383.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.01e-05/0.2164, allocations: 87.62 kB / 383.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2165, allocations: 8.109 kB / 383.2 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007266/0.2172, allocations: 238.5 kB / 383.5 MB, free: 13.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.2178, allocations: 132.5 kB / 383.6 MB, free: 13.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006598/0.2244, allocations: 6.927 MB / 390.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008791/0.2253, allocations: 99.39 kB / 390.6 MB, free: 7.176 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.23e-05/0.2254, allocations: 22.08 kB / 390.6 MB, free: 7.172 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.0003494/0.2257, allocations: 229.4 kB / 390.9 MB, free: 6.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001689/0.2259, allocations: 89.5 kB / 391 MB, free: 6.949 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001562/0.2261, allocations: 91.34 kB / 391 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.622e-06/0.2261, allocations: 7.625 kB / 391.1 MB, free: 6.879 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.2261, allocations: 4 kB / 391.1 MB, free: 6.875 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001973/0.2281, allocations: 1.186 MB / 392.2 MB, free: 6.086 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003304/0.2314, allocations: 1.875 MB / 394.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.2314, allocations: 256 / 394.1 MB, free: 5.176 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.232, allocations: 136 kB / 394.3 MB, free: 5.156 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005065/0.2325, allocations: 199.5 kB / 394.4 MB, free: 5.086 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.148e-05/0.2326, allocations: 14.31 kB / 394.5 MB, free: 5.078 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004664/0.2372, allocations: 5.326 MB / 399.8 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.2373, allocations: 1.375 kB / 399.8 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/0.24, allocations: 1.31 MB / 401.1 MB, free: 15.3 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.2404, allocations: 242.3 kB / 401.3 MB, free: 15.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001623/0.2406, allocations: 22.81 kB / 401.4 MB, free: 15.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006077/0.2412, allocations: 39.22 kB / 401.4 MB, free: 15.04 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.2414, allocations: 57.27 kB / 401.5 MB, free: 15.01 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.987e-05/0.2414, allocations: 25.73 kB / 401.5 MB, free: 15 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0005269/0.242, allocations: 459.9 kB / 401.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.242, allocations: 0 / 401.9 MB, free: 14.73 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008981/0.2429, allocations: 284.9 kB / 402.2 MB, free: 14.69 MB / 318.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.003053/0.2459, allocations: 1.891 MB / 404.1 MB, free: 13.39 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002296/0.2483, allocations: 1.319 MB / 405.4 MB, free: 12.4 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/0.2483, allocations: 3.938 kB / 405.4 MB, free: 12.39 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.2493, allocations: 0.6941 MB / 406.1 MB, free: 11.87 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001274/0.2506, allocations: 237 kB / 406.3 MB, free: 11.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01246/0.2631, allocations: 7.904 MB / 414.2 MB, free: 4.195 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005029/0.2636, allocations: 0.9401 MB / 415.2 MB, free: 3.227 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004836/0.2641, allocations: 106.4 kB / 415.3 MB, free: 3.117 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003814/0.2645, allocations: 295.3 kB / 415.6 MB, free: 2.828 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2645, allocations: 4 kB / 415.6 MB, free: 2.824 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.466/3.731, allocations: 25.06 MB / 440.6 MB, free: 10.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/15.87, allocations: 4 kB / 440.7 MB, free: 10.12 MB / 350.1 MB (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches