Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007876/0.0007877, allocations: 93.33 kB / 17.3 MB, free: 6.391 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.0008916/0.0008918, allocations: 172.6 kB / 18.2 MB, free: 5.551 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.509/1.509, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004975/0.0004976, allocations: 12.47 kB / 281.4 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 47.58 MB / 329 MB, free: 3.766 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.003424/0.1081, allocations: 3.142 MB / 332.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.1096, allocations: 0.9242 MB / 333 MB, free: 15.67 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001642/0.1098, allocations: 4 kB / 333 MB, free: 15.66 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000276/0.1101, allocations: 83.42 kB / 333.1 MB, free: 15.58 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000336/0.1104, allocations: 170.7 kB / 333.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1107, allocations: 103.9 kB / 333.4 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005528/0.1113, allocations: 0.6029 MB / 334 MB, free: 14.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002672/0.1115, allocations: 174.9 kB / 334.1 MB, free: 14.54 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002112/0.1118, allocations: 223.1 kB / 334.4 MB, free: 14.32 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002676/0.112, allocations: 246.8 kB / 334.6 MB, free: 14.07 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 6.058e-05/0.1121, allocations: 36 kB / 334.6 MB, free: 14.04 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.917e-05/0.1122, allocations: 36 kB / 334.7 MB, free: 14 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.199e-05/0.1123, allocations: 103.6 kB / 334.8 MB, free: 13.9 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002403/0.1125, allocations: 296.3 kB / 335.1 MB, free: 13.61 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005058/0.113, allocations: 0.6032 MB / 335.7 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.113, allocations: 3.938 kB / 335.7 MB, free: 13 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1131, allocations: 0 / 335.7 MB, free: 13 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.224e-06/0.1131, allocations: 0 / 335.7 MB, free: 13 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001209/0.1143, allocations: 0.7533 MB / 336.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1143, allocations: 8.031 kB / 336.4 MB, free: 12.18 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001073/0.1144, allocations: 60.28 kB / 336.5 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004639/0.1149, allocations: 398.6 kB / 336.9 MB, free: 11.69 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.115, allocations: 62.91 kB / 336.9 MB, free: 11.62 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.1151, allocations: 32.38 kB / 337 MB, free: 11.59 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006942/0.1158, allocations: 465.1 kB / 337.4 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.1158, allocations: 0 / 337.4 MB, free: 11.08 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.15e-05/0.1159, allocations: 23.98 kB / 337.5 MB, free: 11.06 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.199e-05/0.1159, allocations: 8 kB / 337.5 MB, free: 11.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.1164, allocations: 282.5 kB / 337.7 MB, free: 10.77 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.001974/0.1184, allocations: 1.306 MB / 339 MB, free: 9.375 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.1196, allocations: 432.5 kB / 339.5 MB, free: 8.926 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000266/0.1199, allocations: 148.8 kB / 339.6 MB, free: 8.777 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.041e-05/0.1199, allocations: 7.984 kB / 339.6 MB, free: 8.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.1199, allocations: 46.5 kB / 339.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of pre-optimization done (n=32): time 2.485e-06/0.12, allocations: 0 / 339.7 MB, free: 8.715 MB / 286.1 MB Notification: Performance of matching and sorting (n=32): time 0.001214/0.1212, allocations: 0.6141 MB / 340.3 MB, free: 8.051 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002403/0.1214, allocations: 449 kB / 340.7 MB, free: 7.508 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005369/0.122, allocations: 453.9 kB / 341.2 MB, free: 7.055 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.013e-05/0.122, allocations: 33.7 kB / 341.2 MB, free: 7.016 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.1223, allocations: 236.3 kB / 341.4 MB, free: 6.781 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.1224, allocations: 110.4 kB / 341.5 MB, free: 6.672 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.516e-05/0.1225, allocations: 37.7 kB / 341.6 MB, free: 6.629 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.1227, allocations: 354.8 kB / 341.9 MB, free: 6.273 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002387/0.1229, allocations: 112.6 kB / 342 MB, free: 6.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003719/0.1233, allocations: 252.1 kB / 342.3 MB, free: 5.863 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.1238, allocations: 292.8 kB / 342.6 MB, free: 5.566 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.1238, allocations: 0 / 342.6 MB, free: 5.566 MB / 286.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007558/0.1246, allocations: 421 kB / 343 MB, free: 5.137 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5e-05/0.1247, allocations: 41.78 kB / 343 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.1247, allocations: 7.875 kB / 343 MB, free: 5.082 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.1249, allocations: 45.73 kB / 343.1 MB, free: 5.031 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003164/0.1252, allocations: 75.89 kB / 343.1 MB, free: 4.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002348/0.1276, allocations: 2.748 MB / 345.9 MB, free: 1.941 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004085/0.128, allocations: 47.7 kB / 345.9 MB, free: 1.895 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.128, allocations: 12 kB / 345.9 MB, free: 1.883 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (36): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(3,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002399/0.1283, allocations: 169.7 kB / 346.1 MB, free: 1.707 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.598e-05/0.1284, allocations: 47.44 kB / 346.2 MB, free: 1.66 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.831e-05/0.1285, allocations: 56.92 kB / 346.2 MB, free: 1.605 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.1285, allocations: 4 kB / 346.2 MB, free: 1.602 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.1285, allocations: 3.984 kB / 346.2 MB, free: 1.598 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006957/0.1292, allocations: 0.6531 MB / 346.9 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/0.1306, allocations: 0.9199 MB / 347.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.1306, allocations: 0 / 347.8 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003135/0.1309, allocations: 67.95 kB / 347.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.1309, allocations: 4 kB / 347.9 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.131, allocations: 4 kB / 347.9 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.131, allocations: 8 kB / 347.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.131, allocations: 3.938 kB / 347.9 MB, free: 15.77 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.1319, allocations: 0.5269 MB / 348.4 MB, free: 15.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001719/0.1321, allocations: 160.5 kB / 348.6 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.835e-05/0.1321, allocations: 8 kB / 348.6 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003045/0.1325, allocations: 19.98 kB / 348.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.831e-05/0.1325, allocations: 23.91 kB / 348.6 MB, free: 15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1325, allocations: 8 kB / 348.6 MB, free: 14.99 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003471/0.1329, allocations: 323.1 kB / 348.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.1329, allocations: 0 / 348.9 MB, free: 14.68 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000431/0.1333, allocations: 135.9 kB / 349.1 MB, free: 14.55 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001456/0.1335, allocations: 107.2 kB / 349.2 MB, free: 14.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009364/0.1344, allocations: 0.5668 MB / 349.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.1344, allocations: 0 / 349.7 MB, free: 13.82 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002482/0.1347, allocations: 135.8 kB / 349.9 MB, free: 13.69 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000733/0.1354, allocations: 117.9 kB / 350 MB, free: 13.58 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001554/0.137, allocations: 1.104 MB / 351.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.1374, allocations: 0.8198 MB / 351.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002294/0.1376, allocations: 56.36 kB / 352 MB, free: 11.55 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000102/0.1377, allocations: 47.42 kB / 352 MB, free: 11.5 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1377, allocations: 0 / 352 MB, free: 11.5 MB / 302.1 MB Notification: Performance of Templates: time 0.01361/0.1514, allocations: 7.588 MB / 359.6 MB, free: 3.914 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches