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.001653/0.001653, allocations: 104 kB / 17.59 MB, free: 5.43 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.001792/0.001793, allocations: 191.6 kB / 18.52 MB, free: 4.504 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.386/1.386, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001006/0.001006, allocations: 51.61 kB / 301.3 MB, free: 5.883 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1014, allocations: 49.45 MB / 350.7 MB, free: 4.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.006454/0.1079, allocations: 5.606 MB / 356.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003102/0.1111, allocations: 1.414 MB / 357.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006082/0.1117, allocations: 8 kB / 357.8 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005858/0.1123, allocations: 198.3 kB / 358 MB, free: 13.16 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009931/0.1133, allocations: 396.6 kB / 358.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006348/0.114, allocations: 259.6 kB / 358.6 MB, free: 12.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001668/0.1157, allocations: 1.352 MB / 359.9 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006848/0.1164, allocations: 419 kB / 360.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008304/0.1172, allocations: 0.5138 MB / 360.9 MB, free: 10.21 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007115/0.1179, allocations: 0.5797 MB / 361.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.1181, allocations: 120 kB / 361.6 MB, free: 9.516 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002133/0.1183, allocations: 120 kB / 361.7 MB, free: 9.398 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002212/0.1186, allocations: 259.1 kB / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005847/0.1192, allocations: 0.6028 MB / 362.5 MB, free: 8.539 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001341/0.1205, allocations: 1.378 MB / 363.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.1205, allocations: 0 / 363.9 MB, free: 7.156 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.14e-05/0.1205, allocations: 4 kB / 363.9 MB, free: 7.152 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.905e-05/0.1206, allocations: 0 / 363.9 MB, free: 7.152 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.00265/0.1232, allocations: 1.493 MB / 365.4 MB, free: 5.586 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.1233, allocations: 12.03 kB / 365.4 MB, free: 5.574 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002561/0.1235, allocations: 127.5 kB / 365.5 MB, free: 5.449 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000937/0.1245, allocations: 0.6264 MB / 366.2 MB, free: 4.781 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002279/0.1247, allocations: 159.6 kB / 366.3 MB, free: 4.609 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001061/0.1248, allocations: 68.38 kB / 366.4 MB, free: 4.543 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001535/0.1264, allocations: 0.9669 MB / 367.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.95e-05/0.1264, allocations: 0 / 367.4 MB, free: 3.457 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.133e-05/0.1265, allocations: 32 kB / 367.4 MB, free: 3.426 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.591e-05/0.1265, allocations: 16 kB / 367.4 MB, free: 3.41 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001285/0.1278, allocations: 0.6207 MB / 368 MB, free: 2.793 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.187/0.3149, allocations: 2.644 MB / 370.7 MB, free: 24.85 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003126/0.318, allocations: 0.8518 MB / 371.5 MB, free: 24.73 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008765/0.3189, allocations: 355.9 kB / 371.9 MB, free: 24.72 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.977e-05/0.319, allocations: 18.12 kB / 371.9 MB, free: 24.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.025e-05/0.3191, allocations: 52.97 kB / 371.9 MB, free: 24.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 4.439e-06/0.3191, allocations: 0 / 371.9 MB, free: 24.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.003102/0.3222, allocations: 1.408 MB / 373.4 MB, free: 24.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000215/0.3224, allocations: 0.9499 MB / 374.3 MB, free: 22.92 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.3238, allocations: 0.7848 MB / 375.1 MB, free: 22.59 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001273/0.3239, allocations: 45.95 kB / 375.1 MB, free: 22.55 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003436/0.3243, allocations: 407.6 kB / 375.5 MB, free: 22.3 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/0.3246, allocations: 255.2 kB / 375.8 MB, free: 22.14 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003545/0.3249, allocations: 156.6 kB / 375.9 MB, free: 22.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.179e-05/0.325, allocations: 333 kB / 376.3 MB, free: 21.75 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006004/0.3256, allocations: 255.7 kB / 376.5 MB, free: 21.67 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008155/0.3264, allocations: 0.5839 MB / 377.1 MB, free: 21.21 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001129/0.3276, allocations: 0.6682 MB / 377.8 MB, free: 20.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.3276, allocations: 1.375 kB / 377.8 MB, free: 20.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001788/0.3294, allocations: 0.958 MB / 378.7 MB, free: 20.35 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.629e-05/0.3294, allocations: 85.78 kB / 378.8 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/0.3295, allocations: 1.156 kB / 378.8 MB, free: 20.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003495/0.3298, allocations: 128.9 kB / 378.9 MB, free: 20.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007216/0.3306, allocations: 151.6 kB / 379.1 MB, free: 20.18 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.3347, allocations: 7.331 MB / 386.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000926/0.3357, allocations: 114.6 kB / 386.5 MB, free: 12.85 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.829e-05/0.3357, allocations: 26.44 kB / 386.5 MB, free: 12.85 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.0003967/0.3361, allocations: 237.7 kB / 386.8 MB, free: 12.66 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002115/0.3364, allocations: 100.7 kB / 386.9 MB, free: 12.61 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001943/0.3366, allocations: 104.1 kB / 387 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/0.3366, allocations: 7.5 kB / 387 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.258e-05/0.3366, allocations: 5.031 kB / 387 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001278/0.3379, allocations: 0.9637 MB / 388 MB, free: 11.81 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002946/0.3408, allocations: 1.748 MB / 389.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3409, allocations: 1.75 kB / 389.7 MB, free: 10.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008418/0.3417, allocations: 163.9 kB / 389.9 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001127/0.3418, allocations: 25.55 kB / 389.9 MB, free: 10.88 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.837e-05/0.3419, allocations: 21.89 kB / 389.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000673/0.3426, allocations: 1.401 MB / 391.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3426, allocations: 0 / 391.3 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002001/0.3446, allocations: 1.081 MB / 392.4 MB, free: 8.926 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003985/0.345, allocations: 256.9 kB / 392.6 MB, free: 8.723 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001359/0.3452, allocations: 21.77 kB / 392.7 MB, free: 8.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006728/0.3459, allocations: 43.77 kB / 392.7 MB, free: 8.695 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.346, allocations: 46.17 kB / 392.8 MB, free: 8.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.873e-05/0.346, allocations: 18.31 kB / 392.8 MB, free: 8.684 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007096/0.3467, allocations: 0.5485 MB / 393.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3467, allocations: 0 / 393.3 MB, free: 8.445 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008162/0.3476, allocations: 292.2 kB / 393.6 MB, free: 8.402 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.000147/0.3477, allocations: 126.1 kB / 393.7 MB, free: 8.297 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002228/0.35, allocations: 1.427 MB / 395.2 MB, free: 7.293 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/0.35, allocations: 6.906 kB / 395.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006432/0.3506, allocations: 420.7 kB / 395.6 MB, free: 7.082 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.3519, allocations: 276.1 kB / 395.8 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.3547, allocations: 1.725 MB / 397.6 MB, free: 5.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.3551, allocations: 0.9777 MB / 398.5 MB, free: 5.277 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00026/0.3554, allocations: 82.91 kB / 398.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3554, allocations: 3.938 kB / 398.6 MB, free: 5.266 MB / 302.1 MB Notification: Performance of Templates: time 0.02722/0.3826, allocations: 24.22 MB / 422.9 MB, free: 36 kB / 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/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