Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001165/0.001165, allocations: 115.9 kB / 18.41 MB, free: 4.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001114/0.001115, allocations: 203.5 kB / 19.36 MB, free: 3.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.291/1.291, allocations: 227.4 MB / 247.5 MB, free: 10.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2006/0.2006, allocations: 46.11 MB / 344.9 MB, free: 11.49 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002314/0.002314, allocations: 80.44 kB / 419 MB, free: 18.99 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1242, allocations: 62.43 MB / 481.5 MB, free: 4.516 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test6): time 0.003302/0.1275, allocations: 1.727 MB / 483.2 MB, free: 2.777 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001674/0.1292, allocations: 1.025 MB / 484.2 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1294, allocations: 3.938 kB / 484.2 MB, free: 1.742 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003397/0.1297, allocations: 51.75 kB / 484.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003518/0.1301, allocations: 103.5 kB / 484.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.1304, allocations: 79.66 kB / 484.5 MB, free: 1.512 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001739/0.1306, allocations: 99.75 kB / 484.6 MB, free: 1.414 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1307, allocations: 8 kB / 484.6 MB, free: 1.406 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.714e-05/0.1308, allocations: 47.77 kB / 484.6 MB, free: 1.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.324e-05/0.1309, allocations: 31.8 kB / 484.6 MB, free: 1.328 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.1309, allocations: 4 kB / 484.6 MB, free: 1.324 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001057/0.131, allocations: 47.97 kB / 484.7 MB, free: 1.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.754e-05/0.1311, allocations: 31.86 kB / 484.7 MB, free: 1.246 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.823e-05/0.1311, allocations: 47.61 kB / 484.8 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.1314, allocations: 135.5 kB / 484.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.1314, allocations: 4 kB / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1314, allocations: 0 / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.37e-06/0.1314, allocations: 0 / 484.9 MB, free: 1.062 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005584/0.132, allocations: 446.6 kB / 485.3 MB, free: 0.5781 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.132, allocations: 12.03 kB / 485.4 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.1321, allocations: 16.73 kB / 485.4 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000296/0.1324, allocations: 219.9 kB / 485.6 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1324, allocations: 8.375 kB / 485.6 MB, free: 296 kB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.318e-05/0.1324, allocations: 4.125 kB / 485.6 MB, free: 292 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001395/0.1326, allocations: 53.67 kB / 485.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.1326, allocations: 0 / 485.6 MB, free: 232 kB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1326, allocations: 4 kB / 485.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1326, allocations: 0 / 485.7 MB, free: 228 kB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.016e-05/0.1327, allocations: 15.98 kB / 485.7 MB, free: 212 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003866/0.1331, allocations: 316.7 kB / 486 MB, free: 15.85 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000158/0.1332, allocations: 58.67 kB / 486 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.923e-05/0.1333, allocations: 20.84 kB / 486.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.1334, allocations: 4 kB / 486.1 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001327/0.1335, allocations: 67.39 kB / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.403e-06/0.1335, allocations: 0 / 486.1 MB, free: 15.68 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005485/0.1341, allocations: 185 kB / 486.3 MB, free: 15.49 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.1341, allocations: 51.41 kB / 486.4 MB, free: 15.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000266/0.1344, allocations: 288.2 kB / 486.6 MB, free: 15.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.1344, allocations: 29.64 kB / 486.7 MB, free: 15.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.1345, allocations: 116.1 kB / 486.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.929e-05/0.1345, allocations: 27.59 kB / 486.8 MB, free: 14.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.048e-05/0.1346, allocations: 29.64 kB / 486.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1347, allocations: 334.8 kB / 487.2 MB, free: 14.58 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.816e-05/0.1348, allocations: 19.98 kB / 487.2 MB, free: 14.56 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.261e-05/0.1349, allocations: 37.7 kB / 487.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.135, allocations: 57.69 kB / 487.3 MB, free: 14.46 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.135, allocations: 4 kB / 487.3 MB, free: 14.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000191/0.1352, allocations: 105.4 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.1352, allocations: 8 kB / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.1352, allocations: 160 / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.1352, allocations: 0 / 487.4 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.17e-05/0.1353, allocations: 19.92 kB / 487.4 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/0.1353, allocations: 7.984 kB / 487.4 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.656e-05/0.1354, allocations: 3.938 kB / 487.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.1354, allocations: 4 kB / 487.4 MB, free: 14.3 MB / 366.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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 prepare postOptimizeDAE: time 0.0001061/0.1355, allocations: 141.9 kB / 487.6 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.532e-05/0.1355, allocations: 15.81 kB / 487.6 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.423e-05/0.1356, allocations: 21.39 kB / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.1356, allocations: 0 / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.1356, allocations: 0 / 487.6 MB, free: 14.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.1356, allocations: 3.938 kB / 487.6 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004309/0.1361, allocations: 407.3 kB / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1361, allocations: 0 / 488 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.487e-05/0.1361, allocations: 16.39 kB / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1361, allocations: 0 / 488 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.1362, allocations: 7.938 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1362, allocations: 4 kB / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1362, allocations: 0 / 488 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002251/0.1364, allocations: 208.1 kB / 488.2 MB, free: 13.41 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.92e-05/0.1365, allocations: 88.92 kB / 488.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.494e-05/0.1365, allocations: 11.92 kB / 488.3 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1366, allocations: 8 kB / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.368e-05/0.1366, allocations: 0 / 488.3 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.971e-05/0.1366, allocations: 7.984 kB / 488.3 MB, free: 13.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001756/0.1368, allocations: 216.5 kB / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1368, allocations: 0 / 488.6 MB, free: 13.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002676/0.1371, allocations: 32.17 kB / 488.6 MB, free: 13.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001099/0.1382, allocations: 448 kB / 489 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001907/0.1384, allocations: 67.89 kB / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.1384, allocations: 0 / 489.1 MB, free: 12.68 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.546e-05/0.1385, allocations: 32.06 kB / 489.1 MB, free: 12.65 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003433/0.1389, allocations: 38.14 kB / 489.2 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005349/0.1394, allocations: 299.9 kB / 489.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002757/0.1397, allocations: 0.7236 MB / 490.2 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.077e-05/0.1398, allocations: 16.88 kB / 490.2 MB, free: 11.53 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.342e-05/0.1398, allocations: 19.42 kB / 490.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1398, allocations: 0 / 490.2 MB, free: 11.51 MB / 366.1 MB Notification: Performance of Templates: time 0.004533/0.1443, allocations: 1.763 MB / 492 MB, free: 9.762 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test6/Test6.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches