Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 183.3 kB / 16.71 MB, free: 4.969 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 225.7 MB / 243.2 MB, free: 8.457 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007221/0.0007221, allocations: 92.98 kB / 294.4 MB, free: 9.496 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002627/0.0002627, allocations: 11.94 kB / 354.2 MB, free: 13.63 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2213, allocations: 50.41 MB / 404.6 MB, free: 31.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.003496/0.2249, allocations: 4.92 MB / 409.5 MB, free: 26.38 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001816/0.2267, allocations: 1.563 MB / 411 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003146/0.227, allocations: 8 kB / 411.1 MB, free: 24.76 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003423/0.2274, allocations: 158.9 kB / 411.2 MB, free: 24.61 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005258/0.2279, allocations: 333.3 kB / 411.5 MB, free: 24.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003757/0.2283, allocations: 231.7 kB / 411.8 MB, free: 24.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009726/0.2293, allocations: 1.304 MB / 413.1 MB, free: 22.74 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004201/0.2297, allocations: 368.3 kB / 413.4 MB, free: 22.36 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003872/0.2301, allocations: 470.1 kB / 413.9 MB, free: 21.9 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004263/0.2306, allocations: 0.5289 MB / 414.4 MB, free: 21.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001119/0.2307, allocations: 76 kB / 414.5 MB, free: 21.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001518/0.2308, allocations: 80 kB / 414.6 MB, free: 21.21 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001482/0.231, allocations: 219.1 kB / 414.8 MB, free: 21 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003814/0.2314, allocations: 0.5848 MB / 415.4 MB, free: 20.41 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006867/0.2321, allocations: 1.327 MB / 416.7 MB, free: 19.07 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.2321, allocations: 0 / 416.7 MB, free: 19.07 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.593e-06/0.2321, allocations: 0 / 416.7 MB, free: 19.07 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.2321, allocations: 4 kB / 416.7 MB, free: 19.07 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.001723/0.2338, allocations: 1.29 MB / 418 MB, free: 17.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.2339, allocations: 16.02 kB / 418 MB, free: 17.69 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.234, allocations: 127.5 kB / 418.1 MB, free: 17.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006402/0.2347, allocations: 0.6303 MB / 418.8 MB, free: 16.89 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000158/0.2348, allocations: 159.7 kB / 418.9 MB, free: 16.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.2349, allocations: 68.38 kB / 419 MB, free: 16.66 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.2361, allocations: 0.9708 MB / 420 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.2361, allocations: 0 / 420 MB, free: 15.57 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.281e-05/0.2362, allocations: 39.98 kB / 420 MB, free: 15.53 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.2362, allocations: 16 kB / 420 MB, free: 15.51 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001081/0.2373, allocations: 0.6441 MB / 420.7 MB, free: 14.87 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.002967/0.2403, allocations: 2.648 MB / 423.3 MB, free: 12.06 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002215/0.2425, allocations: 0.8701 MB / 424.2 MB, free: 11.17 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005691/0.2431, allocations: 362.8 kB / 424.5 MB, free: 10.81 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.109e-05/0.2431, allocations: 20.64 kB / 424.5 MB, free: 10.79 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.2432, allocations: 47.16 kB / 424.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 2.404e-06/0.2432, allocations: 0 / 424.6 MB, free: 10.73 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002276/0.2455, allocations: 1.444 MB / 426 MB, free: 9.18 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001738/0.2457, allocations: 0.9489 MB / 427 MB, free: 8 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.2464, allocations: 0.7825 MB / 427.8 MB, free: 7.207 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.2465, allocations: 45.7 kB / 427.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002141/0.2467, allocations: 408.5 kB / 428.2 MB, free: 6.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.2469, allocations: 244.4 kB / 428.4 MB, free: 6.512 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.2469, allocations: 16 kB / 428.5 MB, free: 6.496 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.452e-05/0.247, allocations: 333.9 kB / 428.8 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004797/0.2475, allocations: 265.9 kB / 429 MB, free: 5.902 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007026/0.2482, allocations: 0.6035 MB / 429.7 MB, free: 5.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009807/0.2492, allocations: 0.6873 MB / 430.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.356e-06/0.2492, allocations: 0 / 430.3 MB, free: 4.457 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001363/0.2505, allocations: 0.9665 MB / 431.3 MB, free: 3.449 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.098e-05/0.2506, allocations: 85.11 kB / 431.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.764e-06/0.2506, allocations: 0 / 431.4 MB, free: 3.348 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/0.2509, allocations: 132.2 kB / 431.5 MB, free: 3.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006504/0.2516, allocations: 159.8 kB / 431.7 MB, free: 3.047 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00417/0.2557, allocations: 6.796 MB / 438.5 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009045/0.2567, allocations: 119.1 kB / 438.6 MB, free: 11.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.655e-05/0.2567, allocations: 35.92 kB / 438.6 MB, free: 11.43 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.0003763/0.2571, allocations: 236.3 kB / 438.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001406/0.2573, allocations: 102.8 kB / 439 MB, free: 11.09 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001692/0.2574, allocations: 104.9 kB / 439.1 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.2575, allocations: 12 kB / 439.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.2575, allocations: 0 / 439.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001328/0.2588, allocations: 0.9818 MB / 440 MB, free: 9.879 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002706/0.2615, allocations: 1.777 MB / 441.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.2615, allocations: 0 / 441.8 MB, free: 8.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007685/0.2623, allocations: 163.8 kB / 442 MB, free: 7.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001004/0.2624, allocations: 32.78 kB / 442 MB, free: 7.836 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.29e-05/0.2625, allocations: 15.98 kB / 442 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008243/0.2633, allocations: 1.304 MB / 443.3 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.2633, allocations: 8.047 kB / 443.3 MB, free: 6.379 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.2652, allocations: 1.096 MB / 444.4 MB, free: 5.262 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000373/0.2656, allocations: 263.7 kB / 444.7 MB, free: 4.984 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001226/0.2657, allocations: 20 kB / 444.7 MB, free: 4.965 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006184/0.2664, allocations: 43.97 kB / 444.8 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.2665, allocations: 56.47 kB / 444.8 MB, free: 4.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.111e-05/0.2665, allocations: 19.98 kB / 444.8 MB, free: 4.848 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006331/0.2672, allocations: 0.5381 MB / 445.4 MB, free: 4.312 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.2672, allocations: 0 / 445.4 MB, free: 4.312 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000717/0.2679, allocations: 291.7 kB / 445.7 MB, free: 4.027 MB / 314.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.0001605/0.2681, allocations: 123.2 kB / 445.8 MB, free: 3.895 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001886/0.27, allocations: 1.413 MB / 447.2 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.27, allocations: 4 kB / 447.2 MB, free: 2.375 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006397/0.2706, allocations: 438.4 kB / 447.6 MB, free: 1.938 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001107/0.2717, allocations: 264.4 kB / 447.9 MB, free: 1.684 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002957/0.2747, allocations: 2.091 MB / 450 MB, free: 15.56 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004639/0.2752, allocations: 0.9797 MB / 451 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005354/0.2757, allocations: 131.5 kB / 451.1 MB, free: 14.42 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002012/0.2759, allocations: 71.44 kB / 451.2 MB, free: 14.35 MB / 330.7 MB Notification: Performance of SimCode: time 1.713e-06/0.2759, allocations: 4 kB / 451.2 MB, free: 14.34 MB / 330.7 MB Notification: Performance of Templates: time 0.03491/0.3109, allocations: 16.55 MB / 467.7 MB, free: 13.9 MB / 346.7 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","../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches