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.001189/0.001189, allocations: 115.8 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001169/0.001169, allocations: 199.5 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.326/1.326, allocations: 227.4 MB / 247.5 MB, free: 10.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001165/0.001165, allocations: 61.44 kB / 308.4 MB, free: 15.89 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08878/0.08996, allocations: 50.53 MB / 358.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006212/0.09622, allocations: 5.621 MB / 364.5 MB, free: 7.699 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002156/0.09839, allocations: 1.441 MB / 366 MB, free: 6.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.09868, allocations: 15.88 kB / 366 MB, free: 6.234 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00042/0.09912, allocations: 202.3 kB / 366.2 MB, free: 6.035 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006022/0.09974, allocations: 384.8 kB / 366.5 MB, free: 5.656 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004285/0.1002, allocations: 255.6 kB / 366.8 MB, free: 5.406 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00119/0.1014, allocations: 1.366 MB / 368.2 MB, free: 4.035 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005098/0.1019, allocations: 423.1 kB / 368.6 MB, free: 3.598 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004672/0.1024, allocations: 0.5138 MB / 369.1 MB, free: 3.082 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005983/0.103, allocations: 0.5835 MB / 369.7 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001507/0.1031, allocations: 120 kB / 369.8 MB, free: 2.379 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.1033, allocations: 124 kB / 369.9 MB, free: 2.258 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002027/0.1035, allocations: 251.1 kB / 370.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005174/0.104, allocations: 0.6105 MB / 370.8 MB, free: 1.398 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1483/0.2523, allocations: 1.398 MB / 372.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.2524, allocations: 0.5625 kB / 372.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.2524, allocations: 0 / 372.2 MB, free: 13.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.506e-05/0.2525, allocations: 0 / 372.2 MB, free: 13.37 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.002702/0.2552, allocations: 1.478 MB / 373.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.2552, allocations: 9.703 kB / 373.6 MB, free: 12.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002043/0.2554, allocations: 130.3 kB / 373.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00096/0.2564, allocations: 0.632 MB / 374.4 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001667/0.2566, allocations: 149.4 kB / 374.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.2567, allocations: 73.55 kB / 374.6 MB, free: 12.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.258, allocations: 0.9755 MB / 375.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.2581, allocations: 0 / 375.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.914e-05/0.2581, allocations: 34.44 kB / 375.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.2582, allocations: 16.16 kB / 375.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001265/0.2594, allocations: 0.6215 MB / 376.3 MB, free: 11.72 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.003593/0.263, allocations: 2.632 MB / 378.9 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002338/0.2654, allocations: 0.8674 MB / 379.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006402/0.266, allocations: 350 kB / 380.1 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.288e-05/0.2661, allocations: 20.38 kB / 380.1 MB, free: 10.4 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.394e-05/0.2661, allocations: 46.53 kB / 380.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.504e-06/0.2662, allocations: 0 / 380.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002287/0.2684, allocations: 1.405 MB / 381.6 MB, free: 9.48 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001461/0.2686, allocations: 0.9474 MB / 382.5 MB, free: 8.316 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009003/0.2695, allocations: 0.7892 MB / 383.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.201e-05/0.2696, allocations: 49.86 kB / 383.4 MB, free: 7.938 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002271/0.2698, allocations: 404.6 kB / 383.8 MB, free: 7.621 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001428/0.27, allocations: 258.6 kB / 384 MB, free: 7.422 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002377/0.2702, allocations: 159.7 kB / 384.2 MB, free: 7.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.231e-05/0.2703, allocations: 332.5 kB / 384.5 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005449/0.2708, allocations: 255.2 kB / 384.7 MB, free: 6.938 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007373/0.2716, allocations: 0.5848 MB / 385.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00105/0.2726, allocations: 0.666 MB / 386 MB, free: 6.094 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.2726, allocations: 3.938 kB / 386 MB, free: 6.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001531/0.2742, allocations: 0.951 MB / 386.9 MB, free: 5.617 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.2742, allocations: 86.3 kB / 387 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.2742, allocations: 5.797 kB / 387 MB, free: 5.52 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.2746, allocations: 120.6 kB / 387.2 MB, free: 5.457 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.2753, allocations: 154 kB / 387.3 MB, free: 5.449 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004388/0.2797, allocations: 7.325 MB / 394.6 MB, free: 14.22 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008887/0.2806, allocations: 109.5 kB / 394.7 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-05/0.2807, allocations: 24.47 kB / 394.8 MB, free: 14.16 MB / 318.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 (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(3,1), (1,1), (3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003676/0.281, allocations: 241 kB / 395 MB, free: 13.98 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001604/0.2812, allocations: 100.8 kB / 395.1 MB, free: 13.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001815/0.2814, allocations: 101.8 kB / 395.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.2814, allocations: 8.031 kB / 395.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2814, allocations: 1.438 kB / 395.2 MB, free: 13.86 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00138/0.2828, allocations: 0.9746 MB / 396.2 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002867/0.2857, allocations: 1.744 MB / 397.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.2857, allocations: 1.188 kB / 397.9 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007403/0.2864, allocations: 155.5 kB / 398.1 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001053/0.2866, allocations: 25.88 kB / 398.1 MB, free: 12.22 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.514e-05/0.2866, allocations: 15.98 kB / 398.1 MB, free: 12.21 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008853/0.2875, allocations: 1.404 MB / 399.5 MB, free: 10.8 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.2875, allocations: 4.062 kB / 399.5 MB, free: 10.79 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.2894, allocations: 1.073 MB / 400.6 MB, free: 10.28 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004028/0.2898, allocations: 263.7 kB / 400.9 MB, free: 10.07 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001298/0.29, allocations: 20.25 kB / 400.9 MB, free: 10.06 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006272/0.2906, allocations: 39.97 kB / 400.9 MB, free: 10.05 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.2907, allocations: 42.72 kB / 401 MB, free: 10.04 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.2908, allocations: 18.61 kB / 401 MB, free: 10.04 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007048/0.2915, allocations: 0.5515 MB / 401.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2915, allocations: 1.375 kB / 401.5 MB, free: 9.805 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008141/0.2923, allocations: 299.8 kB / 401.8 MB, free: 9.754 MB / 318.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.2925, allocations: 123.2 kB / 401.9 MB, free: 9.652 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002053/0.2946, allocations: 1.393 MB / 403.3 MB, free: 8.684 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.628e-06/0.2946, allocations: 1.531 kB / 403.3 MB, free: 8.684 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.2953, allocations: 422.4 kB / 403.7 MB, free: 8.484 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/0.2963, allocations: 280.4 kB / 404 MB, free: 8.375 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002824/0.2992, allocations: 1.682 MB / 405.7 MB, free: 7.43 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005184/0.2997, allocations: 0.9771 MB / 406.7 MB, free: 6.605 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0005431/0.3003, allocations: 131.1 kB / 406.8 MB, free: 6.543 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001961/0.3005, allocations: 83.3 kB / 406.9 MB, free: 6.527 MB / 318.1 MB Notification: Performance of SimCode: time 1.293e-06/0.3005, allocations: 0 / 406.9 MB, free: 6.527 MB / 318.1 MB Notification: Performance of Templates: time 0.0275/0.328, allocations: 17.65 MB / 424.5 MB, free: 5.879 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches