Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001414/0.001414, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001597/0.001597, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.339/1.339, allocations: 227.3 MB / 246.9 MB, free: 10.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2098/0.2098, allocations: 46.1 MB / 344.3 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 76.97 kB / 417.5 MB, free: 20.2 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1147/0.1161, allocations: 62.44 MB / 479.9 MB, free: 5.727 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test30): time 0.003434/0.1196, allocations: 1.661 MB / 481.6 MB, free: 4.051 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1207, allocations: 0.5496 MB / 482.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.374e-05/0.1207, allocations: 0 / 482.1 MB, free: 3.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.121, allocations: 83.7 kB / 482.2 MB, free: 3.414 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002574/0.1213, allocations: 83.78 kB / 482.3 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.1216, allocations: 99.56 kB / 482.4 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1218, allocations: 83.75 kB / 482.5 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.1219, allocations: 20 kB / 482.5 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.42e-05/0.122, allocations: 27.91 kB / 482.5 MB, free: 3.109 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.1221, allocations: 55.81 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.689e-05/0.1221, allocations: 4 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-05/0.1222, allocations: 43.98 kB / 482.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.591e-05/0.1223, allocations: 27.84 kB / 482.7 MB, free: 2.98 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.949e-05/0.1223, allocations: 23.75 kB / 482.7 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.1225, allocations: 91.83 kB / 482.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1225, allocations: 0 / 482.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1225, allocations: 0 / 482.8 MB, free: 2.867 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.048e-06/0.1225, allocations: 0 / 482.8 MB, free: 2.867 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004606/0.123, allocations: 411.2 kB / 483.2 MB, free: 2.418 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.61e-05/0.123, allocations: 8.875 kB / 483.2 MB, free: 2.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.123, allocations: 16.84 kB / 483.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.1232, allocations: 202.7 kB / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1232, allocations: 384 / 483.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.958e-05/0.1233, allocations: 4.375 kB / 483.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001416/0.1234, allocations: 69.72 kB / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1234, allocations: 0 / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.716e-06/0.1235, allocations: 0 / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.1235, allocations: 0 / 483.5 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.635e-05/0.1236, allocations: 27.97 kB / 483.5 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003953/0.124, allocations: 308.7 kB / 483.8 MB, free: 1.699 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1241, allocations: 50.48 kB / 483.9 MB, free: 1.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.91e-05/0.1241, allocations: 20.8 kB / 483.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.1242, allocations: 0 / 483.9 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1242, allocations: 34.64 kB / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1242, allocations: 0 / 483.9 MB, free: 1.574 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009322/0.1251, allocations: 237 kB / 484.1 MB, free: 1.336 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.165e-05/0.1252, allocations: 55.41 kB / 484.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.1254, allocations: 218.8 kB / 484.4 MB, free: 1.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.1254, allocations: 25.7 kB / 484.4 MB, free: 1.016 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.1255, allocations: 104.2 kB / 484.5 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.258e-05/0.1255, allocations: 35.53 kB / 484.6 MB, free: 0.875 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.096e-05/0.1256, allocations: 21.72 kB / 484.6 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001176/0.1257, allocations: 326.8 kB / 484.9 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.403e-05/0.1258, allocations: 27.92 kB / 484.9 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.498e-05/0.1259, allocations: 31.97 kB / 485 MB, free: 472 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.1261, allocations: 84.97 kB / 485.1 MB, free: 384 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1261, allocations: 0 / 485.1 MB, free: 384 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002176/0.1263, allocations: 105.6 kB / 485.2 MB, free: 272 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.1263, allocations: 4 kB / 485.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1263, allocations: 0 / 485.2 MB, free: 268 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1263, allocations: 4 kB / 485.2 MB, free: 264 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001025/0.1264, allocations: 23.92 kB / 485.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1265, allocations: 0 / 485.2 MB, free: 240 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.435e-05/0.1265, allocations: 11.94 kB / 485.2 MB, free: 228 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.1265, allocations: 4 kB / 485.2 MB, free: 224 kB / 350.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 9.68e-05/0.1266, allocations: 125.8 kB / 485.3 MB, free: 88 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.762e-05/0.1267, allocations: 15.81 kB / 485.3 MB, free: 72 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002948/0.127, allocations: 135 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.776e-06/0.127, allocations: 0 / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.127, allocations: 432 / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.127, allocations: 7.938 kB / 485.5 MB, free: 15.93 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005204/0.1275, allocations: 423.2 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.1275, allocations: 7.938 kB / 485.9 MB, free: 15.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.1276, allocations: 19.98 kB / 485.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.788e-06/0.1276, allocations: 3.938 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1276, allocations: 3.984 kB / 485.9 MB, free: 15.42 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.286e-06/0.1277, allocations: 8.031 kB / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1277, allocations: 0 / 485.9 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1279, allocations: 212.2 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.01e-05/0.128, allocations: 92.89 kB / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.128, allocations: 0 / 486.2 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.827e-05/0.1281, allocations: 11.98 kB / 486.2 MB, free: 15.06 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.029e-05/0.1281, allocations: 8 kB / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-06/0.1281, allocations: 0 / 486.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001321/0.1283, allocations: 164.7 kB / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1283, allocations: 0 / 486.4 MB, free: 14.89 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002574/0.1286, allocations: 27.98 kB / 486.4 MB, free: 14.87 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.001011/0.1296, allocations: 463.2 kB / 486.9 MB, free: 14.57 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002232/0.1298, allocations: 67.89 kB / 487 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.1298, allocations: 0 / 487 MB, free: 14.51 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001048/0.1299, allocations: 39.97 kB / 487 MB, free: 14.47 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003408/0.1303, allocations: 24 kB / 487 MB, free: 14.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005366/0.1308, allocations: 330.4 kB / 487.3 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.1311, allocations: 0.7082 MB / 488.1 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.06e-05/0.1311, allocations: 15.44 kB / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1312, allocations: 0 / 488.1 MB, free: 13.34 MB / 366.1 MB Notification: Performance of Templates: time 0.003501/0.1347, allocations: 1.805 MB / 489.9 MB, free: 11.52 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches