Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.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.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00105/0.00105, allocations: 109.5 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.001226/0.001226, 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.372/1.372, allocations: 227.4 MB / 246.9 MB, free: 8.883 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2288/0.2288, allocations: 46.09 MB / 344.3 MB, free: 11.56 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 81.52 kB / 417.5 MB, free: 20.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1183, allocations: 62.45 MB / 479.9 MB, free: 5.699 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.003164/0.1215, allocations: 1.669 MB / 481.6 MB, free: 4.016 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009661/0.1225, allocations: 0.5417 MB / 482.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.745e-05/0.1226, allocations: 0 / 482.1 MB, free: 3.469 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002998/0.1229, allocations: 71.84 kB / 482.2 MB, free: 3.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.1231, allocations: 87.7 kB / 482.3 MB, free: 3.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000228/0.1234, allocations: 79.8 kB / 482.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.1236, allocations: 83.75 kB / 482.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.1237, allocations: 19.98 kB / 482.5 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.273e-05/0.1237, allocations: 27.91 kB / 482.5 MB, free: 3.105 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001064/0.1238, allocations: 51.83 kB / 482.6 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1239, allocations: 4 kB / 482.6 MB, free: 3.051 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.124, allocations: 47.91 kB / 482.6 MB, free: 3.004 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.124, allocations: 19.92 kB / 482.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.1241, allocations: 35.75 kB / 482.7 MB, free: 2.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.1242, allocations: 83.81 kB / 482.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1242, allocations: 0 / 482.7 MB, free: 2.867 MB / 350.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.1242, allocations: 3.938 kB / 482.8 MB, free: 2.863 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1242, allocations: 0 / 482.8 MB, free: 2.863 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.0005304/0.1248, allocations: 411.3 kB / 483.2 MB, free: 2.414 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1248, allocations: 12.88 kB / 483.2 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.1249, allocations: 8.844 kB / 483.2 MB, free: 2.395 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.1251, 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.1251, allocations: 4.375 kB / 483.4 MB, free: 2.152 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1251, allocations: 4.375 kB / 483.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.1253, allocations: 57.8 kB / 483.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.1253, allocations: 0 / 483.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.1253, allocations: 0 / 483.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.1253, allocations: 7.938 kB / 483.4 MB, free: 2.078 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1254, allocations: 23.97 kB / 483.5 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003803/0.1258, allocations: 304.7 kB / 483.8 MB, free: 1.707 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.1259, allocations: 42.5 kB / 483.8 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.126, allocations: 24.94 kB / 483.8 MB, free: 1.629 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.064e-05/0.126, allocations: 3.938 kB / 483.8 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.898e-05/0.1261, allocations: 30.56 kB / 483.9 MB, free: 1.586 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1261, allocations: 4 kB / 483.9 MB, free: 1.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008838/0.127, allocations: 225.1 kB / 484.1 MB, free: 1.355 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.127, allocations: 51.41 kB / 484.1 MB, free: 1.293 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002058/0.1272, allocations: 214.8 kB / 484.3 MB, free: 1.074 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.1273, allocations: 33.7 kB / 484.4 MB, free: 1.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.207e-05/0.1273, allocations: 100.1 kB / 484.5 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.1274, allocations: 27.55 kB / 484.5 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1274, allocations: 21.72 kB / 484.5 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001281/0.1275, allocations: 322.8 kB / 484.8 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.1276, allocations: 27.97 kB / 484.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.487e-05/0.1277, allocations: 23.98 kB / 484.9 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001507/0.1279, allocations: 72.98 kB / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.1279, allocations: 0 / 485 MB, free: 440 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002141/0.1281, allocations: 97.98 kB / 485.1 MB, free: 336 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.1281, allocations: 8 kB / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.529e-06/0.1281, allocations: 0 / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.1281, allocations: 0 / 485.1 MB, free: 328 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.45e-05/0.1282, allocations: 15.98 kB / 485.1 MB, free: 312 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1283, allocations: 4 kB / 485.1 MB, free: 308 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.327e-05/0.1283, allocations: 15.86 kB / 485.1 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.856e-06/0.1283, allocations: 4 kB / 485.1 MB, free: 288 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 0.0001019/0.1284, allocations: 129.8 kB / 485.2 MB, free: 148 kB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.749e-05/0.1285, allocations: 19.78 kB / 485.3 MB, free: 128 kB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002606/0.1287, allocations: 115 kB / 485.4 MB, free: 8 kB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/0.1287, allocations: 3.984 kB / 485.4 MB, free: 4 kB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1288, allocations: 8.047 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.1288, allocations: 3.938 kB / 485.4 MB, free: 15.99 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005097/0.1293, allocations: 403.3 kB / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.1293, allocations: 0 / 485.8 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.834e-05/0.1294, allocations: 23.86 kB / 485.8 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1294, allocations: 7.938 kB / 485.8 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.1294, allocations: 4.031 kB / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1294, allocations: 0 / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1294, allocations: 0 / 485.8 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.1297, allocations: 204.2 kB / 486 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.178e-05/0.1297, allocations: 92.95 kB / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/0.1298, allocations: 0 / 486.1 MB, free: 15.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.468e-05/0.1298, allocations: 11.98 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1299, allocations: 4 kB / 486.1 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.1299, allocations: 8 kB / 486.1 MB, free: 15.15 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001318/0.13, allocations: 168.7 kB / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.13, allocations: 0 / 486.3 MB, free: 14.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002642/0.1303, allocations: 19.98 kB / 486.3 MB, free: 14.97 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.001016/0.1313, allocations: 448.6 kB / 486.7 MB, free: 14.69 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000207/0.1315, allocations: 59.91 kB / 486.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1316, allocations: 0 / 486.8 MB, free: 14.63 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.312e-05/0.1316, allocations: 47.97 kB / 486.9 MB, free: 14.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.132, allocations: 19.92 kB / 486.9 MB, free: 14.56 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.1326, allocations: 314.5 kB / 487.2 MB, free: 14.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002841/0.1329, allocations: 0.7043 MB / 487.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.521e-05/0.1329, allocations: 15.44 kB / 487.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1329, allocations: 0 / 487.9 MB, free: 13.47 MB / 366.1 MB Notification: Performance of Templates: time 0.003405/0.1363, allocations: 1.757 MB / 489.7 MB, free: 11.71 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches