Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: 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_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 112.7 kB / 17.74 MB, free: 5.227 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.001289/0.001289, allocations: 184.5 kB / 18.67 MB, free: 4.309 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001084/0.001084, allocations: 48.05 kB / 352 MB, free: 3.246 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2505/0.2516, allocations: 49.43 MB / 401.4 MB, free: 8.738 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006473/0.2581, allocations: 5.614 MB / 407 MB, free: 3.223 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002841/0.261, allocations: 1.409 MB / 408.4 MB, free: 1.805 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004835/0.2615, allocations: 15.94 kB / 408.4 MB, free: 1.789 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004909/0.2621, allocations: 194.3 kB / 408.6 MB, free: 1.598 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007532/0.2628, allocations: 388.6 kB / 409 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005388/0.2634, allocations: 267.6 kB / 409.3 MB, free: 0.9531 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00143/0.2648, allocations: 1.362 MB / 410.6 MB, free: 15.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005533/0.2654, allocations: 404.4 kB / 411 MB, free: 15.16 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005926/0.266, allocations: 0.5138 MB / 411.5 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006383/0.2666, allocations: 0.5797 MB / 412.1 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001714/0.2668, allocations: 120 kB / 412.2 MB, free: 13.95 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.267, allocations: 120 kB / 412.4 MB, free: 13.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001914/0.2672, allocations: 255.1 kB / 412.6 MB, free: 13.58 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005308/0.2678, allocations: 0.6105 MB / 413.2 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.269, allocations: 1.405 MB / 414.6 MB, free: 11.56 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.269, allocations: 7.922 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.269, allocations: 4 kB / 414.6 MB, free: 11.55 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.2691, allocations: 0 / 414.6 MB, free: 11.55 MB / 334.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.002455/0.2715, allocations: 1.473 MB / 416.1 MB, free: 10 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.2716, allocations: 16.03 kB / 416.1 MB, free: 9.988 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002037/0.2718, allocations: 123.6 kB / 416.2 MB, free: 9.867 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009513/0.2727, allocations: 0.642 MB / 416.9 MB, free: 9.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002222/0.273, allocations: 147.6 kB / 417 MB, free: 9.02 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001104/0.2731, allocations: 76.28 kB / 417.1 MB, free: 8.945 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.2748, allocations: 0.9708 MB / 418.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.2748, allocations: 0 / 418.1 MB, free: 7.859 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.659e-05/0.2749, allocations: 36 kB / 418.1 MB, free: 7.824 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.2749, allocations: 16 kB / 418.1 MB, free: 7.809 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001214/0.2761, allocations: 0.6207 MB / 418.7 MB, free: 7.188 MB / 334.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.00401/0.2801, allocations: 2.624 MB / 421.4 MB, free: 4.406 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002528/0.2827, allocations: 0.8754 MB / 422.2 MB, free: 3.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007538/0.2835, allocations: 350.7 kB / 422.6 MB, free: 3.16 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.776e-05/0.2835, allocations: 16.64 kB / 422.6 MB, free: 3.145 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.28e-05/0.2836, allocations: 47.22 kB / 422.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of pre-optimization done (n=72): time 3.617e-06/0.2836, allocations: 0 / 422.7 MB, free: 3.09 MB / 334.1 MB Notification: Performance of matching and sorting (n=72): time 0.002615/0.2862, allocations: 1.41 MB / 424.1 MB, free: 1.566 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000429/0.2867, allocations: 0.9489 MB / 425 MB, free: 400 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009859/0.2876, allocations: 0.7865 MB / 425.8 MB, free: 15.59 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.326e-05/0.2877, allocations: 41.7 kB / 425.8 MB, free: 15.55 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003396/0.2881, allocations: 420.5 kB / 426.3 MB, free: 15.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002217/0.2883, allocations: 244.3 kB / 426.5 MB, free: 14.89 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.2886, allocations: 158.7 kB / 426.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2887, allocations: 334 kB / 427 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005565/0.2893, allocations: 253.9 kB / 427.2 MB, free: 14.15 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/0.2901, allocations: 0.5918 MB / 427.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/0.2913, allocations: 0.6638 MB / 428.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.2913, allocations: 0 / 428.5 MB, free: 12.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001706/0.293, allocations: 0.9469 MB / 429.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.221e-05/0.2931, allocations: 89.09 kB / 429.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.2931, allocations: 4 kB / 429.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003465/0.2935, allocations: 128.3 kB / 429.6 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006757/0.2942, allocations: 143.8 kB / 429.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/0.3, allocations: 7.344 MB / 437.1 MB, free: 3.309 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001039/0.3011, allocations: 99.22 kB / 437.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.387e-05/0.3011, allocations: 28 kB / 437.2 MB, free: 3.184 MB / 350.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.0004194/0.3016, allocations: 241.6 kB / 437.5 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001746/0.3017, allocations: 106.8 kB / 437.6 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001861/0.3019, allocations: 104.8 kB / 437.7 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.3019, allocations: 8 kB / 437.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.191e-05/0.302, allocations: 0 / 437.7 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/0.3034, allocations: 0.9699 MB / 438.7 MB, free: 1.633 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003048/0.3065, allocations: 1.741 MB / 440.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.137e-06/0.3065, allocations: 0 / 440.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007506/0.3072, allocations: 155.8 kB / 440.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001062/0.3074, allocations: 24.84 kB / 440.6 MB, free: 15.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.324e-05/0.3074, allocations: 16 kB / 440.6 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001023/0.3084, allocations: 1.41 MB / 442 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.3085, allocations: 0 / 442 MB, free: 14.07 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002006/0.3105, allocations: 1.077 MB / 443.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004267/0.3109, allocations: 255.8 kB / 443.3 MB, free: 12.71 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001328/0.311, allocations: 20 kB / 443.4 MB, free: 12.69 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006605/0.3117, allocations: 47.83 kB / 443.4 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.742e-05/0.3118, allocations: 44.59 kB / 443.4 MB, free: 12.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.3119, allocations: 16 kB / 443.5 MB, free: 12.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007307/0.3126, allocations: 0.5498 MB / 444 MB, free: 12.04 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3126, allocations: 0 / 444 MB, free: 12.04 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008317/0.3134, allocations: 295.6 kB / 444.3 MB, free: 11.75 MB / 366.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.0001891/0.3136, allocations: 127.1 kB / 444.4 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002162/0.3158, allocations: 1.397 MB / 445.8 MB, free: 10.12 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.3158, allocations: 3.938 kB / 445.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007022/0.3165, allocations: 422.3 kB / 446.2 MB, free: 9.691 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.3177, allocations: 287.1 kB / 446.5 MB, free: 9.406 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002997/0.3208, allocations: 1.709 MB / 448.2 MB, free: 7.664 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/0.3214, allocations: 0.9797 MB / 449.2 MB, free: 6.656 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003045/0.3217, allocations: 79.42 kB / 449.3 MB, free: 6.578 MB / 366.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3217, allocations: 4 kB / 449.3 MB, free: 6.574 MB / 366.1 MB Notification: Performance of Templates: time 0.03103/0.3527, allocations: 24.34 MB / 473.6 MB, free: 14.36 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches