Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.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.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") translateModel(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|openTank.H|openTank.m",fileNamePrefix="Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 112.2 kB / 17.28 MB, free: 6.219 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.001058/0.001058, allocations: 189.3 kB / 18.2 MB, free: 5.301 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.459/1.459, allocations: 205.1 MB / 224.1 MB, free: 12.36 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.001149/0.001149, allocations: 52.25 kB / 280.1 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1049, allocations: 46.64 MB / 326.8 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004317/0.1093, allocations: 2.881 MB / 329.7 MB, free: 1.891 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001804/0.1111, allocations: 1.17 MB / 330.8 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002013/0.1113, allocations: 7.938 kB / 330.8 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.1119, allocations: 171.4 kB / 331 MB, free: 0.5352 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004254/0.1123, allocations: 183 kB / 331.2 MB, free: 364 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003755/0.1127, allocations: 123.8 kB / 331.3 MB, free: 240 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005222/0.1132, allocations: 450 kB / 331.7 MB, free: 15.79 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.1134, allocations: 95.48 kB / 331.8 MB, free: 15.7 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002279/0.1137, allocations: 191.3 kB / 332 MB, free: 15.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002457/0.1139, allocations: 207.1 kB / 332.2 MB, free: 15.31 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.114, allocations: 32 kB / 332.3 MB, free: 15.28 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.1141, allocations: 67.98 kB / 332.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.83e-05/0.1142, allocations: 87.67 kB / 332.4 MB, free: 15.13 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.1144, allocations: 191 kB / 332.6 MB, free: 14.94 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005513/0.115, allocations: 486.6 kB / 333.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.115, allocations: 0 / 333.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.115, allocations: 0 / 333.1 MB, free: 14.46 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.747e-06/0.115, allocations: 0 / 333.1 MB, free: 14.46 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: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.001103/0.1161, allocations: 0.7007 MB / 333.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.532e-05/0.1162, allocations: 8.031 kB / 333.8 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.598e-05/0.1163, allocations: 48.47 kB / 333.8 MB, free: 13.66 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004223/0.1167, allocations: 346.6 kB / 334.2 MB, free: 13.28 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.1168, allocations: 16.81 kB / 334.2 MB, free: 13.26 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.1168, allocations: 20.12 kB / 334.2 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005319/0.1174, allocations: 293.5 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1174, allocations: 0 / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.248e-05/0.1174, allocations: 15.94 kB / 334.5 MB, free: 12.9 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.264e-05/0.1175, allocations: 4 kB / 334.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002944/0.1178, allocations: 145.7 kB / 334.6 MB, free: 12.75 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.001325/0.1191, allocations: 0.8359 MB / 335.5 MB, free: 11.85 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000382/0.1195, allocations: 191.1 kB / 335.7 MB, free: 11.65 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001457/0.1196, allocations: 84.77 kB / 335.8 MB, free: 11.57 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.568e-05/0.1197, allocations: 4 kB / 335.8 MB, free: 11.56 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003468/0.12, allocations: 131.3 kB / 335.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.523e-06/0.12, allocations: 0 / 335.9 MB, free: 11.42 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008343/0.1209, allocations: 407.5 kB / 336.3 MB, free: 11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001796/0.1211, allocations: 320.3 kB / 336.6 MB, free: 10.61 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004881/0.1216, allocations: 433.6 kB / 337 MB, free: 10.18 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.153e-05/0.1216, allocations: 33.7 kB / 337.1 MB, free: 10.14 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001612/0.1218, allocations: 196.3 kB / 337.2 MB, free: 9.945 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.626e-05/0.1219, allocations: 78.83 kB / 337.3 MB, free: 9.867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.078e-05/0.1219, allocations: 69.7 kB / 337.4 MB, free: 9.793 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001571/0.1221, allocations: 346.8 kB / 337.7 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001296/0.1222, allocations: 63.97 kB / 337.8 MB, free: 9.383 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002394/0.1225, allocations: 172 kB / 338 MB, free: 9.172 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002929/0.1228, allocations: 175.2 kB / 338.1 MB, free: 8.988 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.1228, allocations: 3.938 kB / 338.1 MB, free: 8.984 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004335/0.1232, allocations: 277.9 kB / 338.4 MB, free: 8.703 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/0.1233, allocations: 4 kB / 338.4 MB, free: 8.699 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1233, allocations: 4 kB / 338.4 MB, free: 8.695 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001414/0.1234, allocations: 32.84 kB / 338.4 MB, free: 8.66 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.1237, allocations: 51.91 kB / 338.5 MB, free: 8.609 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001536/0.1252, allocations: 1.57 MB / 340.1 MB, free: 6.891 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002136/0.1254, allocations: 27.78 kB / 340.1 MB, free: 6.863 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.1255, allocations: 12 kB / 340.1 MB, free: 6.852 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 26 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0002105/0.1257, allocations: 165.8 kB / 340.3 MB, free: 6.68 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.838e-05/0.1257, allocations: 39.53 kB / 340.3 MB, free: 6.641 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.777e-05/0.1258, allocations: 43.59 kB / 340.3 MB, free: 6.594 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.592e-06/0.1258, allocations: 7.922 kB / 340.4 MB, free: 6.586 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1259, allocations: 8 kB / 340.4 MB, free: 6.578 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005361/0.1264, allocations: 0.5791 MB / 340.9 MB, free: 5.895 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009101/0.1273, allocations: 0.6999 MB / 341.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1273, allocations: 0 / 341.6 MB, free: 5.133 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002004/0.1275, allocations: 43.97 kB / 341.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.1276, allocations: 0 / 341.7 MB, free: 5.09 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.1276, allocations: 11.94 kB / 341.7 MB, free: 5.078 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1276, allocations: 8.031 kB / 341.7 MB, free: 5.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1276, allocations: 3.938 kB / 341.7 MB, free: 5.066 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/0.1282, allocations: 394.8 kB / 342.1 MB, free: 4.664 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001444/0.1283, allocations: 140.6 kB / 342.2 MB, free: 4.508 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.894e-05/0.1284, allocations: 8 kB / 342.2 MB, free: 4.5 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.1286, allocations: 11.98 kB / 342.3 MB, free: 4.488 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/0.1286, allocations: 15.98 kB / 342.3 MB, free: 4.473 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.279e-05/0.1287, allocations: 8.062 kB / 342.3 MB, free: 4.465 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003223/0.129, allocations: 311.1 kB / 342.6 MB, free: 4.168 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.129, allocations: 4 kB / 342.6 MB, free: 4.164 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004075/0.1294, allocations: 95.84 kB / 342.7 MB, free: 4.07 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (openTank.m,openTank.H) * Number of discrete variables: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009395/0.1304, allocations: 418.4 kB / 343.1 MB, free: 3.668 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.131, allocations: 319.1 kB / 343.4 MB, free: 3.344 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.1311, allocations: 0 / 343.4 MB, free: 3.344 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001655/0.1312, allocations: 91.62 kB / 343.5 MB, free: 3.254 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005586/0.1318, allocations: 113.4 kB / 343.6 MB, free: 3.141 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.1333, allocations: 0.897 MB / 344.5 MB, free: 2.215 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.1336, allocations: 0.7998 MB / 345.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.1338, allocations: 42.95 kB / 345.3 MB, free: 1.348 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.942e-05/0.1339, allocations: 35.42 kB / 345.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of SimCode: time 4.01e-07/0.1339, allocations: 0 / 345.4 MB, free: 1.312 MB / 286.1 MB Notification: Performance of Templates: time 0.01171/0.1456, allocations: 6.052 MB / 351.4 MB, free: 11.25 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.makefile (rm -f Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; mkfifo Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe >> ../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.sim & ./Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Thermal/FluidHeatFlow/Examples/TestOpenTank/TestOpenTank.csv","../files/Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches