Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001622/0.001622, allocations: 192.3 kB / 17.43 MB, free: 4.246 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 229.5 MB / 247.7 MB, free: 6.332 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007873/0.0007873, allocations: 94.62 kB / 299.8 MB, free: 5.375 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002007/0.0002007, allocations: 8 kB / 360.6 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1843, allocations: 51.4 MB / 412 MB, free: 25.95 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003293/0.1876, allocations: 4.936 MB / 417 MB, free: 20.99 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001402/0.189, allocations: 1.742 MB / 418.7 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002277/0.1893, allocations: 11.94 kB / 418.7 MB, free: 19.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003009/0.1896, allocations: 159 kB / 418.9 MB, free: 18.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004713/0.1901, allocations: 345.3 kB / 419.2 MB, free: 18.65 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002952/0.1904, allocations: 219.8 kB / 419.4 MB, free: 18.44 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007295/0.1911, allocations: 1.315 MB / 420.8 MB, free: 17.11 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003516/0.1915, allocations: 364.3 kB / 421.1 MB, free: 16.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002682/0.1917, allocations: 470.1 kB / 421.6 MB, free: 16.27 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003751/0.1921, allocations: 0.5328 MB / 422.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.1922, allocations: 76 kB / 422.2 MB, free: 15.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001455/0.1924, allocations: 80 kB / 422.3 MB, free: 15.59 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001198/0.1925, allocations: 211 kB / 422.5 MB, free: 15.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003551/0.1929, allocations: 0.5888 MB / 423 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007022/0.1936, allocations: 1.315 MB / 424.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1936, allocations: 4 kB / 424.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1936, allocations: 0 / 424.4 MB, free: 13.46 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.869e-06/0.1936, allocations: 4 kB / 424.4 MB, free: 13.45 MB / 298.7 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.001641/0.1953, allocations: 1.294 MB / 425.7 MB, free: 12.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.1953, allocations: 12.03 kB / 425.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.1955, allocations: 127.5 kB / 425.8 MB, free: 11.95 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006391/0.1961, allocations: 0.6264 MB / 426.4 MB, free: 11.28 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001556/0.1963, allocations: 163.6 kB / 426.6 MB, free: 11.11 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.957e-05/0.1964, allocations: 64.38 kB / 426.6 MB, free: 11.04 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001143/0.1975, allocations: 0.9831 MB / 427.6 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.1975, allocations: 4 kB / 427.6 MB, free: 9.938 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.213e-05/0.1976, allocations: 32 kB / 427.7 MB, free: 9.906 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.424e-05/0.1976, allocations: 16 kB / 427.7 MB, free: 9.891 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001077/0.1987, allocations: 0.6403 MB / 428.3 MB, free: 9.254 MB / 298.7 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.003073/0.2018, allocations: 2.663 MB / 431 MB, free: 6.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002219/0.204, allocations: 0.866 MB / 431.9 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005584/0.2046, allocations: 362.6 kB / 432.2 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.714e-05/0.2046, allocations: 12.64 kB / 432.2 MB, free: 5.172 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.2047, allocations: 51.2 kB / 432.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.124e-06/0.2047, allocations: 0 / 432.3 MB, free: 5.113 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002046/0.2067, allocations: 1.444 MB / 433.7 MB, free: 3.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001305/0.2069, allocations: 0.9489 MB / 434.7 MB, free: 2.383 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.2076, allocations: 0.7825 MB / 435.4 MB, free: 1.59 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.931e-05/0.2076, allocations: 41.7 kB / 435.5 MB, free: 1.543 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.2078, allocations: 424.4 kB / 435.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001212/0.208, allocations: 244.4 kB / 436.1 MB, free: 0.8828 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.208, allocations: 17.86 kB / 436.2 MB, free: 0.8672 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.944e-05/0.2081, allocations: 334 kB / 436.5 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004716/0.2085, allocations: 265.9 kB / 436.7 MB, free: 280 kB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007509/0.2093, allocations: 0.5958 MB / 437.3 MB, free: 15.55 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001138/0.2105, allocations: 0.6834 MB / 438 MB, free: 14.83 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.2105, allocations: 0 / 438 MB, free: 14.83 MB / 314.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001596/0.2121, allocations: 0.9665 MB / 439 MB, free: 13.83 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.568e-05/0.2121, allocations: 89.11 kB / 439.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.2122, allocations: 0 / 439.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003371/0.2125, allocations: 140.1 kB / 439.2 MB, free: 13.57 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007066/0.2132, allocations: 155.8 kB / 439.4 MB, free: 13.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004927/0.2181, allocations: 6.789 MB / 446.2 MB, free: 5.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000836/0.219, allocations: 123.2 kB / 446.3 MB, free: 5.836 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.139e-05/0.2191, allocations: 24 kB / 446.3 MB, free: 5.812 MB / 314.7 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.0003374/0.2194, allocations: 233.7 kB / 446.5 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.2196, allocations: 102.8 kB / 446.6 MB, free: 5.473 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.2197, allocations: 100.9 kB / 446.7 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.2197, allocations: 11.94 kB / 446.7 MB, free: 5.359 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.2197, allocations: 4 kB / 446.7 MB, free: 5.355 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001306/0.2211, allocations: 0.9895 MB / 447.7 MB, free: 4.258 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002516/0.2236, allocations: 1.769 MB / 449.5 MB, free: 2.418 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.2236, allocations: 4 kB / 449.5 MB, free: 2.414 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007459/0.2244, allocations: 159.8 kB / 449.7 MB, free: 2.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.912e-05/0.2244, allocations: 28.84 kB / 449.7 MB, free: 2.227 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/0.2245, allocations: 15.98 kB / 449.7 MB, free: 2.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008008/0.2253, allocations: 1.308 MB / 451 MB, free: 0.7734 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2253, allocations: 8.094 kB / 451 MB, free: 0.7656 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001822/0.2271, allocations: 1.107 MB / 452.1 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003068/0.2275, allocations: 255.7 kB / 452.4 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.2276, allocations: 20 kB / 452.4 MB, free: 15.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006161/0.2282, allocations: 47.97 kB / 452.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.2283, allocations: 48.53 kB / 452.5 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.858e-05/0.2284, allocations: 19.98 kB / 452.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006171/0.229, allocations: 0.542 MB / 453 MB, free: 14.7 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.229, allocations: 0 / 453 MB, free: 14.7 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006402/0.2296, allocations: 291.7 kB / 453.3 MB, free: 14.41 MB / 330.7 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.0001601/0.2298, allocations: 131.1 kB / 453.5 MB, free: 14.27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001828/0.2316, allocations: 1.394 MB / 454.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.46e-06/0.2317, allocations: 4 kB / 454.9 MB, free: 12.77 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006396/0.2323, allocations: 442.4 kB / 455.3 MB, free: 12.32 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001038/0.2334, allocations: 267.1 kB / 455.6 MB, free: 12.06 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002645/0.236, allocations: 2.102 MB / 457.7 MB, free: 9.93 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004658/0.2365, allocations: 0.9797 MB / 458.6 MB, free: 8.922 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004891/0.237, allocations: 131.5 kB / 458.8 MB, free: 8.789 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001975/0.2372, allocations: 79.42 kB / 458.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2372, allocations: 0 / 458.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of Templates: time 0.02423/0.2614, allocations: 16.54 MB / 475.4 MB, free: 8.297 MB / 346.7 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","../files/Modelica_trunk_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches