Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.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.Test26,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.Test26") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test26,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.Test26") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008912/0.0008914, allocations: 96.67 kB / 17 MB, free: 6.062 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001042/0.001042, allocations: 193.8 kB / 17.91 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.509/1.509, allocations: 227.7 MB / 246.4 MB, free: 9.824 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2334/0.2334, allocations: 46.19 MB / 344.8 MB, free: 11.35 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003168/0.0003169, allocations: 12.2 kB / 418.8 MB, free: 20.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1445/0.1449, allocations: 63.58 MB / 482.4 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test26): time 0.002417/0.1473, allocations: 1.299 MB / 483.7 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1485, allocations: 0.5031 MB / 484.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001029/0.1487, allocations: 4 kB / 484.2 MB, free: 2.727 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.1491, allocations: 71.84 kB / 484.3 MB, free: 2.656 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004107/0.1495, allocations: 91.7 kB / 484.4 MB, free: 2.566 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004517/0.15, allocations: 91.83 kB / 484.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002601/0.1502, allocations: 75.8 kB / 484.5 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.1504, allocations: 12 kB / 484.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.796e-05/0.1505, allocations: 31.84 kB / 484.6 MB, free: 2.359 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.1507, allocations: 47.81 kB / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.802e-05/0.1507, allocations: 0 / 484.6 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000136/0.1508, allocations: 36 kB / 484.7 MB, free: 2.277 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.993e-05/0.1509, allocations: 23.91 kB / 484.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.151, allocations: 37.64 kB / 484.7 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002069/0.1512, allocations: 83.83 kB / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.1512, allocations: 0 / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.1512, allocations: 0 / 484.8 MB, free: 2.129 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.1512, allocations: 0 / 484.8 MB, free: 2.129 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.0006913/0.1519, allocations: 399.2 kB / 485.2 MB, free: 1.691 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/0.152, allocations: 12.03 kB / 485.2 MB, free: 1.68 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.152, allocations: 11.81 kB / 485.2 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.1524, allocations: 201.4 kB / 485.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.1525, allocations: 8 kB / 485.4 MB, free: 1.422 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1525, allocations: 4 kB / 485.4 MB, free: 1.418 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1527, allocations: 61.66 kB / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.365e-05/0.1527, allocations: 0 / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.1527, allocations: 0 / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1527, allocations: 0 / 485.5 MB, free: 1.352 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.1529, allocations: 27.98 kB / 485.5 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005739/0.1534, allocations: 316.6 kB / 485.8 MB, free: 0.9648 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001207/0.1536, allocations: 46.56 kB / 485.9 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.431e-05/0.1536, allocations: 28.94 kB / 485.9 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.403e-05/0.1537, allocations: 3.984 kB / 485.9 MB, free: 0.875 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.349e-05/0.1537, allocations: 30.56 kB / 485.9 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1537, allocations: 3.938 kB / 485.9 MB, free: 0.832 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001075/0.1548, allocations: 269 kB / 486.2 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.917e-05/0.1549, allocations: 59.36 kB / 486.3 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/0.1551, allocations: 206.8 kB / 486.5 MB, free: 288 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.1552, allocations: 33.7 kB / 486.5 MB, free: 248 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.493e-05/0.1552, allocations: 108 kB / 486.6 MB, free: 136 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.422e-05/0.1553, allocations: 23.73 kB / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.929e-06/0.1553, allocations: 0 / 486.6 MB, free: 112 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.1554, allocations: 326.8 kB / 486.9 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.186e-05/0.1555, allocations: 39.95 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.987e-05/0.1556, allocations: 31.98 kB / 487 MB, free: 15.71 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001069/0.1557, allocations: 39.97 kB / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1558, allocations: 0 / 487.1 MB, free: 15.67 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002424/0.156, allocations: 121.5 kB / 487.2 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.156, allocations: 4 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.156, allocations: 0 / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.1561, allocations: 4 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.1562, allocations: 23.92 kB / 487.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.1562, allocations: 3.953 kB / 487.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.454e-05/0.1562, allocations: 8 kB / 487.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.322e-05/0.1563, allocations: 11.98 kB / 487.2 MB, free: 15.49 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001184/0.1564, allocations: 118.4 kB / 487.3 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.884e-05/0.1564, allocations: 11.91 kB / 487.4 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003215/0.1568, allocations: 151.2 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.032e-06/0.1568, allocations: 4 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.1568, allocations: 4 kB / 487.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.1568, allocations: 7.891 kB / 487.5 MB, free: 15.19 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006135/0.1574, allocations: 431.2 kB / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1574, allocations: 0 / 487.9 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.535e-05/0.1575, allocations: 19.98 kB / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.21e-06/0.1575, allocations: 0 / 488 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1576, allocations: 7.891 kB / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.1576, allocations: 4 kB / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1576, allocations: 0 / 488 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003669/0.1579, allocations: 232.1 kB / 488.2 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.965e-05/0.158, allocations: 89.02 kB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.609e-05/0.1581, allocations: 3.984 kB / 488.3 MB, free: 14.32 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.869e-05/0.1582, allocations: 7.953 kB / 488.3 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.1582, allocations: 15.98 kB / 488.3 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.1582, allocations: 4 kB / 488.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1584, allocations: 160.7 kB / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1584, allocations: 0 / 488.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002818/0.1587, allocations: 20 kB / 488.5 MB, free: 14.12 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001364/0.1601, allocations: 443.8 kB / 488.9 MB, free: 13.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002848/0.1604, allocations: 83.89 kB / 489 MB, free: 13.76 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.1604, allocations: 4 kB / 489 MB, free: 13.75 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001051/0.1605, allocations: 47.91 kB / 489.1 MB, free: 13.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.1609, allocations: 15.98 kB / 489.1 MB, free: 13.69 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006459/0.1616, allocations: 290.2 kB / 489.4 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004226/0.162, allocations: 0.7121 MB / 490.1 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.488e-05/0.1621, allocations: 24.95 kB / 490.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.037e-05/0.1621, allocations: 15.44 kB / 490.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1621, allocations: 0 / 490.1 MB, free: 12.6 MB / 366.1 MB Notification: Performance of Templates: time 0.004131/0.1663, allocations: 1.304 MB / 491.4 MB, free: 11.3 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test26/Test26.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches