Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling,fileNamePrefix="Modelica_3_2_3_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.001335/0.001335, allocations: 106.5 kB / 17.73 MB, free: 5.367 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.001375/0.001375, allocations: 187 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.319/1.319, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 51.94 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09266/0.09382, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005624/0.09949, allocations: 4.937 MB / 379.6 MB, free: 132 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.1908/0.2903, allocations: 1.324 MB / 380.9 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003509/0.2907, allocations: 11.47 kB / 380.9 MB, free: 9.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004048/0.2912, allocations: 168.6 kB / 381.1 MB, free: 9.094 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005711/0.2918, allocations: 316.7 kB / 381.4 MB, free: 8.945 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.2922, allocations: 226.5 kB / 381.6 MB, free: 8.941 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001013/0.2933, allocations: 1.16 MB / 382.8 MB, free: 8.66 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004624/0.2937, allocations: 326.9 kB / 383.1 MB, free: 8.59 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004831/0.2942, allocations: 445.8 kB / 383.5 MB, free: 8.508 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005153/0.2947, allocations: 0.5063 MB / 384 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.2949, allocations: 100.7 kB / 384.1 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001682/0.2951, allocations: 104.5 kB / 384.2 MB, free: 8.316 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.2952, allocations: 223.2 kB / 384.4 MB, free: 8.172 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.2956, allocations: 0.5122 MB / 385 MB, free: 7.879 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001037/0.2967, allocations: 1.18 MB / 386.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.2967, allocations: 0.6094 kB / 386.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2967, allocations: 0 / 386.1 MB, free: 7.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.2967, allocations: 0 / 386.1 MB, free: 7.441 MB / 318.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.002011/0.2987, allocations: 1.313 MB / 387.4 MB, free: 6.527 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.2988, allocations: 10.62 kB / 387.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001556/0.2989, allocations: 120.5 kB / 387.6 MB, free: 6.438 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001556/0.2991, allocations: 108.1 kB / 387.7 MB, free: 6.391 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007647/0.2999, allocations: 0.557 MB / 388.2 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001801/0.3, allocations: 142.7 kB / 388.4 MB, free: 5.875 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.787e-05/0.3001, allocations: 63.19 kB / 388.4 MB, free: 5.855 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001252/0.3014, allocations: 0.8614 MB / 389.3 MB, free: 5.309 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.065e-05/0.3014, allocations: 11 kB / 389.3 MB, free: 5.301 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.086e-05/0.3015, allocations: 29.55 kB / 389.3 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.3015, allocations: 14.44 kB / 389.4 MB, free: 5.281 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001167/0.3027, allocations: 0.5611 MB / 389.9 MB, free: 5.105 MB / 318.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.003284/0.306, allocations: 2.125 MB / 392 MB, free: 3.895 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/0.3076, allocations: 0.9631 MB / 393 MB, free: 3.324 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006283/0.3083, allocations: 368.3 kB / 393.4 MB, free: 3.188 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.558e-05/0.3083, allocations: 17.12 kB / 393.4 MB, free: 3.184 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.544e-05/0.3084, allocations: 57.94 kB / 393.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of pre-optimization done (n=73): time 2.425e-06/0.3084, allocations: 1.531 kB / 393.4 MB, free: 3.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=73): time 0.004691/0.3131, allocations: 1.74 MB / 395.2 MB, free: 2.297 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.3132, allocations: 0.8224 MB / 396 MB, free: 1.293 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008028/0.314, allocations: 0.6415 MB / 396.6 MB, free: 1.004 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 9.263e-05/0.3141, allocations: 45.55 kB / 396.7 MB, free: 0.9609 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002266/0.3144, allocations: 338 kB / 397 MB, free: 0.6953 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.3146, allocations: 258.1 kB / 397.3 MB, free: 0.4961 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002376/0.3148, allocations: 147.8 kB / 397.4 MB, free: 432 kB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.000103/0.3149, allocations: 388.3 kB / 397.8 MB, free: 80 kB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005225/0.3155, allocations: 245.4 kB / 398 MB, free: 0 / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3165, allocations: 0.5501 MB / 398.6 MB, free: 15.68 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/0.3176, allocations: 0.6359 MB / 399.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.3176, allocations: 0 / 399.2 MB, free: 15.32 MB / 334.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002356/0.32, allocations: 1.048 MB / 400.3 MB, free: 14.84 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.138e-05/0.3201, allocations: 84.94 kB / 400.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.3201, allocations: 1.125 kB / 400.4 MB, free: 14.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007123/0.3208, allocations: 238.1 kB / 400.6 MB, free: 14.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.3214, allocations: 127.6 kB / 400.7 MB, free: 14.64 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007314/0.3287, allocations: 6.935 MB / 407.6 MB, free: 8.344 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009884/0.3297, allocations: 89.67 kB / 407.7 MB, free: 8.301 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.673e-05/0.3298, allocations: 28.61 kB / 407.8 MB, free: 8.289 MB / 334.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.0003774/0.3302, allocations: 221.2 kB / 408 MB, free: 8.109 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.3303, allocations: 95.88 kB / 408.1 MB, free: 8.059 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001659/0.3305, allocations: 90.25 kB / 408.2 MB, free: 7.984 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/0.3305, allocations: 11.36 kB / 408.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.3305, allocations: 256 / 408.2 MB, free: 7.98 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002144/0.3327, allocations: 1.183 MB / 409.4 MB, free: 7.07 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004385/0.3371, allocations: 1.878 MB / 411.2 MB, free: 5.781 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3371, allocations: 3.938 kB / 411.2 MB, free: 5.777 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009269/0.338, allocations: 124.4 kB / 411.4 MB, free: 5.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005858/0.3386, allocations: 198.3 kB / 411.5 MB, free: 5.645 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.048e-05/0.3387, allocations: 12.28 kB / 411.6 MB, free: 5.637 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005911/0.3446, allocations: 5.312 MB / 416.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.175e-06/0.3447, allocations: 1.062 kB / 416.9 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003215/0.3479, allocations: 1.319 MB / 418.2 MB, free: 15.84 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005518/0.3484, allocations: 241 kB / 418.4 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.3486, allocations: 20.66 kB / 418.4 MB, free: 15.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005875/0.3492, allocations: 46.8 kB / 418.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001474/0.3493, allocations: 53.3 kB / 418.5 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.983e-05/0.3494, allocations: 17.53 kB / 418.6 MB, free: 15.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005135/0.3499, allocations: 463.4 kB / 419 MB, free: 15.29 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3499, allocations: 0 / 419 MB, free: 15.29 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0008445/0.3507, allocations: 289.6 kB / 419.3 MB, free: 15.24 MB / 350.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.003184/0.3539, allocations: 1.879 MB / 421.2 MB, free: 13.95 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002076/0.356, allocations: 1.298 MB / 422.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.356, allocations: 6.094 kB / 422.5 MB, free: 12.96 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009868/0.357, allocations: 0.6897 MB / 423.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001128/0.3582, allocations: 237.4 kB / 423.4 MB, free: 12.04 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/0.3704, allocations: 7.432 MB / 430.8 MB, free: 4.414 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005527/0.371, allocations: 0.94 MB / 431.8 MB, free: 3.449 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004653/0.3714, allocations: 102.4 kB / 431.9 MB, free: 3.344 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000365/0.3718, allocations: 299.3 kB / 432.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3718, allocations: 0 / 432.2 MB, free: 3.051 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2846/0.6564, allocations: 26.05 MB / 458.2 MB, free: 8.914 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.89/13.55, allocations: 15.78 kB / 458.2 MB, free: 8.898 MB / 382.1 MB (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_ParallelCooling.fmu > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/ParallelCooling/ParallelCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches