Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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: translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3000,variableFilter="time|heatCapacitor.T|innerPipe.T|outerPipe.T|pipe1.T",fileNamePrefix="Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008733/0.0008736, allocations: 101.4 kB / 17 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009713/0.0009714, allocations: 195.7 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.32/1.32, allocations: 227.7 MB / 246.4 MB, free: 11.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001969/0.0001969, allocations: 11.94 kB / 307.1 MB, free: 1.164 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.0838, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004509/0.08835, allocations: 4.925 MB / 363.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002056/0.09043, allocations: 1.321 MB / 364.9 MB, free: 7.363 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002744/0.09072, allocations: 11.94 kB / 364.9 MB, free: 7.352 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003065/0.09104, allocations: 135 kB / 365 MB, free: 7.219 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005789/0.09163, allocations: 333.3 kB / 365.3 MB, free: 6.891 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003669/0.092, allocations: 187.8 kB / 365.5 MB, free: 6.707 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001036/0.09305, allocations: 1.206 MB / 366.7 MB, free: 5.496 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004284/0.09349, allocations: 339.1 kB / 367.1 MB, free: 5.152 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.0939, allocations: 454.3 kB / 367.5 MB, free: 4.707 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005115/0.09442, allocations: 0.5174 MB / 368 MB, free: 4.188 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001201/0.09455, allocations: 76 kB / 368.1 MB, free: 4.113 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.09471, allocations: 76 kB / 368.2 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.09489, allocations: 215.2 kB / 368.4 MB, free: 3.828 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001919/0.0951, allocations: 237.1 kB / 368.6 MB, free: 3.59 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007843/0.09589, allocations: 1.02 MB / 369.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.0959, allocations: 0 / 369.6 MB, free: 2.566 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.09591, allocations: 3.984 kB / 369.6 MB, free: 2.562 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.228e-05/0.09593, allocations: 0 / 369.6 MB, free: 2.562 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002014/0.09795, allocations: 1.31 MB / 370.9 MB, free: 1.184 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.514e-05/0.09799, allocations: 8.031 kB / 370.9 MB, free: 1.176 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.09818, allocations: 122.7 kB / 371.1 MB, free: 1.055 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007906/0.09898, allocations: 0.5986 MB / 371.7 MB, free: 424 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001907/0.09918, allocations: 159 kB / 371.8 MB, free: 244 kB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001004/0.09929, allocations: 71.91 kB / 371.9 MB, free: 172 kB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1585/0.2578, allocations: 0.9755 MB / 372.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/0.2579, allocations: 0 / 372.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.955e-05/0.2579, allocations: 34.58 kB / 372.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.258, allocations: 17.59 kB / 372.9 MB, free: 18.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001314/0.2593, allocations: 0.6397 MB / 373.6 MB, free: 18.48 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.004615/0.2639, allocations: 2.65 MB / 376.2 MB, free: 17.27 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/0.2662, allocations: 0.8759 MB / 377.1 MB, free: 16.91 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006665/0.2669, allocations: 364.4 kB / 377.4 MB, free: 16.78 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.39e-05/0.2669, allocations: 18.11 kB / 377.5 MB, free: 16.77 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.267, allocations: 54.95 kB / 377.5 MB, free: 16.72 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.345e-06/0.267, allocations: 4 kB / 377.5 MB, free: 16.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002424/0.2694, allocations: 1.438 MB / 379 MB, free: 15.83 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002368/0.2697, allocations: 0.9503 MB / 379.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.2707, allocations: 0.7781 MB / 380.7 MB, free: 14.33 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6e-05/0.2707, allocations: 45.38 kB / 380.7 MB, free: 14.29 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003008/0.2711, allocations: 410 kB / 381.1 MB, free: 13.99 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/0.2713, allocations: 257.9 kB / 381.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-05/0.2713, allocations: 16.28 kB / 381.4 MB, free: 13.78 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.866e-05/0.2714, allocations: 332.2 kB / 381.7 MB, free: 13.46 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005777/0.272, allocations: 266.8 kB / 382 MB, free: 13.37 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.2728, allocations: 0.5963 MB / 382.6 MB, free: 12.9 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006312/0.2734, allocations: 403.2 kB / 383 MB, free: 12.66 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/0.2734, allocations: 1.281 kB / 383 MB, free: 12.66 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001554/0.275, allocations: 0.9748 MB / 383.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.033e-05/0.275, allocations: 86.64 kB / 384 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.275, allocations: 0 / 384 MB, free: 12.07 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003068/0.2754, allocations: 129 kB / 384.2 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006976/0.2761, allocations: 160.1 kB / 384.3 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003886/0.28, allocations: 6.784 MB / 391.1 MB, free: 5.234 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000793/0.2808, allocations: 117.3 kB / 391.2 MB, free: 5.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.2808, allocations: 27.81 kB / 391.2 MB, free: 5.172 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (80): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 4 {3 1,1 1,3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003193/0.2812, allocations: 233.2 kB / 391.5 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.2813, allocations: 104.8 kB / 391.6 MB, free: 4.938 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.2815, allocations: 100.4 kB / 391.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.2815, allocations: 7.469 kB / 391.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.2815, allocations: 9.297 kB / 391.7 MB, free: 4.859 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001255/0.2828, allocations: 0.9863 MB / 392.7 MB, free: 4.137 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002633/0.2854, allocations: 1.771 MB / 394.4 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.486e-06/0.2854, allocations: 0 / 394.4 MB, free: 3.234 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007548/0.2862, allocations: 161 kB / 394.6 MB, free: 3.223 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.956e-05/0.2863, allocations: 29.55 kB / 394.6 MB, free: 3.207 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.126e-05/0.2863, allocations: 18.23 kB / 394.6 MB, free: 3.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006136/0.287, allocations: 1.303 MB / 395.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.287, allocations: 1.188 kB / 395.9 MB, free: 1.879 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/0.2889, allocations: 1.115 MB / 397.1 MB, free: 1.344 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003121/0.2892, allocations: 257.8 kB / 397.3 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.2893, allocations: 20.03 kB / 397.3 MB, free: 1.129 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006089/0.2899, allocations: 54.97 kB / 397.4 MB, free: 1.113 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001024/0.29, allocations: 42.14 kB / 397.4 MB, free: 1.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.99e-05/0.2901, allocations: 23.06 kB / 397.5 MB, free: 1.102 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006264/0.2907, allocations: 0.5405 MB / 398 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2907, allocations: 0 / 398 MB, free: 0.8672 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007923/0.2915, allocations: 291.8 kB / 398.3 MB, free: 0.8242 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (heatCapacitor.T,pipe1.T,outerPipe.T,innerPipe.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 (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001568/0.2917, allocations: 126 kB / 398.4 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001866/0.2936, allocations: 1.406 MB / 399.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2936, allocations: 2.75 kB / 399.8 MB, free: 15.73 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007048/0.2943, allocations: 433.8 kB / 400.2 MB, free: 15.49 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001104/0.2954, allocations: 265.7 kB / 400.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002951/0.2984, allocations: 2.016 MB / 402.5 MB, free: 13.96 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005021/0.2989, allocations: 0.9782 MB / 403.5 MB, free: 13.13 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005656/0.2994, allocations: 131.2 kB / 403.6 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.2997, allocations: 76.94 kB / 403.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2997, allocations: 0 / 403.7 MB, free: 13.05 MB / 318.1 MB Notification: Performance of Templates: time 0.02457/0.3243, allocations: 15.83 MB / 419.5 MB, free: 15.04 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches