Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00151/0.00151, allocations: 108.4 kB / 18.34 MB, free: 4.699 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.001533/0.001533, allocations: 190.9 kB / 19.28 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 44.2 kB / 282.1 MB, free: 2.465 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08103/0.08227, allocations: 46.64 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007154/0.08947, allocations: 5.606 MB / 334.3 MB, free: 14.12 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003035/0.09254, allocations: 1.457 MB / 335.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004347/0.09301, allocations: 15.94 kB / 335.8 MB, free: 12.63 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004842/0.09356, allocations: 194.3 kB / 336 MB, free: 12.44 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007884/0.09436, allocations: 388.7 kB / 336.4 MB, free: 12.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.09488, allocations: 263.6 kB / 336.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001307/0.0962, allocations: 1.359 MB / 338 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005252/0.09673, allocations: 415.1 kB / 338.4 MB, free: 10.01 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005551/0.0973, allocations: 0.5099 MB / 338.9 MB, free: 9.496 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006337/0.09794, allocations: 0.5874 MB / 339.5 MB, free: 8.906 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000144/0.09809, allocations: 116 kB / 339.6 MB, free: 8.793 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001703/0.09827, allocations: 120 kB / 339.7 MB, free: 8.676 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001977/0.09848, allocations: 255.2 kB / 340 MB, free: 8.426 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005253/0.09901, allocations: 0.6066 MB / 340.6 MB, free: 7.816 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001144/0.1002, allocations: 1.401 MB / 342 MB, free: 6.41 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1002, allocations: 0 / 342 MB, free: 6.41 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.1002, allocations: 0 / 342 MB, free: 6.41 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.285e-05/0.1002, allocations: 0 / 342 MB, free: 6.41 MB / 286.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.002456/0.1027, allocations: 1.493 MB / 343.5 MB, free: 4.844 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.1027, allocations: 12.03 kB / 343.5 MB, free: 4.832 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001899/0.1029, allocations: 127.5 kB / 343.6 MB, free: 4.707 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000938/0.1038, allocations: 0.6343 MB / 344.2 MB, free: 4.031 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001855/0.104, allocations: 147.7 kB / 344.4 MB, free: 3.871 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.997e-05/0.1042, allocations: 72.31 kB / 344.4 MB, free: 3.801 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001381/0.1055, allocations: 0.9668 MB / 345.4 MB, free: 2.715 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.041e-05/0.1056, allocations: 4 kB / 345.4 MB, free: 2.711 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.227e-05/0.1056, allocations: 36 kB / 345.5 MB, free: 2.676 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/0.1057, allocations: 16 kB / 345.5 MB, free: 2.66 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001219/0.1069, allocations: 0.6246 MB / 346.1 MB, free: 2.039 MB / 286.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.003862/0.1108, allocations: 2.628 MB / 348.7 MB, free: 15.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.1132, allocations: 0.8633 MB / 349.6 MB, free: 14.36 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006702/0.1139, allocations: 354.7 kB / 349.9 MB, free: 14.01 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.422e-05/0.114, allocations: 16.62 kB / 349.9 MB, free: 13.99 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.114, allocations: 51.22 kB / 350 MB, free: 13.93 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.945e-06/0.1141, allocations: 0 / 350 MB, free: 13.93 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002558/0.1166, allocations: 1.397 MB / 351.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000426/0.1171, allocations: 0.9605 MB / 352.4 MB, free: 11.23 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009459/0.118, allocations: 0.7864 MB / 353.1 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.293e-05/0.1181, allocations: 45.7 kB / 353.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003483/0.1184, allocations: 404.5 kB / 353.6 MB, free: 9.988 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002458/0.1187, allocations: 256.3 kB / 353.8 MB, free: 9.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002432/0.119, allocations: 154.7 kB / 354 MB, free: 9.574 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000159/0.1191, allocations: 334 kB / 354.3 MB, free: 9.242 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005364/0.1197, allocations: 257.9 kB / 354.6 MB, free: 8.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008199/0.1205, allocations: 0.5841 MB / 355.1 MB, free: 8.281 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001154/0.1217, allocations: 0.6657 MB / 355.8 MB, free: 7.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.1217, allocations: 3.938 kB / 355.8 MB, free: 7.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001692/0.1234, allocations: 0.9508 MB / 356.8 MB, free: 6.594 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.501e-05/0.1235, allocations: 89.11 kB / 356.9 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.355e-06/0.1235, allocations: 0 / 356.9 MB, free: 6.488 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000378/0.1239, allocations: 132.2 kB / 357 MB, free: 6.344 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007068/0.1246, allocations: 151.8 kB / 357.1 MB, free: 6.195 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/0.1301, allocations: 7.329 MB / 364.5 MB, free: 14.16 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008295/0.131, allocations: 103.1 kB / 364.6 MB, free: 14.06 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.1311, allocations: 28 kB / 364.6 MB, free: 14.03 MB / 318.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.0003511/0.1314, allocations: 237.7 kB / 364.8 MB, free: 13.79 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001438/0.1316, allocations: 98.88 kB / 364.9 MB, free: 13.69 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001901/0.1318, allocations: 104.9 kB / 365 MB, free: 13.59 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-06/0.1318, allocations: 8 kB / 365 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.1318, allocations: 0 / 365 MB, free: 13.58 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001356/0.1331, allocations: 0.97 MB / 366 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002657/0.1358, allocations: 1.748 MB / 367.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.1358, allocations: 0 / 367.7 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007587/0.1366, allocations: 155.8 kB / 367.9 MB, free: 10.53 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.488e-05/0.1367, allocations: 28.83 kB / 367.9 MB, free: 10.5 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.1368, allocations: 16 kB / 367.9 MB, free: 10.48 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009457/0.1377, allocations: 1.407 MB / 369.3 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1377, allocations: 0 / 369.3 MB, free: 8.934 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.1396, allocations: 1.073 MB / 370.4 MB, free: 7.84 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003731/0.14, allocations: 263.7 kB / 370.7 MB, free: 7.562 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.1401, allocations: 16 kB / 370.7 MB, free: 7.547 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006242/0.1408, allocations: 43.95 kB / 370.7 MB, free: 7.504 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.884e-05/0.1409, allocations: 52.53 kB / 370.8 MB, free: 7.453 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.818e-05/0.1409, allocations: 16 kB / 370.8 MB, free: 7.438 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0006635/0.1416, allocations: 0.5498 MB / 371.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1416, allocations: 0 / 371.4 MB, free: 6.891 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000755/0.1424, allocations: 287.7 kB / 371.6 MB, free: 6.609 MB / 318.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.0001824/0.1425, allocations: 127.1 kB / 371.8 MB, free: 6.473 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002019/0.1446, allocations: 1.394 MB / 373.2 MB, free: 4.98 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1446, allocations: 4.062 kB / 373.2 MB, free: 4.977 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006927/0.1453, allocations: 422.3 kB / 373.6 MB, free: 4.547 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009932/0.1463, allocations: 275 kB / 373.8 MB, free: 4.281 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002601/0.1489, allocations: 1.687 MB / 375.5 MB, free: 2.57 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000514/0.1494, allocations: 0.9758 MB / 376.5 MB, free: 1.562 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004547/0.1499, allocations: 127.5 kB / 376.6 MB, free: 1.434 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.1501, allocations: 83.36 kB / 376.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of SimCode: time 6.42e-07/0.1501, allocations: 0 / 376.7 MB, free: 1.352 MB / 318.1 MB Notification: Performance of Templates: time 0.1621/0.3122, allocations: 17.63 MB / 394.3 MB, free: 46.72 MB / 318.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/IndirectCooling/IndirectCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches