Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001405/0.001405, allocations: 105.8 kB / 18.3 MB, free: 4.887 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001603/0.001603, allocations: 211.8 kB / 19.25 MB, free: 3.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.384/1.384, allocations: 227.4 MB / 247.4 MB, free: 10.64 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2311/0.2311, allocations: 46.1 MB / 344.8 MB, free: 11.64 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001595/0.001595, allocations: 76.94 kB / 418.3 MB, free: 19.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.128, allocations: 62.44 MB / 480.7 MB, free: 5.316 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.003507/0.1315, allocations: 1.618 MB / 482.3 MB, free: 3.688 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1326, allocations: 0.5494 MB / 482.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.87e-05/0.1327, allocations: 0 / 482.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002996/0.133, allocations: 75.77 kB / 482.9 MB, free: 3.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003855/0.1334, allocations: 99.59 kB / 483 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003606/0.1338, allocations: 115.7 kB / 483.2 MB, free: 2.848 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002032/0.134, allocations: 83.88 kB / 483.2 MB, free: 2.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001281/0.1342, allocations: 12 kB / 483.2 MB, free: 2.754 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.133e-05/0.1343, allocations: 43.77 kB / 483.3 MB, free: 2.711 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.1344, allocations: 55.81 kB / 483.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.906e-05/0.1344, allocations: 8 kB / 483.4 MB, free: 2.648 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.1346, allocations: 39.98 kB / 483.4 MB, free: 2.609 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.1346, allocations: 23.92 kB / 483.4 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.1347, allocations: 35.73 kB / 483.4 MB, free: 2.551 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1349, allocations: 103.7 kB / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1349, allocations: 0 / 483.5 MB, free: 2.449 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.1349, allocations: 3.938 kB / 483.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.1349, allocations: 3.984 kB / 483.6 MB, free: 2.441 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.0005443/0.1355, allocations: 411.2 kB / 484 MB, free: 1.992 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.1355, allocations: 12.03 kB / 484 MB, free: 1.98 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1356, allocations: 8.844 kB / 484 MB, free: 1.973 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.1358, allocations: 196.8 kB / 484.2 MB, free: 1.738 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.1358, allocations: 8.375 kB / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1359, allocations: 384 / 484.2 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.136, allocations: 57.8 kB / 484.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.1361, allocations: 4 kB / 484.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1361, allocations: 0 / 484.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.148e-06/0.1361, allocations: 0 / 484.2 MB, free: 1.664 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001112/0.1362, allocations: 39.89 kB / 484.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004591/0.1367, allocations: 304.7 kB / 484.6 MB, free: 1.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001085/0.1368, allocations: 42.55 kB / 484.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.444e-05/0.1369, allocations: 16.86 kB / 484.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.763e-05/0.1369, allocations: 4 kB / 484.6 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.11e-05/0.1369, allocations: 42.58 kB / 484.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.442e-06/0.1369, allocations: 0 / 484.7 MB, free: 1.152 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009643/0.1379, allocations: 233.4 kB / 484.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/0.138, allocations: 55.41 kB / 485 MB, free: 0.8516 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002069/0.1382, allocations: 222.2 kB / 485.2 MB, free: 0.625 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.1382, allocations: 33.7 kB / 485.2 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.334e-05/0.1383, allocations: 100.1 kB / 485.3 MB, free: 496 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.439e-05/0.1383, allocations: 35.61 kB / 485.3 MB, free: 460 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.1384, allocations: 17.72 kB / 485.4 MB, free: 436 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001157/0.1385, allocations: 322.8 kB / 485.7 MB, free: 104 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.536e-05/0.1386, allocations: 35.97 kB / 485.7 MB, free: 68 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.521e-05/0.1387, allocations: 32 kB / 485.7 MB, free: 36 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001836/0.1389, allocations: 73.05 kB / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1389, allocations: 0 / 485.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002268/0.1391, allocations: 113.5 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1391, allocations: 6.5 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.1391, allocations: 0 / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1392, allocations: 4 kB / 485.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1393, allocations: 23.98 kB / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1393, allocations: 0 / 486 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.983e-05/0.1393, allocations: 7.938 kB / 486 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.876e-06/0.1394, allocations: 3.984 kB / 486 MB, free: 15.8 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 9.512e-05/0.1395, allocations: 129.8 kB / 486.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.899e-05/0.1395, allocations: 11.81 kB / 486.1 MB, free: 15.65 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003/0.1398, allocations: 146.9 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.1398, allocations: 4 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.498e-06/0.1398, allocations: 0 / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.1398, allocations: 3.938 kB / 486.3 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005155/0.1404, allocations: 411.3 kB / 486.7 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.1404, allocations: 4.031 kB / 486.7 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.1405, allocations: 19.98 kB / 486.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1405, allocations: 7.938 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.1405, allocations: 0 / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1405, allocations: 0 / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.1405, allocations: 7.938 kB / 486.7 MB, free: 15 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.1408, allocations: 224.2 kB / 486.9 MB, free: 14.76 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.1408, allocations: 84.95 kB / 487 MB, free: 14.66 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.1409, allocations: 4 kB / 487 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.936e-05/0.1409, allocations: 11.98 kB / 487 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.508e-05/0.141, allocations: 7.938 kB / 487 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.141, allocations: 4 kB / 487 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001286/0.1411, allocations: 160.2 kB / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1411, allocations: 0 / 487.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002511/0.1414, allocations: 23.98 kB / 487.2 MB, free: 14.45 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.001078/0.1425, allocations: 451.6 kB / 487.7 MB, free: 14.16 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000245/0.1427, allocations: 79.94 kB / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1427, allocations: 0 / 487.7 MB, free: 14.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 9.609e-05/0.1428, allocations: 43.91 kB / 487.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000362/0.1432, allocations: 19 kB / 487.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.1438, allocations: 300.6 kB / 488.1 MB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.1441, allocations: 0.7157 MB / 488.8 MB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.729e-05/0.1441, allocations: 19.38 kB / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of SimCode: time 2.144e-06/0.1441, allocations: 0 / 488.8 MB, free: 12.94 MB / 366.1 MB Notification: Performance of Templates: time 0.003945/0.1481, allocations: 1.817 MB / 490.6 MB, free: 11.11 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches