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.00168/0.00168, allocations: 114.6 kB / 17.33 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00214/0.00214, allocations: 209.8 kB / 18.27 MB, free: 5.117 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001387/0.001387, allocations: 62.5 kB / 306.6 MB, free: 0.7578 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1016, allocations: 50.53 MB / 357.1 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.ParallelCooling): time 0.005873/0.1075, allocations: 4.954 MB / 362 MB, free: 9.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002456/0.11, allocations: 1.316 MB / 363.4 MB, free: 7.922 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.1107, allocations: 11.94 kB / 363.4 MB, free: 7.91 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005979/0.1113, allocations: 135.1 kB / 363.5 MB, free: 7.777 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009562/0.1123, allocations: 273.8 kB / 363.8 MB, free: 7.508 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005884/0.1129, allocations: 203.7 kB / 364 MB, free: 7.309 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001507/0.1144, allocations: 1.148 MB / 365.1 MB, free: 6.156 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004578/0.1149, allocations: 337.9 kB / 365.4 MB, free: 5.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005463/0.1155, allocations: 446.4 kB / 365.9 MB, free: 5.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006469/0.1161, allocations: 0.4902 MB / 366.4 MB, free: 4.887 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002043/0.1163, allocations: 104 kB / 366.5 MB, free: 4.785 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002183/0.1166, allocations: 100 kB / 366.6 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.1168, allocations: 223.2 kB / 366.8 MB, free: 4.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005585/0.1173, allocations: 0.5133 MB / 367.3 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.1184, allocations: 1.164 MB / 368.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1184, allocations: 0 / 368.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.1184, allocations: 0 / 368.5 MB, free: 2.785 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.033e-05/0.1184, allocations: 0 / 368.5 MB, free: 2.785 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.00283/0.1213, allocations: 1.32 MB / 369.8 MB, free: 1.395 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.1213, allocations: 8.031 kB / 369.8 MB, free: 1.387 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002135/0.1215, allocations: 123.8 kB / 369.9 MB, free: 1.258 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002083/0.1218, allocations: 107.8 kB / 370 MB, free: 1.152 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007908/0.1226, allocations: 0.5512 MB / 370.6 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00019/0.1228, allocations: 147 kB / 370.7 MB, free: 408 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.246e-05/0.1229, allocations: 60.38 kB / 370.8 MB, free: 348 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1451/0.268, allocations: 0.8582 MB / 371.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.438e-05/0.268, allocations: 0.75 kB / 371.6 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.522e-05/0.2682, allocations: 29.38 kB / 371.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.543e-05/0.2682, allocations: 16.66 kB / 371.7 MB, free: 19.81 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001294/0.2695, allocations: 0.5651 MB / 372.2 MB, free: 19.8 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.003613/0.2731, allocations: 2.14 MB / 374.4 MB, free: 18.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.2748, allocations: 0.9664 MB / 375.3 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006129/0.2754, allocations: 375.4 kB / 375.7 MB, free: 18.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.311e-05/0.2755, allocations: 16.41 kB / 375.7 MB, free: 18.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.2755, allocations: 47.94 kB / 375.8 MB, free: 18.08 MB / 302.1 MB Notification: Performance of pre-optimization done (n=73): time 2.265e-06/0.2755, allocations: 0 / 375.8 MB, free: 18.08 MB / 302.1 MB Notification: Performance of matching and sorting (n=73): time 0.004487/0.28, allocations: 1.737 MB / 377.5 MB, free: 17.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.2802, allocations: 0.8223 MB / 378.3 MB, free: 16.27 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007567/0.2809, allocations: 0.6418 MB / 379 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.729e-05/0.281, allocations: 45.58 kB / 379 MB, free: 15.94 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.2812, allocations: 337 kB / 379.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.2814, allocations: 256.9 kB / 379.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002197/0.2816, allocations: 145 kB / 379.7 MB, free: 15.43 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001064/0.2817, allocations: 385.1 kB / 380.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004947/0.2822, allocations: 253.2 kB / 380.4 MB, free: 15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000652/0.2829, allocations: 0.524 MB / 380.9 MB, free: 14.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000927/0.2838, allocations: 0.6375 MB / 381.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.2838, allocations: 0 / 381.5 MB, free: 14.24 MB / 302.1 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002197/0.286, allocations: 1.051 MB / 382.6 MB, free: 13.75 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.461e-05/0.2861, allocations: 89.77 kB / 382.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.2861, allocations: 0 / 382.7 MB, free: 13.66 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006658/0.2868, allocations: 236.5 kB / 382.9 MB, free: 13.57 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005376/0.2873, allocations: 132.5 kB / 383 MB, free: 13.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2804/0.5677, allocations: 6.923 MB / 390 MB, free: 7.273 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.5687, allocations: 96.97 kB / 390 MB, free: 7.227 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.822e-05/0.5688, allocations: 27.22 kB / 390.1 MB, free: 7.219 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.0003419/0.5692, allocations: 230.8 kB / 390.3 MB, free: 7.031 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001278/0.5693, allocations: 84.44 kB / 390.4 MB, free: 6.992 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001556/0.5695, allocations: 95.53 kB / 390.5 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.5695, allocations: 7 kB / 390.5 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.5695, allocations: 0.875 kB / 390.5 MB, free: 6.922 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002022/0.5715, allocations: 1.187 MB / 391.7 MB, free: 6.129 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003315/0.5748, allocations: 1.881 MB / 393.5 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5749, allocations: 1.156 kB / 393.6 MB, free: 5.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005681/0.5754, allocations: 127.7 kB / 393.7 MB, free: 5.203 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004864/0.5759, allocations: 205.6 kB / 393.9 MB, free: 5.129 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.576, allocations: 14 kB / 393.9 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004571/0.5806, allocations: 5.32 MB / 399.2 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.5806, allocations: 1.125 kB / 399.2 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00269/0.5833, allocations: 1.317 MB / 400.5 MB, free: 15.38 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003435/0.5836, allocations: 240.9 kB / 400.8 MB, free: 15.16 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001168/0.5838, allocations: 24.19 kB / 400.8 MB, free: 15.14 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005886/0.5844, allocations: 39.22 kB / 400.8 MB, free: 15.12 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001739/0.5845, allocations: 58.64 kB / 400.9 MB, free: 15.09 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.645e-05/0.5846, allocations: 21.73 kB / 400.9 MB, free: 15.08 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006097/0.5852, allocations: 459.4 kB / 401.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.5852, allocations: 4 kB / 401.4 MB, free: 14.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008973/0.5861, allocations: 285.3 kB / 401.6 MB, free: 14.77 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.002957/0.5891, allocations: 1.885 MB / 403.5 MB, free: 13.48 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001993/0.5911, allocations: 1.324 MB / 404.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.04e-06/0.5911, allocations: 2.688 kB / 404.8 MB, free: 12.48 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008242/0.5919, allocations: 0.6944 MB / 405.5 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008782/0.5928, allocations: 231 kB / 405.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/0.6044, allocations: 8.173 MB / 413.9 MB, free: 4.293 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004772/0.6049, allocations: 0.9362 MB / 414.9 MB, free: 3.328 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003983/0.6053, allocations: 106.4 kB / 415 MB, free: 3.219 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003488/0.6056, allocations: 295.3 kB / 415.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of SimCode: time 3.6e-07/0.6056, allocations: 0 / 415.3 MB, free: 2.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.107/2.713, allocations: 24.74 MB / 440 MB, free: 10.62 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002939/2.713, allocations: 242.8 kB / 440.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.642/5.355, allocations: 0 / 440.2 MB, free: 10.36 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