Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.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.Test21,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.Test21") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test21,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.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00154/0.00154, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001814/0.001814, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.399/1.399, allocations: 227.4 MB / 246.8 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2221/0.2221, allocations: 46.11 MB / 344.1 MB, free: 11.59 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001479/0.001479, allocations: 80.45 kB / 417.6 MB, free: 19.75 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1192, allocations: 62.43 MB / 480 MB, free: 5.305 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test21): time 0.0033/0.1226, allocations: 1.6 MB / 481.6 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.1244, allocations: 1.163 MB / 482.8 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.1245, allocations: 4 kB / 482.8 MB, free: 2.516 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002518/0.1247, allocations: 27.83 kB / 482.8 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003476/0.1251, allocations: 87.61 kB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003266/0.1255, allocations: 107.7 kB / 483 MB, free: 2.297 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001461/0.1256, allocations: 63.91 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.1258, allocations: 15.98 kB / 483.1 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.115e-05/0.1258, allocations: 27.81 kB / 483.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001693/0.126, allocations: 35.83 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.133e-05/0.126, allocations: 4 kB / 483.1 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002162/0.1263, allocations: 99.88 kB / 483.2 MB, free: 2.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.1263, allocations: 11.98 kB / 483.3 MB, free: 2.043 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.21e-05/0.1264, allocations: 27.8 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002649/0.1266, allocations: 135.7 kB / 483.4 MB, free: 1.883 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.1267, allocations: 4 kB / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1267, allocations: 0 / 483.4 MB, free: 1.879 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1267, allocations: 0 / 483.4 MB, free: 1.879 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.000498/0.1272, allocations: 395.4 kB / 483.8 MB, free: 1.445 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/0.1272, allocations: 8.031 kB / 483.8 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.695e-05/0.1273, allocations: 4.938 kB / 483.8 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.1275, allocations: 204 kB / 484 MB, free: 1.195 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.1275, allocations: 4.375 kB / 484 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.901e-05/0.1275, allocations: 4.375 kB / 484 MB, free: 1.188 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.1277, allocations: 67.52 kB / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.1277, allocations: 0 / 484.1 MB, free: 1.109 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.1277, allocations: 4 kB / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.1277, allocations: 0 / 484.1 MB, free: 1.105 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001003/0.1278, allocations: 23.97 kB / 484.1 MB, free: 1.082 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.1283, allocations: 284.8 kB / 484.4 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001996/0.1285, allocations: 46.55 kB / 484.4 MB, free: 0.6992 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.428e-05/0.1285, allocations: 16.95 kB / 484.5 MB, free: 0.6797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.22e-05/0.1286, allocations: 3.984 kB / 484.5 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.1286, allocations: 30.56 kB / 484.5 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1286, allocations: 4 kB / 484.5 MB, free: 0.6328 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.000586/0.1292, allocations: 161.2 kB / 484.6 MB, free: 480 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.1292, allocations: 81.11 kB / 484.7 MB, free: 380 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.1294, allocations: 144.3 kB / 484.9 MB, free: 228 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.1294, allocations: 29.64 kB / 484.9 MB, free: 192 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.94e-05/0.1295, allocations: 104.1 kB / 485 MB, free: 84 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1295, allocations: 15.72 kB / 485 MB, free: 68 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.951e-05/0.1296, allocations: 17.72 kB / 485 MB, free: 44 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000104/0.1297, allocations: 326.7 kB / 485.4 MB, free: 15.71 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.744e-05/0.1298, allocations: 19.98 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.262e-05/0.1298, allocations: 41.69 kB / 485.4 MB, free: 15.65 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001477/0.13, allocations: 52.86 kB / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.13, allocations: 0 / 485.5 MB, free: 15.59 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002138/0.1302, allocations: 77.67 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1303, allocations: 4 kB / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.1303, allocations: 0 / 485.5 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.1303, allocations: 3.984 kB / 485.5 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.326e-05/0.1304, allocations: 19.94 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1304, allocations: 0 / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.228e-05/0.1304, allocations: 11.98 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.1305, allocations: 3.938 kB / 485.6 MB, free: 15.47 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 (5): * Single equations (assignments): 5 * 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 8.471e-05/0.1305, allocations: 113.8 kB / 485.7 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.839e-05/0.1306, allocations: 7.906 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002601/0.1309, allocations: 97.95 kB / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1309, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.1309, allocations: 0 / 485.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1309, allocations: 4 kB / 485.8 MB, free: 15.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004403/0.1313, allocations: 362.7 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.1314, allocations: 4 kB / 486.2 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.28e-05/0.1314, allocations: 19.98 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1314, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-06/0.1314, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1315, allocations: 3.938 kB / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1315, allocations: 0 / 486.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002525/0.1317, allocations: 187.4 kB / 486.4 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.1318, allocations: 81.11 kB / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.1318, allocations: 0 / 486.4 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.998e-05/0.1319, allocations: 15.92 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.1319, allocations: 0 / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-06/0.1319, allocations: 7.938 kB / 486.5 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.1321, allocations: 121.4 kB / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1321, allocations: 0 / 486.6 MB, free: 14.36 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000301/0.1324, allocations: 36 kB / 486.6 MB, free: 14.32 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 (5): * Single equations (assignments): 5 * 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.001114/0.1335, allocations: 497.3 kB / 487.1 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002384/0.1337, allocations: 63.83 kB / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.1338, allocations: 0 / 487.2 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.435e-05/0.1338, allocations: 23.98 kB / 487.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003729/0.1342, allocations: 22.98 kB / 487.2 MB, free: 13.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004749/0.1347, allocations: 173.4 kB / 487.4 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000326/0.1351, allocations: 0.6924 MB / 488.1 MB, free: 12.98 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.412e-05/0.1351, allocations: 24.22 kB / 488.1 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.791e-05/0.1352, allocations: 19.36 kB / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1352, allocations: 0 / 488.1 MB, free: 12.94 MB / 366.1 MB Notification: Performance of Templates: time 0.004858/0.1401, allocations: 1.751 MB / 489.9 MB, free: 11.19 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches