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.0009012/0.0009012, allocations: 92.64 kB / 16.65 MB, free: 6.586 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.0008403/0.0008405, allocations: 184.4 kB / 17.57 MB, free: 6.203 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.316/1.316, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002572/0.0002573, allocations: 14.33 kB / 301.4 MB, free: 5.906 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08391/0.08419, allocations: 50.41 MB / 351.8 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004955/0.08918, allocations: 5.196 MB / 357 MB, free: 14.25 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.09151, allocations: 1.355 MB / 358.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000418/0.09195, allocations: 11.94 kB / 358.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004254/0.09239, allocations: 155 kB / 358.5 MB, free: 12.73 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007876/0.09319, allocations: 345.3 kB / 358.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004727/0.09367, allocations: 219.8 kB / 359.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001268/0.09495, allocations: 1.295 MB / 360.4 MB, free: 10.88 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004819/0.09544, allocations: 384.2 kB / 360.8 MB, free: 10.48 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005272/0.09598, allocations: 470.1 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006158/0.0966, allocations: 0.5328 MB / 361.8 MB, free: 9.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.09676, allocations: 80 kB / 361.8 MB, free: 9.402 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001805/0.09695, allocations: 80 kB / 361.9 MB, free: 9.324 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001708/0.09713, allocations: 211.1 kB / 362.1 MB, free: 9.117 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005448/0.09768, allocations: 0.5926 MB / 362.7 MB, free: 8.516 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001034/0.09872, allocations: 1.315 MB / 364 MB, free: 7.195 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.09873, allocations: 0 / 364 MB, free: 7.195 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09874, allocations: 0 / 364 MB, free: 7.195 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.355e-05/0.09877, allocations: 0 / 364 MB, free: 7.195 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.00223/0.101, allocations: 1.291 MB / 365.3 MB, free: 5.832 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.1011, allocations: 16.03 kB / 365.3 MB, free: 5.816 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002304/0.1013, allocations: 127.5 kB / 365.5 MB, free: 5.691 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008633/0.1022, allocations: 0.6265 MB / 366.1 MB, free: 5.023 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002102/0.1024, allocations: 159.6 kB / 366.2 MB, free: 4.852 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.1025, allocations: 64.38 kB / 366.3 MB, free: 4.789 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.104, allocations: 0.9863 MB / 367.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.832e-05/0.1041, allocations: 0 / 367.3 MB, free: 3.684 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.716e-05/0.1041, allocations: 32 kB / 367.3 MB, free: 3.652 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.027e-05/0.1042, allocations: 16 kB / 367.3 MB, free: 3.637 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001358/0.1055, allocations: 0.6481 MB / 368 MB, free: 2.992 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.003964/0.1095, allocations: 2.648 MB / 370.6 MB, free: 184 kB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1575/0.267, allocations: 0.8756 MB / 371.5 MB, free: 23.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007208/0.2678, allocations: 362.8 kB / 371.9 MB, free: 23.97 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.382e-05/0.2678, allocations: 15.52 kB / 371.9 MB, free: 23.97 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.2679, allocations: 52.31 kB / 371.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.685e-06/0.2679, allocations: 3.031 kB / 371.9 MB, free: 23.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002576/0.2705, allocations: 1.439 MB / 373.4 MB, free: 23.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001495/0.2706, allocations: 0.9511 MB / 374.3 MB, free: 22.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001059/0.2717, allocations: 0.7896 MB / 375.1 MB, free: 22.09 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.185e-05/0.2717, allocations: 45.84 kB / 375.2 MB, free: 22.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002355/0.272, allocations: 413.4 kB / 375.6 MB, free: 21.88 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.2721, allocations: 253.8 kB / 375.8 MB, free: 21.7 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.606e-05/0.2722, allocations: 62.3 kB / 375.9 MB, free: 21.66 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.207e-05/0.2723, allocations: 339.9 kB / 376.2 MB, free: 21.34 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005372/0.2728, allocations: 264.3 kB / 376.5 MB, free: 21.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007247/0.2736, allocations: 0.6009 MB / 377.1 MB, free: 20.78 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001097/0.2747, allocations: 0.6856 MB / 377.8 MB, free: 20.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2747, allocations: 1.094 kB / 377.8 MB, free: 20.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001544/0.2762, allocations: 0.9767 MB / 378.7 MB, free: 19.91 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.622e-05/0.2763, allocations: 92.94 kB / 378.8 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.2763, allocations: 2.359 kB / 378.8 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002915/0.2766, allocations: 121.7 kB / 378.9 MB, free: 19.74 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006978/0.2773, allocations: 161 kB / 379.1 MB, free: 19.73 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00365/0.281, allocations: 6.796 MB / 385.9 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008292/0.2818, allocations: 113.6 kB / 386 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.255e-05/0.2819, allocations: 32.66 kB / 386 MB, free: 12.92 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 (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.0002891/0.2822, allocations: 242.5 kB / 386.3 MB, free: 12.73 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/0.2823, allocations: 105.3 kB / 386.4 MB, free: 12.68 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001704/0.2825, allocations: 101.7 kB / 386.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.074e-06/0.2825, allocations: 11.17 kB / 386.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.659e-06/0.2825, allocations: 0 / 386.5 MB, free: 12.6 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001168/0.2837, allocations: 1 MB / 387.5 MB, free: 11.86 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002617/0.2863, allocations: 1.765 MB / 389.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.2863, allocations: 0 / 389.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/0.2871, allocations: 164.7 kB / 389.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.976e-05/0.2872, allocations: 26.88 kB / 389.4 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.058e-05/0.2872, allocations: 17.17 kB / 389.5 MB, free: 10.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005881/0.2878, allocations: 1.309 MB / 390.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.2878, allocations: 0 / 390.8 MB, free: 9.605 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001917/0.2897, allocations: 1.117 MB / 391.9 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.2901, allocations: 262.1 kB / 392.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001172/0.2902, allocations: 19.89 kB / 392.2 MB, free: 8.855 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006885/0.2909, allocations: 60.86 kB / 392.2 MB, free: 8.832 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.185e-05/0.291, allocations: 41.38 kB / 392.3 MB, free: 8.828 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.543e-05/0.291, allocations: 17.94 kB / 392.3 MB, free: 8.824 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006702/0.2917, allocations: 0.5485 MB / 392.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2917, allocations: 0 / 392.8 MB, free: 8.586 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007461/0.2924, allocations: 291.9 kB / 393.1 MB, free: 8.543 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 (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.000134/0.2926, allocations: 129.7 kB / 393.2 MB, free: 8.434 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001796/0.2944, allocations: 1.414 MB / 394.6 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.2944, allocations: 2.812 kB / 394.7 MB, free: 7.449 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006526/0.2951, allocations: 432.2 kB / 395.1 MB, free: 7.242 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.2962, allocations: 267.2 kB / 395.3 MB, free: 7.141 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002515/0.2987, allocations: 2.109 MB / 397.4 MB, free: 5.848 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003689/0.2991, allocations: 0.9784 MB / 398.4 MB, free: 5.133 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0005006/0.2996, allocations: 121.2 kB / 398.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.2998, allocations: 76.42 kB / 398.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.2998, allocations: 0 / 398.6 MB, free: 5.094 MB / 302.1 MB Notification: Performance of Templates: time 0.02286/0.3227, allocations: 16.53 MB / 415.1 MB, free: 7.57 MB / 318.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/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_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches