Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 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.SimpleCooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|heatCapacitor.T|pipe.T",fileNamePrefix="Modelica_4.0.0_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_4.0.0_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.001168/0.001168, allocations: 101.9 kB / 17.59 MB, free: 5.418 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.001183/0.001183, allocations: 191.3 kB / 18.52 MB, free: 4.508 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.391/1.391, allocations: 222.9 MB / 242.2 MB, free: 15.24 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001206, allocations: 51.7 kB / 301.3 MB, free: 5.891 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1083, allocations: 49.43 MB / 350.7 MB, free: 4.441 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling): time 0.006442/0.1148, allocations: 3.489 MB / 354.2 MB, free: 0.9297 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1172, allocations: 0.9462 MB / 355.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000526/0.1177, allocations: 8 kB / 355.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005422/0.1183, allocations: 103.1 kB / 355.3 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008287/0.1192, allocations: 194.4 kB / 355.5 MB, free: 15.68 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.1197, allocations: 119.8 kB / 355.6 MB, free: 15.56 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001133/0.1208, allocations: 0.6365 MB / 356.2 MB, free: 14.92 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000472/0.1213, allocations: 195.1 kB / 356.4 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005106/0.1218, allocations: 235.2 kB / 356.6 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007091/0.1226, allocations: 274.8 kB / 356.9 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001945/0.1228, allocations: 52 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002626/0.123, allocations: 56 kB / 357 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000196/0.1232, allocations: 123.6 kB / 357.1 MB, free: 14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005444/0.1238, allocations: 290.6 kB / 357.4 MB, free: 13.71 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008483/0.1247, allocations: 0.6346 MB / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1247, allocations: 0 / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1247, allocations: 0 / 358 MB, free: 13.08 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.456e-05/0.1247, allocations: 0 / 358 MB, free: 13.08 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001808/0.1265, allocations: 0.8453 MB / 358.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/0.1266, allocations: 8.031 kB / 358.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001643/0.1268, allocations: 60.28 kB / 359 MB, free: 12.11 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.1274, allocations: 394.6 kB / 359.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001077/0.1276, allocations: 50.92 kB / 359.4 MB, free: 11.63 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.945e-05/0.1276, allocations: 40.38 kB / 359.4 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007839/0.1284, allocations: 461.1 kB / 359.9 MB, free: 11.09 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.733e-05/0.1285, allocations: 3.938 kB / 359.9 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.347e-05/0.1285, allocations: 19.94 kB / 359.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.1285, allocations: 8 kB / 359.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006154/0.1291, allocations: 278.5 kB / 360.2 MB, free: 10.78 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.002238/0.1314, allocations: 1.306 MB / 361.5 MB, free: 9.387 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001176/0.1326, allocations: 432.5 kB / 361.9 MB, free: 8.934 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002768/0.1329, allocations: 145.3 kB / 362.1 MB, free: 8.789 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.623e-05/0.1329, allocations: 11.97 kB / 362.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.133, allocations: 38.56 kB / 362.1 MB, free: 8.73 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.526e-06/0.133, allocations: 4 kB / 362.1 MB, free: 8.727 MB / 302.1 MB Notification: Performance of matching and sorting (n=32): time 0.001215/0.1342, allocations: 0.5985 MB / 362.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002173/0.1344, allocations: 444.9 kB / 363.1 MB, free: 7.539 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000564/0.135, allocations: 453.9 kB / 363.6 MB, free: 7.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/0.1351, allocations: 37.7 kB / 363.6 MB, free: 7.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.1353, allocations: 228.5 kB / 363.8 MB, free: 6.809 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.1354, allocations: 118.3 kB / 364 MB, free: 6.691 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/0.1355, allocations: 66.03 kB / 364 MB, free: 6.621 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1357, allocations: 358.8 kB / 364.4 MB, free: 6.262 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002518/0.1359, allocations: 104.6 kB / 364.5 MB, free: 6.16 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003567/0.1363, allocations: 252.1 kB / 364.7 MB, free: 5.863 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004996/0.1368, allocations: 284.8 kB / 365 MB, free: 5.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.1368, allocations: 0 / 365 MB, free: 5.574 MB / 302.1 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0007934/0.1376, allocations: 416.3 kB / 365.4 MB, free: 5.148 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.093e-05/0.1377, allocations: 33.7 kB / 365.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.253e-06/0.1377, allocations: 0 / 365.4 MB, free: 5.109 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/0.1379, allocations: 53.72 kB / 365.5 MB, free: 5.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.1382, allocations: 63.91 kB / 365.6 MB, free: 4.988 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002654/0.1409, allocations: 2.976 MB / 368.5 MB, free: 1.727 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004173/0.1414, allocations: 47.62 kB / 368.6 MB, free: 1.68 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.255e-05/0.1414, allocations: 8 kB / 368.6 MB, free: 1.672 MB / 302.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.0002232/0.1416, allocations: 181.1 kB / 368.8 MB, free: 1.488 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1417, allocations: 47.44 kB / 368.8 MB, free: 1.441 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.628e-05/0.1419, allocations: 52.69 kB / 368.9 MB, free: 1.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.1419, allocations: 4 kB / 368.9 MB, free: 1.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1419, allocations: 3.938 kB / 368.9 MB, free: 1.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006732/0.1426, allocations: 0.6453 MB / 369.5 MB, free: 0.6328 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1848/0.3273, allocations: 0.9056 MB / 370.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.81e-06/0.3274, allocations: 3.75 kB / 370.4 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.3278, allocations: 69.67 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.504e-06/0.3278, allocations: 0.5625 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-05/0.3278, allocations: 14 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.3278, allocations: 1.312 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3279, allocations: 2.219 kB / 370.5 MB, free: 25.55 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009499/0.3288, allocations: 0.5096 MB / 371 MB, free: 25.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.3291, allocations: 164.1 kB / 371.2 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.319e-05/0.3292, allocations: 11.25 kB / 371.2 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003258/0.3295, allocations: 15.14 kB / 371.2 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.385e-05/0.3296, allocations: 22.33 kB / 371.2 MB, free: 25.33 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.35e-05/0.3296, allocations: 11.69 kB / 371.2 MB, free: 25.33 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004046/0.33, allocations: 322.2 kB / 371.5 MB, free: 25.24 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.33, allocations: 1.375 kB / 371.5 MB, free: 25.24 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005152/0.3305, allocations: 132.4 kB / 371.7 MB, free: 25.24 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.0001742/0.3307, allocations: 108.7 kB / 371.8 MB, free: 25.15 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001089/0.3318, allocations: 0.5671 MB / 372.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/0.3318, allocations: 2.5 kB / 372.4 MB, free: 24.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002536/0.3321, allocations: 136.7 kB / 372.5 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006736/0.3328, allocations: 133.5 kB / 372.6 MB, free: 24.86 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001777/0.3346, allocations: 0.9118 MB / 373.5 MB, free: 24.44 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000344/0.3349, allocations: 0.8187 MB / 374.3 MB, free: 23.72 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001339/0.3351, allocations: 42.64 kB / 374.4 MB, free: 23.71 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3351, allocations: 3.938 kB / 374.4 MB, free: 23.71 MB / 302.1 MB Notification: Performance of Templates: time 0.01431/0.3494, allocations: 8.217 MB / 382.6 MB, free: 21.56 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.makefile (rm -f Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe >> ../files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.sim & ./Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Thermal/FluidHeatFlow/Examples/SimpleCooling/SimpleCooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Thermal.FluidHeatFlow.Examples.SimpleCooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches