Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") translateModel(ModelicaTest.Tables.CombiTable1D.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 103.9 kB / 16.64 MB, free: 6.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 194.5 kB / 17.56 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.35/1.35, allocations: 205.1 MB / 223.4 MB, free: 12.44 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2212/0.2212, allocations: 43.51 MB / 314.3 MB, free: 0.7227 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 65.53 kB / 382.9 MB, free: 57.01 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1499, allocations: 57.79 MB / 440.7 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test6): time 0.005168/0.1551, allocations: 1.632 MB / 442.3 MB, free: 5.734 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009819/0.1561, allocations: 323.6 kB / 442.6 MB, free: 5.414 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.835e-05/0.1563, allocations: 4 kB / 442.6 MB, free: 5.41 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004123/0.1567, allocations: 87.75 kB / 442.7 MB, free: 5.324 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003495/0.1571, allocations: 71.84 kB / 442.8 MB, free: 5.254 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005149/0.1576, allocations: 93.84 kB / 442.9 MB, free: 5.164 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000255/0.1579, allocations: 75.88 kB / 442.9 MB, free: 5.09 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001617/0.1581, allocations: 20.11 kB / 443 MB, free: 5.07 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.1582, allocations: 43.83 kB / 443 MB, free: 5.027 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.1584, allocations: 59.77 kB / 443.1 MB, free: 4.969 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.634e-05/0.1584, allocations: 4 kB / 443.1 MB, free: 4.965 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001243/0.1586, allocations: 31.98 kB / 443.1 MB, free: 4.934 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 7.595e-05/0.1587, allocations: 27.91 kB / 443.1 MB, free: 4.906 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 7.49e-05/0.1587, allocations: 31.75 kB / 443.1 MB, free: 4.875 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002386/0.159, allocations: 75.89 kB / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.595e-06/0.159, allocations: 0 / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of FrontEnd: time 4.058e-06/0.159, allocations: 0 / 443.2 MB, free: 4.801 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.359e-05/0.1591, allocations: 3.984 kB / 443.2 MB, free: 4.797 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006243/0.1597, allocations: 414.9 kB / 443.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1598, allocations: 15.89 kB / 443.6 MB, free: 4.328 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.15e-05/0.1598, allocations: 16.75 kB / 443.7 MB, free: 4.312 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.1601, allocations: 201.3 kB / 443.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.691e-05/0.1601, allocations: 4.375 kB / 443.9 MB, free: 4.074 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.1602, allocations: 4.375 kB / 443.9 MB, free: 4.07 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002413/0.1604, allocations: 79.31 kB / 443.9 MB, free: 3.98 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1605, allocations: 3.906 kB / 443.9 MB, free: 3.977 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1605, allocations: 4 kB / 444 MB, free: 3.973 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.1605, allocations: 4 kB / 444 MB, free: 3.969 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001838/0.1607, allocations: 39.91 kB / 444 MB, free: 3.93 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006626/0.1614, allocations: 393 kB / 444.4 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004438/0.1618, allocations: 93.16 kB / 444.5 MB, free: 3.383 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001117/0.162, allocations: 29.8 kB / 444.5 MB, free: 3.348 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.853e-05/0.162, allocations: 7.984 kB / 444.5 MB, free: 3.34 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.1621, allocations: 38.48 kB / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of pre-optimization done (n=6): time 2.364e-06/0.1621, allocations: 0 / 444.5 MB, free: 3.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.00113/0.1632, allocations: 240.7 kB / 444.8 MB, free: 3.051 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.1633, allocations: 89.05 kB / 444.9 MB, free: 2.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.1636, allocations: 230.3 kB / 445.1 MB, free: 2.711 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1636, allocations: 25.7 kB / 445.1 MB, free: 2.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.216e-05/0.1637, allocations: 104.1 kB / 445.2 MB, free: 2.574 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.883e-05/0.1638, allocations: 31.55 kB / 445.2 MB, free: 2.543 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.621e-05/0.1638, allocations: 29.64 kB / 445.3 MB, free: 2.508 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.506e-05/0.1639, allocations: 330.8 kB / 445.6 MB, free: 2.176 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.1641, allocations: 23.98 kB / 445.6 MB, free: 2.152 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.1643, allocations: 49.69 kB / 445.7 MB, free: 2.098 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002932/0.1646, allocations: 93.73 kB / 445.8 MB, free: 2 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/0.1646, allocations: 0 / 445.8 MB, free: 2 MB / 318.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004088/0.165, allocations: 129.4 kB / 445.9 MB, free: 1.867 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.043e-05/0.1651, allocations: 4 kB / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.1651, allocations: 0 / 445.9 MB, free: 1.863 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.165e-05/0.1651, allocations: 4 kB / 445.9 MB, free: 1.859 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.1653, allocations: 23.92 kB / 445.9 MB, free: 1.836 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.1653, allocations: 7.922 kB / 445.9 MB, free: 1.828 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.472e-05/0.1654, allocations: 4 kB / 445.9 MB, free: 1.824 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.1654, allocations: 4 kB / 445.9 MB, free: 1.82 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (10): * Single equations (assignments): 10 * 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.0001526/0.1656, allocations: 141.8 kB / 446.1 MB, free: 1.672 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.188e-05/0.1657, allocations: 15.81 kB / 446.1 MB, free: 1.656 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000512/0.1662, allocations: 146.5 kB / 446.2 MB, free: 1.512 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1663, allocations: 4 kB / 446.2 MB, free: 1.508 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.1663, allocations: 3.938 kB / 446.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.1663, allocations: 256 / 446.2 MB, free: 1.504 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.1672, allocations: 0.5063 MB / 446.7 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.1672, allocations: 4 kB / 446.8 MB, free: 0.9336 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001319/0.1674, allocations: 27.92 kB / 446.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.1674, allocations: 0 / 446.8 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/0.1674, allocations: 4 kB / 446.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.1674, allocations: 0 / 446.8 MB, free: 0.9023 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.1674, allocations: 4.031 kB / 446.8 MB, free: 0.8984 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004434/0.1679, allocations: 299.4 kB / 447.1 MB, free: 0.5859 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.299e-05/0.168, allocations: 92.95 kB / 447.2 MB, free: 488 kB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.168, allocations: 3.984 kB / 447.2 MB, free: 484 kB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001953/0.1682, allocations: 8.281 kB / 447.2 MB, free: 476 kB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.161e-05/0.1683, allocations: 11.98 kB / 447.2 MB, free: 464 kB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.139e-05/0.1683, allocations: 4 kB / 447.2 MB, free: 460 kB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0001747/0.1685, allocations: 172.2 kB / 447.4 MB, free: 288 kB / 318.1 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1685, allocations: 3.938 kB / 447.4 MB, free: 284 kB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004993/0.169, allocations: 23.98 kB / 447.4 MB, free: 260 kB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (10): * Single equations (assignments): 10 * 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.001157/0.1702, allocations: 395.3 kB / 447.8 MB, free: 15.95 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002701/0.1705, allocations: 91.88 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1705, allocations: 0 / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001102/0.1706, allocations: 47.91 kB / 447.9 MB, free: 15.81 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.1711, allocations: 19.92 kB / 447.9 MB, free: 15.79 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006487/0.1718, allocations: 362.1 kB / 448.3 MB, free: 15.39 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003736/0.1722, allocations: 0.7197 MB / 449 MB, free: 14.64 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.859e-05/0.1722, allocations: 23.42 kB / 449 MB, free: 14.62 MB / 334.1 MB Notification: Performance of SimCode: time 1.9e-07/0.1722, allocations: 0 / 449 MB, free: 14.62 MB / 334.1 MB Notification: Performance of Templates: time 0.004668/0.1769, allocations: 1.792 MB / 450.8 MB, free: 12.83 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test6/Test6.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches