Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.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.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test29,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y|clock.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001512/0.001512, allocations: 108.5 kB / 17.21 MB, free: 6.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 209.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.478/1.478, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2397/0.2397, allocations: 46.11 MB / 343.6 MB, free: 11.8 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001332/0.001332, allocations: 75.5 kB / 416.9 MB, free: 20.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1447, allocations: 62.44 MB / 479.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test29): time 0.003327/0.1481, allocations: 1.708 MB / 481 MB, free: 4 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001016/0.1491, allocations: 0.5495 MB / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.198e-05/0.1492, allocations: 0 / 481.5 MB, free: 3.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002504/0.1495, allocations: 43.83 kB / 481.6 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002157/0.1497, allocations: 55.83 kB / 481.6 MB, free: 3.348 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002718/0.15, allocations: 111 kB / 481.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001509/0.1501, allocations: 87.81 kB / 481.8 MB, free: 3.156 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1502, allocations: 23.98 kB / 481.9 MB, free: 3.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.55e-05/0.1503, allocations: 35.8 kB / 481.9 MB, free: 3.098 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.941e-05/0.1504, allocations: 35.83 kB / 481.9 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.553e-05/0.1504, allocations: 8 kB / 481.9 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.055e-05/0.1505, allocations: 39.98 kB / 482 MB, free: 3.016 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.615e-05/0.1506, allocations: 23.91 kB / 482 MB, free: 2.992 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.1507, allocations: 31.75 kB / 482 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001749/0.1508, allocations: 119.9 kB / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1508, allocations: 0 / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.52e-07/0.1509, allocations: 0 / 482.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.879e-06/0.1509, allocations: 0 / 482.2 MB, free: 2.844 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005151/0.1514, allocations: 407 kB / 482.5 MB, free: 2.398 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.1514, allocations: 12.88 kB / 482.6 MB, free: 2.387 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.1515, allocations: 16.83 kB / 482.6 MB, free: 2.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000195/0.1517, allocations: 196.1 kB / 482.8 MB, free: 2.141 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.1517, allocations: 4.375 kB / 482.8 MB, free: 2.137 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1517, allocations: 4.375 kB / 482.8 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001908/0.1519, allocations: 73.8 kB / 482.8 MB, free: 2.055 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.901e-05/0.152, allocations: 3.984 kB / 482.9 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.529e-05/0.152, allocations: 4 kB / 482.9 MB, free: 2.047 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.152, allocations: 4 kB / 482.9 MB, free: 2.043 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1521, allocations: 47.91 kB / 482.9 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005112/0.1526, allocations: 332.6 kB / 483.2 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.1528, allocations: 70.48 kB / 483.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.755e-05/0.1529, allocations: 24.86 kB / 483.3 MB, free: 1.516 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.307e-05/0.1529, allocations: 11.97 kB / 483.3 MB, free: 1.504 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.381e-05/0.153, allocations: 30.56 kB / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.293e-06/0.153, allocations: 0 / 483.4 MB, free: 1.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001304/0.1543, allocations: 329.7 kB / 483.7 MB, free: 1.137 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.974e-05/0.1544, allocations: 51.41 kB / 483.7 MB, free: 1.074 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.1546, allocations: 161.8 kB / 483.9 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.574e-05/0.1546, allocations: 37.64 kB / 483.9 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.461e-05/0.1547, allocations: 100 kB / 484 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.928e-05/0.1548, allocations: 43.36 kB / 484.1 MB, free: 0.7188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.473e-05/0.1548, allocations: 25.72 kB / 484.1 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.155, allocations: 330.8 kB / 484.4 MB, free: 364 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1551, allocations: 47.97 kB / 484.5 MB, free: 316 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001/0.1552, allocations: 47.91 kB / 484.5 MB, free: 268 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002441/0.1555, allocations: 108.3 kB / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.1555, allocations: 0 / 484.6 MB, free: 160 kB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003076/0.1558, allocations: 153.5 kB / 484.8 MB, free: 0 / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.827e-05/0.1559, allocations: 18.64 kB / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.1559, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1559, allocations: 0 / 484.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.1561, allocations: 27.92 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1561, allocations: 0 / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.043e-05/0.1562, allocations: 8 kB / 484.8 MB, free: 15.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.1562, allocations: 7.984 kB / 484.8 MB, free: 15.94 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 (13): * Single equations (assignments): 13 * 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.0001226/0.1563, allocations: 121.8 kB / 485 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.103e-05/0.1564, allocations: 15.75 kB / 485 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004069/0.1568, allocations: 182.3 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1568, allocations: 4 kB / 485.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.1568, allocations: 3.984 kB / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.95e-06/0.1568, allocations: 0 / 485.2 MB, free: 15.6 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006827/0.1575, allocations: 0.4912 MB / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.1575, allocations: 0 / 485.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.1576, allocations: 27.92 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.1576, allocations: 4 kB / 485.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.1577, allocations: 7.984 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.255e-06/0.1577, allocations: 0 / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.1577, allocations: 4 kB / 485.7 MB, free: 15.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003388/0.158, allocations: 252.2 kB / 485.9 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.665e-05/0.1581, allocations: 85.02 kB / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.1581, allocations: 0 / 486 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.14e-05/0.1582, allocations: 15.98 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.1583, allocations: 7.984 kB / 486 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1583, allocations: 4 kB / 486 MB, free: 14.61 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001126/0.1584, allocations: 138.3 kB / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1584, allocations: 0 / 486.2 MB, free: 14.48 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002575/0.1587, allocations: 24 kB / 486.2 MB, free: 14.46 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 (13): * Single equations (assignments): 13 * 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.001107/0.1598, allocations: 447.3 kB / 486.6 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.1601, allocations: 115.9 kB / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.1601, allocations: 0 / 486.8 MB, free: 14.07 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.1602, allocations: 63.89 kB / 486.8 MB, free: 14 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1606, allocations: 20.92 kB / 486.8 MB, free: 13.98 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.1611, allocations: 305.6 kB / 487.1 MB, free: 13.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.1614, allocations: 0.7161 MB / 487.8 MB, free: 12.91 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.954e-05/0.1615, allocations: 24.53 kB / 487.9 MB, free: 12.89 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.236e-05/0.1616, allocations: 15.44 kB / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1616, allocations: 0 / 487.9 MB, free: 12.88 MB / 366.1 MB Notification: Performance of Templates: time 0.004468/0.166, allocations: 1.524 MB / 489.4 MB, free: 11.36 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test29/Test29.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test29.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches