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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001107, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.55/1.55, allocations: 222.9 MB / 240.9 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009785/0.0009783, allocations: 102.1 kB / 291.2 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009657/0.0009659, allocations: 39.94 kB / 350 MB, free: 64 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2037/0.2047, allocations: 49.44 MB / 399.5 MB, free: 33.35 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.004529/0.2092, allocations: 5.607 MB / 405.1 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002386/0.2116, allocations: 1.41 MB / 406.5 MB, free: 26.31 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003692/0.2121, allocations: 19.88 kB / 406.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003637/0.2124, allocations: 158.9 kB / 406.7 MB, free: 26.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005642/0.213, allocations: 337.3 kB / 407 MB, free: 25.8 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.2134, allocations: 215.8 kB / 407.2 MB, free: 25.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007725/0.2142, allocations: 1.32 MB / 408.5 MB, free: 24.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003444/0.2145, allocations: 384.3 kB / 408.9 MB, free: 23.87 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002927/0.2148, allocations: 490.1 kB / 409.4 MB, free: 23.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003873/0.2152, allocations: 0.5562 MB / 409.9 MB, free: 22.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001115/0.2153, allocations: 84 kB / 410 MB, free: 22.75 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001487/0.2155, allocations: 88 kB / 410.1 MB, free: 22.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.2156, allocations: 231 kB / 410.3 MB, free: 22.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003507/0.216, allocations: 0.5754 MB / 410.9 MB, free: 21.86 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006811/0.2166, allocations: 1.351 MB / 412.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.2167, allocations: 0 / 412.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.2167, allocations: 0 / 412.3 MB, free: 20.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.167e-05/0.2167, allocations: 4 kB / 412.3 MB, free: 20.5 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.00216/0.2188, allocations: 1.485 MB / 413.7 MB, free: 18.94 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.883e-05/0.2189, allocations: 8.031 kB / 413.8 MB, free: 18.93 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002253/0.2191, allocations: 131.5 kB / 413.9 MB, free: 18.8 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009426/0.2201, allocations: 0.6382 MB / 414.5 MB, free: 18.12 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002029/0.2203, allocations: 143.7 kB / 414.7 MB, free: 17.97 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001215/0.2204, allocations: 72.38 kB / 414.7 MB, free: 17.9 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00157/0.222, allocations: 0.9668 MB / 415.7 MB, free: 16.81 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.2221, allocations: 0 / 415.7 MB, free: 16.81 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.669e-05/0.2221, allocations: 36 kB / 415.7 MB, free: 16.78 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.2222, allocations: 16 kB / 415.7 MB, free: 16.76 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.2237, allocations: 0.6168 MB / 416.4 MB, free: 16.15 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.00437/0.2281, allocations: 2.64 MB / 419 MB, free: 13.34 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.2312, allocations: 0.8642 MB / 419.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008378/0.232, allocations: 350.6 kB / 420.2 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.132e-05/0.2321, allocations: 16.64 kB / 420.2 MB, free: 12.09 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.332e-05/0.2322, allocations: 51.16 kB / 420.3 MB, free: 12.04 MB / 298.7 MB Notification: Performance of pre-optimization done (n=72): time 3.637e-06/0.2322, allocations: 4 kB / 420.3 MB, free: 12.03 MB / 298.7 MB Notification: Performance of matching and sorting (n=72): time 0.002994/0.2352, allocations: 1.401 MB / 421.7 MB, free: 10.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.2354, allocations: 0.9489 MB / 422.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007483/0.2361, allocations: 0.7864 MB / 423.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.056e-05/0.2362, allocations: 49.7 kB / 423.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001973/0.2364, allocations: 414.4 kB / 423.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.2365, allocations: 240.4 kB / 424.1 MB, free: 7.844 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.2367, allocations: 158.7 kB / 424.3 MB, free: 7.68 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.755e-05/0.2368, allocations: 333.9 kB / 424.6 MB, free: 7.348 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004694/0.2373, allocations: 257.9 kB / 424.8 MB, free: 7.098 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000657/0.2379, allocations: 0.584 MB / 425.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009648/0.2389, allocations: 0.6715 MB / 426.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.2389, allocations: 0 / 426.1 MB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001377/0.2403, allocations: 0.9586 MB / 427 MB, free: 4.691 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.2404, allocations: 81.11 kB / 427.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.2404, allocations: 4 kB / 427.1 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002697/0.2406, allocations: 128.2 kB / 427.3 MB, free: 4.449 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006327/0.2413, allocations: 159.8 kB / 427.4 MB, free: 4.293 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005362/0.2467, allocations: 6.797 MB / 434.2 MB, free: 12.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.248, allocations: 107.3 kB / 434.3 MB, free: 12.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.352e-05/0.2481, allocations: 27.98 kB / 434.3 MB, free: 12.69 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.0005091/0.2486, allocations: 229.7 kB / 434.6 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002317/0.2488, allocations: 110.8 kB / 434.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002455/0.2491, allocations: 108.9 kB / 434.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2491, allocations: 4 kB / 434.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.2491, allocations: 4 kB / 434.8 MB, free: 12.23 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001935/0.2511, allocations: 0.9622 MB / 435.8 MB, free: 11.16 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004014/0.2551, allocations: 1.754 MB / 437.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.2551, allocations: 0 / 437.5 MB, free: 9.336 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001128/0.2563, allocations: 155.8 kB / 437.7 MB, free: 9.184 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001311/0.2564, allocations: 24.84 kB / 437.7 MB, free: 9.156 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.178e-05/0.2565, allocations: 15.98 kB / 437.7 MB, free: 9.141 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001122/0.2576, allocations: 1.312 MB / 439 MB, free: 7.695 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.2577, allocations: 4.031 kB / 439 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/0.2681, allocations: 6.404 MB / 445.4 MB, free: 1 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003676/0.2685, allocations: 255.7 kB / 445.7 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.2687, allocations: 24.06 kB / 445.7 MB, free: 0.707 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006491/0.2693, allocations: 43.95 kB / 445.7 MB, free: 0.6641 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001011/0.2694, allocations: 48.59 kB / 445.8 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.823e-05/0.2695, allocations: 16 kB / 445.8 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006459/0.2701, allocations: 0.5459 MB / 446.3 MB, free: 60 kB / 314.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2701, allocations: 0 / 446.3 MB, free: 60 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0009804/0.2711, allocations: 407.6 kB / 446.7 MB, free: 15.66 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.0001537/0.2713, allocations: 127.1 kB / 446.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001863/0.2731, allocations: 1.39 MB / 448.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.2732, allocations: 0 / 448.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006809/0.2738, allocations: 418.3 kB / 448.7 MB, free: 13.62 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.275, allocations: 267.2 kB / 448.9 MB, free: 13.36 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003187/0.2782, allocations: 2.505 MB / 451.4 MB, free: 10.79 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004876/0.2787, allocations: 0.9956 MB / 452.4 MB, free: 9.77 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005512/0.2792, allocations: 139.5 kB / 452.6 MB, free: 9.629 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000238/0.2795, allocations: 79.42 kB / 452.6 MB, free: 9.551 MB / 330.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2795, allocations: 0 / 452.6 MB, free: 9.551 MB / 330.7 MB Notification: Performance of Templates: time 0.03366/0.3131, allocations: 18.6 MB / 471.2 MB, free: 7.273 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@2/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