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.001139/0.001139, allocations: 102.2 kB / 18.25 MB, free: 4.762 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.001127/0.001127, allocations: 195.3 kB / 19.18 MB, free: 3.836 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.452/1.452, allocations: 205.1 MB / 225 MB, free: 12.29 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.001362/0.001362, allocations: 51.92 kB / 281.3 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09279/0.09416, allocations: 46.63 MB / 327.9 MB, free: 4.48 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.IndirectCooling): time 0.007111/0.1013, allocations: 5.603 MB / 333.5 MB, free: 14.84 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002884/0.1042, allocations: 1.465 MB / 335 MB, free: 13.36 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007201/0.105, allocations: 15.94 kB / 335 MB, free: 13.35 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006967/0.1057, allocations: 190.3 kB / 335.2 MB, free: 13.16 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001287/0.107, allocations: 384.7 kB / 335.6 MB, free: 12.78 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.108, allocations: 255.6 kB / 335.8 MB, free: 12.53 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002414/0.1104, allocations: 1.355 MB / 337.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007499/0.1112, allocations: 415.1 kB / 337.6 MB, free: 10.74 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008971/0.1121, allocations: 0.5099 MB / 338.1 MB, free: 10.23 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00114/0.1133, allocations: 0.5797 MB / 338.7 MB, free: 9.648 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003321/0.1136, allocations: 116 kB / 338.8 MB, free: 9.535 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.114, allocations: 120 kB / 338.9 MB, free: 9.418 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002851/0.1143, allocations: 263.1 kB / 339.2 MB, free: 9.16 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009682/0.1153, allocations: 0.6105 MB / 339.8 MB, free: 8.547 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001623/0.1169, allocations: 1.378 MB / 341.2 MB, free: 7.164 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.145e-06/0.117, allocations: 4 kB / 341.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.526e-06/0.117, allocations: 0 / 341.2 MB, free: 7.16 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.648e-05/0.1171, allocations: 0 / 341.2 MB, free: 7.16 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.00363/0.1207, allocations: 1.485 MB / 342.7 MB, free: 5.602 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.1208, allocations: 8.031 kB / 342.7 MB, free: 5.594 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002948/0.1211, allocations: 131.5 kB / 342.8 MB, free: 5.465 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001024/0.1221, allocations: 0.6304 MB / 343.4 MB, free: 4.793 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002149/0.1223, allocations: 151.7 kB / 343.6 MB, free: 4.629 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001236/0.1225, allocations: 64.38 kB / 343.6 MB, free: 4.566 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.1241, allocations: 0.9707 MB / 344.6 MB, free: 3.477 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.605e-05/0.1242, allocations: 0 / 344.6 MB, free: 3.477 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.068e-05/0.1243, allocations: 32 kB / 344.6 MB, free: 3.445 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.582e-05/0.1243, allocations: 20 kB / 344.7 MB, free: 3.426 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.1257, allocations: 0.6246 MB / 345.3 MB, free: 2.805 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.004521/0.1302, allocations: 2.64 MB / 347.9 MB, free: 4 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002565/0.1328, allocations: 0.871 MB / 348.8 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006944/0.1335, allocations: 350.7 kB / 349.1 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.877e-05/0.1336, allocations: 20.55 kB / 349.2 MB, free: 14.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.304e-05/0.1337, allocations: 47.22 kB / 349.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=72): time 2.826e-06/0.1337, allocations: 3.938 kB / 349.2 MB, free: 14.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=72): time 0.002701/0.1364, allocations: 1.404 MB / 350.6 MB, free: 13.16 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004259/0.1368, allocations: 0.9527 MB / 351.6 MB, free: 11.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001042/0.1379, allocations: 0.7903 MB / 352.3 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.845e-05/0.138, allocations: 45.7 kB / 352.4 MB, free: 11.13 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003279/0.1383, allocations: 408.5 kB / 352.8 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.1385, allocations: 252.3 kB / 353 MB, free: 10.48 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002767/0.1388, allocations: 158.7 kB / 353.2 MB, free: 10.31 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1389, allocations: 334 kB / 353.5 MB, free: 9.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005824/0.1395, allocations: 257.9 kB / 353.8 MB, free: 9.73 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008425/0.1404, allocations: 0.5802 MB / 354.4 MB, free: 9.027 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001196/0.1416, allocations: 0.6657 MB / 355 MB, free: 8.332 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1416, allocations: 0 / 355 MB, free: 8.332 MB / 302.1 MB Notification: Performance of matching and sorting (n=90) (initialization): time 0.001854/0.1435, allocations: 0.9585 MB / 356 MB, free: 7.336 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.127e-05/0.1436, allocations: 81.11 kB / 356.1 MB, free: 7.238 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.1436, allocations: 4 kB / 356.1 MB, free: 7.234 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003755/0.144, allocations: 136.3 kB / 356.2 MB, free: 7.086 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/0.1447, allocations: 147.8 kB / 356.3 MB, free: 6.941 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005669/0.1503, allocations: 7.329 MB / 363.7 MB, free: 14.91 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.1514, allocations: 107.1 kB / 363.8 MB, free: 14.8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001005/0.1515, allocations: 24 kB / 363.8 MB, free: 14.78 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.000472/0.152, allocations: 233.7 kB / 364 MB, free: 14.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002479/0.1522, allocations: 102.9 kB / 364.1 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000225/0.1524, allocations: 104.9 kB / 364.2 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1525, allocations: 8 kB / 364.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.016e-05/0.1525, allocations: 0 / 364.2 MB, free: 14.32 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001408/0.1539, allocations: 0.9699 MB / 365.2 MB, free: 13.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.157, allocations: 1.758 MB / 367 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.157, allocations: 0 / 367 MB, free: 11.42 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/0.1578, allocations: 159.8 kB / 367.1 MB, free: 11.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001063/0.1579, allocations: 24.84 kB / 367.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.102e-05/0.158, allocations: 15.98 kB / 367.2 MB, free: 11.22 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009849/0.159, allocations: 1.403 MB / 368.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.159, allocations: 0 / 368.6 MB, free: 9.676 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001997/0.161, allocations: 1.072 MB / 369.6 MB, free: 8.578 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004902/0.1615, allocations: 259.7 kB / 369.9 MB, free: 8.305 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00018/0.1617, allocations: 16 kB / 369.9 MB, free: 8.289 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006942/0.1624, allocations: 47.95 kB / 369.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.905e-05/0.1625, allocations: 40.59 kB / 370 MB, free: 8.203 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.648e-05/0.1625, allocations: 24 kB / 370 MB, free: 8.18 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007909/0.1633, allocations: 0.5459 MB / 370.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1633, allocations: 0 / 370.6 MB, free: 7.637 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009826/0.1643, allocations: 295.6 kB / 370.8 MB, free: 7.348 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.0002156/0.1646, allocations: 131.1 kB / 371 MB, free: 7.207 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002531/0.1671, allocations: 1.421 MB / 372.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.1671, allocations: 0 / 372.4 MB, free: 5.688 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000723/0.1679, allocations: 422.3 kB / 372.8 MB, free: 5.262 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001301/0.1692, allocations: 287.1 kB / 373.1 MB, free: 4.984 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003359/0.1726, allocations: 1.74 MB / 374.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005982/0.1732, allocations: 0.9758 MB / 375.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002869/0.1735, allocations: 79.42 kB / 375.9 MB, free: 2.125 MB / 318.1 MB Notification: Performance of SimCode: time 3.3e-07/0.1735, allocations: 4 kB / 375.9 MB, free: 2.121 MB / 318.1 MB Notification: Performance of Templates: time 0.1937/0.3672, allocations: 24.23 MB / 400.1 MB, free: 40.82 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 -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