Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.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.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001356/0.001356, allocations: 96.11 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001416/0.001416, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.458/1.458, allocations: 227.7 MB / 246.8 MB, free: 11.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2152/0.2152, allocations: 46.19 MB / 345.2 MB, free: 11.4 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003054/0.0003054, allocations: 8 kB / 419.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1205, allocations: 63.56 MB / 483.1 MB, free: 4.152 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test25_usertab): time 0.002302/0.1229, allocations: 1.318 MB / 484.4 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001137/0.124, allocations: 0.5379 MB / 484.9 MB, free: 2.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.331e-05/0.1241, allocations: 7.938 kB / 485 MB, free: 2.273 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002444/0.1244, allocations: 27.91 kB / 485 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1247, allocations: 59.78 kB / 485 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003851/0.1251, allocations: 95.81 kB / 485.1 MB, free: 2.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.1253, allocations: 63.88 kB / 485.2 MB, free: 2.031 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1254, allocations: 19.94 kB / 485.2 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.416e-05/0.1255, allocations: 23.86 kB / 485.2 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.296e-05/0.1256, allocations: 31.84 kB / 485.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.1256, allocations: 0 / 485.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1258, allocations: 91.88 kB / 485.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.1259, allocations: 15.92 kB / 485.4 MB, free: 1.852 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.428e-05/0.126, allocations: 45.56 kB / 485.4 MB, free: 1.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003397/0.1263, allocations: 139.6 kB / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.1263, allocations: 0 / 485.6 MB, free: 1.664 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.059e-06/0.1263, allocations: 4 kB / 485.6 MB, free: 1.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.134e-06/0.1263, allocations: 4 kB / 485.6 MB, free: 1.656 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006682/0.127, allocations: 395.5 kB / 485.9 MB, free: 1.223 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.027e-05/0.1271, allocations: 12.03 kB / 486 MB, free: 1.211 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.976e-05/0.1271, allocations: 8.844 kB / 486 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.1274, allocations: 194.6 kB / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1274, allocations: 384 / 486.2 MB, free: 0.9766 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1274, allocations: 8.359 kB / 486.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.1276, allocations: 67.53 kB / 486.2 MB, free: 0.8906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.515e-05/0.1276, allocations: 4 kB / 486.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.206e-05/0.1277, allocations: 3.938 kB / 486.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1277, allocations: 0 / 486.2 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001123/0.1278, allocations: 31.91 kB / 486.3 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005023/0.1283, allocations: 304.8 kB / 486.6 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1284, allocations: 50.55 kB / 486.6 MB, free: 456 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.342e-05/0.1285, allocations: 24.94 kB / 486.6 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.134e-05/0.1286, allocations: 4 kB / 486.6 MB, free: 424 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.188e-05/0.1286, allocations: 38.5 kB / 486.7 MB, free: 376 kB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.192e-06/0.1286, allocations: 3.938 kB / 486.7 MB, free: 372 kB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007321/0.1293, allocations: 205.2 kB / 486.9 MB, free: 160 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.77e-05/0.1294, allocations: 81.11 kB / 487 MB, free: 60 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.1296, allocations: 141.8 kB / 487.1 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.1296, allocations: 29.7 kB / 487.1 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.001e-05/0.1297, allocations: 92.12 kB / 487.2 MB, free: 15.78 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.1297, allocations: 23.66 kB / 487.2 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-05/0.1298, allocations: 17.7 kB / 487.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001081/0.1299, allocations: 326.8 kB / 487.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.301e-05/0.13, allocations: 31.97 kB / 487.6 MB, free: 15.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001025/0.1301, allocations: 49.69 kB / 487.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001951/0.1303, allocations: 85.05 kB / 487.7 MB, free: 15.23 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1303, allocations: 4 kB / 487.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002468/0.1306, allocations: 113.5 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.1306, allocations: 6.031 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1306, allocations: 4 kB / 487.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1306, allocations: 4 kB / 487.9 MB, free: 15.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001221/0.1308, allocations: 15.98 kB / 487.9 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.1308, allocations: 4 kB / 487.9 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.072e-05/0.1309, allocations: 8 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1309, allocations: 3.938 kB / 487.9 MB, free: 15.07 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (8): * Single equations (assignments): 8 * 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.0001004/0.131, allocations: 125.8 kB / 488 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.542e-05/0.131, allocations: 7.906 kB / 488 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002922/0.1313, allocations: 118.3 kB / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.1314, allocations: 0 / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.1314, allocations: 0 / 488.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.1314, allocations: 4 kB / 488.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005616/0.1319, allocations: 414.3 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.132, allocations: 3.938 kB / 488.6 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.282e-05/0.132, allocations: 15.98 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1321, allocations: 4 kB / 488.6 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.1321, allocations: 7.938 kB / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1321, allocations: 0 / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.1321, allocations: 0 / 488.6 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003289/0.1324, allocations: 207.3 kB / 488.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.315e-05/0.1325, allocations: 93 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.1325, allocations: 7.938 kB / 488.9 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.279e-05/0.1326, allocations: 8 kB / 488.9 MB, free: 13.97 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.042e-05/0.1327, allocations: 3.984 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.1327, allocations: 8 kB / 488.9 MB, free: 13.96 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000117/0.1328, allocations: 115.2 kB / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1328, allocations: 0 / 489 MB, free: 13.84 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003204/0.1331, allocations: 39.92 kB / 489.1 MB, free: 13.8 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (7): * Single equations (assignments): 7 * 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.001288/0.1344, allocations: 495.5 kB / 489.5 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002795/0.1347, allocations: 83.88 kB / 489.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1347, allocations: 0 / 489.6 MB, free: 13.4 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001176/0.1349, allocations: 39.97 kB / 489.7 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003488/0.1352, allocations: 15.98 kB / 489.7 MB, free: 13.34 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005243/0.1358, allocations: 221.4 kB / 489.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.136, allocations: 0.6926 MB / 490.6 MB, free: 12.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.1361, allocations: 24.94 kB / 490.6 MB, free: 12.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.686e-05/0.1362, allocations: 23.36 kB / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1362, allocations: 0 / 490.6 MB, free: 12.33 MB / 366.1 MB Notification: Performance of Templates: time 0.005157/0.1414, allocations: 1.897 MB / 492.5 MB, free: 10.44 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches