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.001238/0.001238, allocations: 106.8 kB / 17.32 MB, free: 6.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001639/0.001639, allocations: 205.8 kB / 18.26 MB, free: 5.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.433/1.433, allocations: 227.4 MB / 246.4 MB, free: 9.094 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2301/0.2301, allocations: 46.1 MB / 343.8 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 72.12 kB / 417 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1389, allocations: 62.45 MB / 479.5 MB, free: 5.562 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.00617/0.1451, allocations: 1.672 MB / 481.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001731/0.1469, allocations: 0.5378 MB / 481.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001959/0.1472, allocations: 3.938 kB / 481.7 MB, free: 3.328 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.1479, allocations: 75.84 kB / 481.8 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007696/0.1488, allocations: 95.7 kB / 481.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006005/0.1494, allocations: 103.2 kB / 482 MB, free: 3.062 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000274/0.1497, allocations: 79.81 kB / 482 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1499, allocations: 16 kB / 482.1 MB, free: 2.969 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.15, allocations: 35.84 kB / 482.1 MB, free: 2.934 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001632/0.1501, allocations: 63.81 kB / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.1502, allocations: 0 / 482.2 MB, free: 2.871 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.1504, allocations: 47.98 kB / 482.2 MB, free: 2.824 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.14e-05/0.1505, allocations: 23.91 kB / 482.2 MB, free: 2.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.17e-05/0.1505, allocations: 31.69 kB / 482.3 MB, free: 2.77 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.1508, allocations: 111.7 kB / 482.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1508, allocations: 3.938 kB / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1509, allocations: 0 / 482.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.222e-05/0.1509, allocations: 0 / 482.4 MB, free: 2.656 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.0008223/0.1517, allocations: 407.2 kB / 482.8 MB, free: 2.211 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.801e-05/0.1518, allocations: 8.031 kB / 482.8 MB, free: 2.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.323e-05/0.1519, allocations: 16.83 kB / 482.8 MB, free: 2.188 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003906/0.1523, allocations: 198.7 kB / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.1523, allocations: 384 / 483 MB, free: 1.953 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.684e-05/0.1524, allocations: 8.375 kB / 483 MB, free: 1.945 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.1527, allocations: 65.72 kB / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.131e-05/0.1527, allocations: 0 / 483.1 MB, free: 1.875 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.1527, allocations: 4 kB / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.1528, allocations: 0 / 483.1 MB, free: 1.871 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001648/0.1529, allocations: 27.97 kB / 483.1 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007842/0.1537, allocations: 312.7 kB / 483.4 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001786/0.1539, allocations: 46.5 kB / 483.4 MB, free: 1.434 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.423e-05/0.154, allocations: 20.94 kB / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.83e-05/0.1541, allocations: 0 / 483.5 MB, free: 1.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.1541, allocations: 30.56 kB / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.1541, allocations: 0 / 483.5 MB, free: 1.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001369/0.1555, allocations: 241.4 kB / 483.7 MB, free: 1.129 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1556, allocations: 59.34 kB / 483.8 MB, free: 1.059 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003341/0.1559, allocations: 214.8 kB / 484 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.1559, allocations: 29.69 kB / 484 MB, free: 0.8047 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.104e-05/0.156, allocations: 100.1 kB / 484.1 MB, free: 0.7031 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.6e-05/0.1561, allocations: 31.55 kB / 484.2 MB, free: 0.6719 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.4e-05/0.1562, allocations: 21.72 kB / 484.2 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001686/0.1564, allocations: 326.8 kB / 484.5 MB, free: 324 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.1565, allocations: 31.91 kB / 484.5 MB, free: 292 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001218/0.1566, allocations: 31.92 kB / 484.6 MB, free: 260 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002459/0.1569, allocations: 76.81 kB / 484.6 MB, free: 180 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1569, allocations: 0 / 484.6 MB, free: 180 kB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003382/0.1573, allocations: 113.6 kB / 484.7 MB, free: 60 kB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.132e-05/0.1573, allocations: 8 kB / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.1573, allocations: 0 / 484.8 MB, free: 52 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1573, allocations: 3.984 kB / 484.8 MB, free: 48 kB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.1575, allocations: 19.92 kB / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.516e-06/0.1575, allocations: 0 / 484.8 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.33e-05/0.1576, allocations: 15.92 kB / 484.8 MB, free: 12 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.377e-05/0.1576, allocations: 4 kB / 484.8 MB, free: 8 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.0001715/0.1578, allocations: 133.8 kB / 484.9 MB, free: 15.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.692e-05/0.1579, allocations: 11.81 kB / 484.9 MB, free: 15.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004213/0.1583, allocations: 131.3 kB / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1583, allocations: 0 / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.1583, allocations: 0 / 485.1 MB, free: 15.72 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/0.1584, allocations: 11.92 kB / 485.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000786/0.1592, allocations: 419.3 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.1592, allocations: 3.938 kB / 485.5 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.984e-05/0.1593, allocations: 16 kB / 485.5 MB, free: 15.22 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/0.1593, allocations: 7.922 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.451e-05/0.1593, allocations: 4 kB / 485.5 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/0.1593, allocations: 8.031 kB / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/0.1594, allocations: 0 / 485.5 MB, free: 15.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.1598, allocations: 208.2 kB / 485.7 MB, free: 14.98 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.139e-05/0.1598, allocations: 88.95 kB / 485.8 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.834e-05/0.1599, allocations: 3.984 kB / 485.8 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.16, allocations: 19.88 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.478e-05/0.1601, allocations: 4 kB / 485.8 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.445e-05/0.1601, allocations: 7.984 kB / 485.8 MB, free: 14.84 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001845/0.1603, allocations: 160.7 kB / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.1e-07/0.1603, allocations: 0 / 486 MB, free: 14.68 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004154/0.1607, allocations: 24 kB / 486 MB, free: 14.66 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.001506/0.1622, allocations: 449.6 kB / 486.5 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003273/0.1626, allocations: 75.89 kB / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.386e-06/0.1626, allocations: 0 / 486.5 MB, free: 14.3 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001349/0.1627, allocations: 39.97 kB / 486.6 MB, free: 14.26 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005712/0.1633, allocations: 20.83 kB / 486.6 MB, free: 14.24 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.1641, allocations: 310.8 kB / 486.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.1645, allocations: 0.7118 MB / 487.6 MB, free: 13.17 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001086/0.1646, allocations: 20.95 kB / 487.6 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.111e-05/0.1647, allocations: 19.38 kB / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of SimCode: time 3.8e-07/0.1647, allocations: 0 / 487.7 MB, free: 13.13 MB / 366.1 MB Notification: Performance of Templates: time 0.005822/0.1705, allocations: 1.367 MB / 489 MB, free: 11.77 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches