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.001039/0.001039, allocations: 109 kB / 17.15 MB, free: 6.328 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.001024/0.001024, allocations: 198 kB / 18.07 MB, free: 5.434 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.504/1.504, allocations: 205.1 MB / 223.9 MB, free: 12.49 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.001365/0.001365, allocations: 51.92 kB / 280 MB, free: 3.598 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1134, allocations: 46.62 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Thermal.FluidHeatFlow.Examples.TestOpenTank): time 0.004563/0.118, allocations: 2.893 MB / 329.5 MB, free: 1.992 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002247/0.1203, allocations: 1.166 MB / 330.6 MB, free: 0.8164 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002374/0.1206, allocations: 7.938 kB / 330.7 MB, free: 0.8086 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006631/0.1213, allocations: 171.4 kB / 330.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004683/0.1218, allocations: 183 kB / 331 MB, free: 472 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004014/0.1222, allocations: 123.8 kB / 331.1 MB, free: 348 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005531/0.1228, allocations: 437.9 kB / 331.5 MB, free: 15.91 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.123, allocations: 99.72 kB / 331.6 MB, free: 15.82 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002217/0.1232, allocations: 167.3 kB / 331.8 MB, free: 15.65 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002443/0.1235, allocations: 199.2 kB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.628e-05/0.1236, allocations: 24 kB / 332 MB, free: 15.43 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001497/0.1237, allocations: 59.92 kB / 332.1 MB, free: 15.38 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001031/0.1238, allocations: 75.67 kB / 332.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001931/0.124, allocations: 187 kB / 332.3 MB, free: 15.12 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005418/0.1246, allocations: 474.6 kB / 332.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.1246, allocations: 0 / 332.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1246, allocations: 4 kB / 332.8 MB, free: 14.65 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.1246, allocations: 0 / 332.8 MB, free: 14.65 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.1257, allocations: 0.6929 MB / 333.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.1258, allocations: 12.03 kB / 333.5 MB, free: 13.89 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.1259, allocations: 40.47 kB / 333.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004661/0.1264, allocations: 342.6 kB / 333.9 MB, free: 13.48 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.701e-05/0.1264, allocations: 20.8 kB / 333.9 MB, free: 13.46 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.1264, allocations: 24.12 kB / 333.9 MB, free: 13.43 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004798/0.1269, allocations: 289.5 kB / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.583e-05/0.127, allocations: 0 / 334.2 MB, free: 13.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.987e-05/0.127, allocations: 8 kB / 334.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.127, allocations: 4 kB / 334.2 MB, free: 13.1 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002806/0.1273, allocations: 153.6 kB / 334.4 MB, free: 12.95 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.001387/0.1287, allocations: 0.8244 MB / 335.2 MB, free: 12.05 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004434/0.1291, allocations: 195.1 kB / 335.4 MB, free: 11.86 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000144/0.1293, allocations: 72.84 kB / 335.5 MB, free: 11.78 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.76e-05/0.1293, allocations: 11.97 kB / 335.5 MB, free: 11.77 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.1296, allocations: 139.2 kB / 335.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of pre-optimization done (n=23): time 1.412e-06/0.1297, allocations: 3.938 kB / 335.6 MB, free: 11.62 MB / 286.1 MB Notification: Performance of matching and sorting (n=23): time 0.0008918/0.1306, allocations: 403 kB / 336 MB, free: 11.2 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001598/0.1307, allocations: 320.2 kB / 336.3 MB, free: 10.81 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004448/0.1312, allocations: 437.5 kB / 336.7 MB, free: 10.38 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.376e-05/0.1312, allocations: 33.7 kB / 336.8 MB, free: 10.34 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000153/0.1314, allocations: 196.3 kB / 337 MB, free: 10.14 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.383e-05/0.1315, allocations: 82.84 kB / 337.1 MB, free: 10.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.083e-05/0.1316, allocations: 57.7 kB / 337.1 MB, free: 9.996 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.1317, allocations: 354.8 kB / 337.5 MB, free: 9.641 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.1319, allocations: 59.97 kB / 337.5 MB, free: 9.582 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002739/0.1322, allocations: 168 kB / 337.7 MB, free: 9.375 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.1325, allocations: 179.2 kB / 337.9 MB, free: 9.188 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.1325, allocations: 3.938 kB / 337.9 MB, free: 9.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000514/0.133, allocations: 269.8 kB / 338.1 MB, free: 8.91 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/0.1331, allocations: 8.094 kB / 338.1 MB, free: 8.902 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.776e-06/0.1331, allocations: 4 kB / 338.1 MB, free: 8.898 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.1333, allocations: 32.84 kB / 338.2 MB, free: 8.863 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002158/0.1335, allocations: 51.91 kB / 338.2 MB, free: 8.812 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001659/0.1352, allocations: 1.456 MB / 339.7 MB, free: 7.215 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002373/0.1354, allocations: 31.62 kB / 339.7 MB, free: 7.184 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.078e-05/0.1355, allocations: 12 kB / 339.7 MB, free: 7.172 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.0002295/0.1357, allocations: 161.9 kB / 339.9 MB, free: 7.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.423e-05/0.1358, allocations: 39.53 kB / 339.9 MB, free: 6.965 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.579e-05/0.1359, allocations: 43.58 kB / 340 MB, free: 6.918 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.1359, allocations: 8 kB / 340 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.1359, allocations: 0 / 340 MB, free: 6.91 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006606/0.1366, allocations: 0.5836 MB / 340.5 MB, free: 6.223 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000982/0.1375, allocations: 0.7039 MB / 341.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.1376, allocations: 0 / 341.2 MB, free: 5.457 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002162/0.1378, allocations: 47.91 kB / 341.3 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.1378, allocations: 0 / 341.3 MB, free: 5.41 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.1378, allocations: 12 kB / 341.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1378, allocations: 0 / 341.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1378, allocations: 0 / 341.3 MB, free: 5.398 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005627/0.1384, allocations: 398.8 kB / 341.7 MB, free: 4.992 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001393/0.1386, allocations: 148.5 kB / 341.8 MB, free: 4.828 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.859e-05/0.1386, allocations: 4 kB / 341.8 MB, free: 4.824 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002001/0.1388, allocations: 15.98 kB / 341.9 MB, free: 4.809 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.1389, allocations: 16.05 kB / 341.9 MB, free: 4.793 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.252e-05/0.1389, allocations: 4 kB / 341.9 MB, free: 4.789 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0003382/0.1393, allocations: 315.1 kB / 342.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1393, allocations: 0 / 342.2 MB, free: 4.488 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003888/0.1397, allocations: 99.83 kB / 342.3 MB, free: 4.391 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.001102/0.1408, allocations: 410.4 kB / 342.7 MB, free: 3.996 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0006396/0.1414, allocations: 306.6 kB / 343 MB, free: 3.684 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.1414, allocations: 0 / 343 MB, free: 3.684 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.1416, allocations: 79.78 kB / 343.1 MB, free: 3.605 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005903/0.1422, allocations: 110.3 kB / 343.2 MB, free: 3.496 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.1438, allocations: 0.9069 MB / 344.1 MB, free: 2.562 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.1443, allocations: 0.8002 MB / 344.9 MB, free: 1.738 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001976/0.1445, allocations: 42.95 kB / 344.9 MB, free: 1.695 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.52e-05/0.1445, allocations: 31.44 kB / 345 MB, free: 1.664 MB / 286.1 MB Notification: Performance of SimCode: time 8.21e-07/0.1446, allocations: 0 / 345 MB, free: 1.664 MB / 286.1 MB Notification: Performance of Templates: time 0.0137/0.1583, allocations: 5.77 MB / 350.7 MB, free: 11.88 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