Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001606/0.001606, allocations: 177.9 kB / 17.36 MB, free: 4.195 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.517/1.517, allocations: 205.6 MB / 223.7 MB, free: 8.949 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007358/0.0007358, allocations: 87.48 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002985/0.0002986, allocations: 4 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2187/0.2191, allocations: 47.58 MB / 376.6 MB, free: 45.58 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004674/0.2238, allocations: 4.911 MB / 381.5 MB, free: 41.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003349/0.2272, allocations: 1.619 MB / 383.1 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.2285, allocations: 10.03 kB / 383.1 MB, free: 40.27 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007677/0.2293, allocations: 150.8 kB / 383.3 MB, free: 40.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.2305, allocations: 342.9 kB / 383.6 MB, free: 39.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.231, allocations: 232.5 kB / 383.8 MB, free: 39.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001377/0.2324, allocations: 1.287 MB / 385.1 MB, free: 38.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000451/0.2329, allocations: 377 kB / 385.5 MB, free: 38.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005044/0.2334, allocations: 469.3 kB / 386 MB, free: 38.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.2339, allocations: 0.5346 MB / 386.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001415/0.234, allocations: 80.53 kB / 386.6 MB, free: 38.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001834/0.2342, allocations: 81.78 kB / 386.7 MB, free: 38.04 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.2344, allocations: 208.8 kB / 386.9 MB, free: 37.86 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004926/0.2349, allocations: 0.5888 MB / 387.4 MB, free: 37.46 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000747/0.2356, allocations: 1.323 MB / 388.8 MB, free: 36.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.2356, allocations: 0 / 388.8 MB, free: 36.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.2357, allocations: 0 / 388.8 MB, free: 36.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.438e-05/0.2357, allocations: 0 / 388.8 MB, free: 36.2 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.001798/0.2375, allocations: 1.294 MB / 390.1 MB, free: 34.83 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.2375, allocations: 12.03 kB / 390.1 MB, free: 34.82 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001588/0.2377, allocations: 127.5 kB / 390.2 MB, free: 34.69 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007098/0.2384, allocations: 0.6303 MB / 390.8 MB, free: 34.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001779/0.2386, allocations: 159.6 kB / 391 MB, free: 33.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.089e-05/0.2387, allocations: 64.38 kB / 391 MB, free: 33.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.2399, allocations: 0.9847 MB / 392 MB, free: 32.68 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/0.2399, allocations: 0 / 392 MB, free: 32.68 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.24, allocations: 32 kB / 392.1 MB, free: 32.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.267e-05/0.24, allocations: 19.94 kB / 392.1 MB, free: 32.63 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.2411, allocations: 0.6403 MB / 392.7 MB, free: 32 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.003162/0.2443, allocations: 2.64 MB / 395.4 MB, free: 29.2 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.2465, allocations: 0.8845 MB / 396.2 MB, free: 28.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005774/0.2471, allocations: 367 kB / 396.6 MB, free: 27.93 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.952e-05/0.2471, allocations: 12.66 kB / 396.6 MB, free: 27.92 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.502e-05/0.2472, allocations: 51.2 kB / 396.7 MB, free: 27.86 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 1.813e-06/0.2472, allocations: 0 / 396.7 MB, free: 27.86 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.00216/0.2493, allocations: 1.436 MB / 398.1 MB, free: 26.31 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001716/0.2495, allocations: 0.9566 MB / 399.1 MB, free: 25.12 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007142/0.2503, allocations: 0.7747 MB / 399.8 MB, free: 24.34 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.2503, allocations: 49.7 kB / 399.9 MB, free: 24.29 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002245/0.2505, allocations: 412.5 kB / 400.3 MB, free: 23.88 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.2507, allocations: 244.4 kB / 400.5 MB, free: 23.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.2507, allocations: 19.94 kB / 400.5 MB, free: 23.62 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.867e-05/0.2508, allocations: 337.9 kB / 400.9 MB, free: 23.28 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004826/0.2513, allocations: 261.9 kB / 401.1 MB, free: 23.02 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006476/0.2519, allocations: 0.5997 MB / 401.7 MB, free: 22.3 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009668/0.2529, allocations: 0.6834 MB / 402.4 MB, free: 21.59 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.2529, allocations: 0 / 402.4 MB, free: 21.59 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001343/0.2542, allocations: 0.9742 MB / 403.4 MB, free: 20.57 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.416e-05/0.2543, allocations: 89.11 kB / 403.5 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.2543, allocations: 0 / 403.5 MB, free: 20.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002856/0.2546, allocations: 124.2 kB / 403.6 MB, free: 20.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006488/0.2553, allocations: 159.8 kB / 403.8 MB, free: 20.17 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00338/0.2586, allocations: 6.788 MB / 410.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007365/0.2594, allocations: 115.2 kB / 410.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.653e-05/0.2595, allocations: 24 kB / 410.7 MB, free: 12.57 MB / 298.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.0002712/0.2597, allocations: 237.8 kB / 410.9 MB, free: 12.33 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.2599, allocations: 106.7 kB / 411 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.26, allocations: 100.9 kB / 411.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-06/0.26, allocations: 8.281 kB / 411.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.26, allocations: 0 / 411.1 MB, free: 12.12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001079/0.2611, allocations: 0.9973 MB / 412.1 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.2633, allocations: 1.777 MB / 413.9 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.2633, allocations: 4 kB / 413.9 MB, free: 9.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006912/0.264, allocations: 155.8 kB / 414.1 MB, free: 9.008 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.851e-05/0.2641, allocations: 24.84 kB / 414.1 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.2641, allocations: 19.92 kB / 414.1 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005406/0.2647, allocations: 1.304 MB / 415.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2647, allocations: 0 / 415.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001589/0.2663, allocations: 1.103 MB / 416.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.2666, allocations: 251.7 kB / 416.7 MB, free: 6.129 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001132/0.2667, allocations: 20 kB / 416.8 MB, free: 6.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005913/0.2673, allocations: 56.11 kB / 416.8 MB, free: 6.055 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.045e-05/0.2674, allocations: 44.53 kB / 416.9 MB, free: 6.012 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.2674, allocations: 23.98 kB / 416.9 MB, free: 5.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005048/0.2679, allocations: 0.5342 MB / 417.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.268, allocations: 0 / 417.4 MB, free: 5.457 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000601/0.2686, allocations: 299.7 kB / 417.7 MB, free: 5.164 MB / 298.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.0001235/0.2687, allocations: 135.1 kB / 417.8 MB, free: 5.023 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.00155/0.2703, allocations: 1.409 MB / 419.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.2703, allocations: 3.859 kB / 419.3 MB, free: 3.508 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005745/0.2708, allocations: 430.6 kB / 419.7 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001041/0.2719, allocations: 255 kB / 419.9 MB, free: 2.832 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002294/0.2742, allocations: 2.118 MB / 422 MB, free: 0.6875 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004/0.2746, allocations: 0.9874 MB / 423 MB, free: 15.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000543/0.2752, allocations: 123.5 kB / 423.2 MB, free: 15.55 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002041/0.2754, allocations: 79.42 kB / 423.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of SimCode: time 5.01e-07/0.2754, allocations: 0 / 423.2 MB, free: 15.47 MB / 314.7 MB Notification: Performance of Templates: time 0.0259/0.3013, allocations: 16.53 MB / 439.8 MB, free: 15.01 MB / 330.7 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches