Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008098/0.0008097, allocations: 98.22 kB / 17 MB, free: 6.418 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009528/0.0009528, allocations: 194.5 kB / 17.9 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.584/1.584, allocations: 227.7 MB / 246.4 MB, free: 11.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2453/0.2453, allocations: 46.18 MB / 344.8 MB, free: 11.6 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000279/0.000279, allocations: 8 kB / 418.8 MB, free: 20.13 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1494, allocations: 63.58 MB / 482.4 MB, free: 4.535 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002493/0.1519, allocations: 1.389 MB / 483.8 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001019/0.153, allocations: 0.5382 MB / 484.3 MB, free: 2.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.368e-05/0.1531, allocations: 3.938 kB / 484.3 MB, free: 2.586 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.1533, allocations: 23.91 kB / 484.4 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002627/0.1536, allocations: 63.77 kB / 484.4 MB, free: 2.5 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004801/0.1541, allocations: 158.8 kB / 484.6 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.1543, allocations: 83.7 kB / 484.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1544, allocations: 23.92 kB / 484.7 MB, free: 2.242 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.708e-05/0.1545, allocations: 35.84 kB / 484.7 MB, free: 2.207 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.07e-05/0.1546, allocations: 31.84 kB / 484.8 MB, free: 2.176 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.488e-05/0.1546, allocations: 4 kB / 484.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002026/0.1549, allocations: 91.88 kB / 484.8 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.63e-05/0.1549, allocations: 19.92 kB / 484.9 MB, free: 2.062 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.237e-05/0.155, allocations: 33.7 kB / 484.9 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001958/0.1552, allocations: 124.1 kB / 485 MB, free: 1.902 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1552, allocations: 3.938 kB / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1552, allocations: 0 / 485 MB, free: 1.898 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.037e-06/0.1552, allocations: 0 / 485 MB, free: 1.898 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.0007281/0.1559, allocations: 437.1 kB / 485.5 MB, free: 1.426 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.156, allocations: 12.03 kB / 485.5 MB, free: 1.414 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.156, allocations: 11.91 kB / 485.5 MB, free: 1.402 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.1564, allocations: 195.4 kB / 485.7 MB, free: 1.172 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.1564, allocations: 7.984 kB / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.023e-05/0.1565, allocations: 0 / 485.7 MB, free: 1.164 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.1568, allocations: 115.3 kB / 485.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1568, allocations: 0 / 485.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.1568, allocations: 0 / 485.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.1568, allocations: 0 / 485.8 MB, free: 1.039 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.1571, allocations: 95.91 kB / 485.9 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006259/0.1578, allocations: 352.8 kB / 486.2 MB, free: 0.5508 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.1581, allocations: 90.47 kB / 486.3 MB, free: 464 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001613/0.1582, allocations: 64.88 kB / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.1583, allocations: 0 / 486.4 MB, free: 396 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.976e-05/0.1583, allocations: 34.56 kB / 486.4 MB, free: 352 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1583, allocations: 0 / 486.4 MB, free: 352 kB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001698/0.16, allocations: 0.4971 MB / 486.9 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/0.1601, allocations: 85.06 kB / 487 MB, free: 15.74 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001644/0.1603, allocations: 158.4 kB / 487.1 MB, free: 15.57 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-05/0.1604, allocations: 29.7 kB / 487.2 MB, free: 15.54 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.554e-05/0.1604, allocations: 104.2 kB / 487.3 MB, free: 15.43 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.563e-05/0.1605, allocations: 31.55 kB / 487.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-06/0.1605, allocations: 0 / 487.3 MB, free: 15.4 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002502/0.1608, allocations: 322.8 kB / 487.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002885/0.161, allocations: 95.92 kB / 487.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002881/0.1613, allocations: 121.6 kB / 487.8 MB, free: 14.86 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002962/0.1617, allocations: 107.9 kB / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.1617, allocations: 0 / 487.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006734/0.1623, allocations: 249.6 kB / 488.2 MB, free: 14.5 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1624, allocations: 8 kB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.1624, allocations: 4 kB / 488.2 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1624, allocations: 4 kB / 488.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.1626, allocations: 48.33 kB / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.1627, allocations: 0 / 488.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001627/0.1628, allocations: 43.92 kB / 488.3 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1628, allocations: 3.938 kB / 488.3 MB, free: 14.39 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 (10): * Single equations (assignments): 10 * 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.0001235/0.163, allocations: 126.3 kB / 488.4 MB, free: 14.26 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.917e-05/0.163, allocations: 11.91 kB / 488.4 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007149/0.1637, allocations: 262.2 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.532e-06/0.1638, allocations: 4 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.1638, allocations: 4 kB / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.1638, allocations: 0 / 488.7 MB, free: 13.98 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.1649, allocations: 0.5647 MB / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.1649, allocations: 0 / 489.3 MB, free: 13.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001827/0.1651, allocations: 47.97 kB / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.1651, allocations: 0 / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1651, allocations: 0 / 489.3 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.1651, allocations: 7.891 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1651, allocations: 3.984 kB / 489.3 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008225/0.1659, allocations: 343.2 kB / 489.7 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.779e-05/0.166, allocations: 89 kB / 489.7 MB, free: 12.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.689e-05/0.166, allocations: 8 kB / 489.7 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.1662, allocations: 31.97 kB / 489.8 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.43e-05/0.1663, allocations: 11.94 kB / 489.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001255/0.1664, allocations: 11.94 kB / 489.8 MB, free: 12.78 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1665, allocations: 122.5 kB / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1665, allocations: 0 / 489.9 MB, free: 12.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003146/0.1668, allocations: 51.89 kB / 490 MB, free: 12.61 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 (9): * Single equations (assignments): 9 * 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.001284/0.1681, allocations: 0.4908 MB / 490.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000655/0.1688, allocations: 219.8 kB / 490.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1688, allocations: 0 / 490.7 MB, free: 12.06 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002937/0.1691, allocations: 111.9 kB / 490.8 MB, free: 11.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.1695, allocations: 24.34 kB / 490.8 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006566/0.1701, allocations: 253.5 kB / 491.1 MB, free: 11.65 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.1707, allocations: 0.7043 MB / 491.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001464/0.1708, allocations: 36.52 kB / 491.8 MB, free: 10.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.994e-05/0.1709, allocations: 19.42 kB / 491.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1709, allocations: 0 / 491.8 MB, free: 10.86 MB / 366.1 MB Notification: Performance of Templates: time 0.006041/0.1769, allocations: 2.321 MB / 494.1 MB, free: 8.551 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches