Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") translateModel(ModelicaTest.Tables.CombiTable1D.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009439/0.0009442, allocations: 102.8 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 186.5 kB / 16.92 MB, free: 6.918 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.062/2.062, allocations: 205.4 MB / 223.1 MB, free: 5.754 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5122/0.5122, allocations: 43.58 MB / 315 MB, free: 8.715 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.0006353/0.000636, allocations: 16 kB / 384.6 MB, free: 7.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.146, allocations: 58.86 MB / 443.4 MB, free: 12.68 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test16): time 0.00193/0.148, allocations: 1.275 MB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006367/0.1486, allocations: 315.6 kB / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.587e-05/0.1487, allocations: 0 / 445 MB, free: 11.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002459/0.149, allocations: 71.83 kB / 445.1 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001621/0.1491, allocations: 55.88 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002753/0.1494, allocations: 95.83 kB / 445.2 MB, free: 10.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1496, allocations: 63.83 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.1497, allocations: 19.95 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.884e-05/0.1498, allocations: 23.86 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001136/0.1499, allocations: 51.88 kB / 445.4 MB, free: 10.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.607e-05/0.1499, allocations: 4 kB / 445.4 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.324e-05/0.15, allocations: 20 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.721e-05/0.15, allocations: 19.92 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.969e-05/0.1501, allocations: 53.45 kB / 445.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001626/0.1503, allocations: 95.84 kB / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.1503, allocations: 0 / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1503, allocations: 0 / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.779e-06/0.1503, allocations: 0 / 445.6 MB, free: 10.51 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000483/0.1508, allocations: 387.1 kB / 446 MB, free: 10.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.1509, allocations: 12.03 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.781e-05/0.1509, allocations: 8.844 kB / 446 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002022/0.1511, allocations: 192.1 kB / 446.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-06/0.1511, allocations: 384 / 446.2 MB, free: 9.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.471e-05/0.1512, allocations: 12.3 kB / 446.2 MB, free: 9.828 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.1513, allocations: 57.8 kB / 446.2 MB, free: 9.766 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.1513, allocations: 3.938 kB / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.1514, allocations: 0 / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.1514, allocations: 0 / 446.2 MB, free: 9.762 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.681e-05/0.1515, allocations: 27.98 kB / 446.3 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004069/0.1519, allocations: 288.9 kB / 446.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002084/0.1521, allocations: 58.5 kB / 446.6 MB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.836e-05/0.1522, allocations: 16.94 kB / 446.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.1522, allocations: 0 / 446.6 MB, free: 9.316 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.227e-05/0.1523, allocations: 34.56 kB / 446.7 MB, free: 9.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.1523, allocations: 0 / 446.7 MB, free: 9.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006011/0.1529, allocations: 173.1 kB / 446.8 MB, free: 9.098 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.494e-05/0.1529, allocations: 59.34 kB / 446.9 MB, free: 9.027 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001863/0.1531, allocations: 202.2 kB / 447.1 MB, free: 8.82 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.442e-05/0.1531, allocations: 25.7 kB / 447.1 MB, free: 8.789 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.1532, allocations: 104.1 kB / 447.2 MB, free: 8.684 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.1532, allocations: 19.72 kB / 447.2 MB, free: 8.664 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-05/0.1533, allocations: 9.719 kB / 447.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1534, allocations: 326.8 kB / 447.6 MB, free: 8.32 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.435e-05/0.1535, allocations: 23.98 kB / 447.6 MB, free: 8.297 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.633e-05/0.1535, allocations: 27.98 kB / 447.6 MB, free: 8.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1537, allocations: 65 kB / 447.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1537, allocations: 0 / 447.7 MB, free: 8.203 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002007/0.1539, allocations: 101.5 kB / 447.8 MB, free: 8.098 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.1539, allocations: 4 kB / 447.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1539, allocations: 0 / 447.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.154, allocations: 0 / 447.8 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.372e-05/0.154, allocations: 15.98 kB / 447.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.154, allocations: 0 / 447.8 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.964e-05/0.1541, allocations: 4 kB / 447.8 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.1541, allocations: 4 kB / 447.8 MB, free: 8.07 MB / 382.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 (5): * Single equations (assignments): 5 * 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 9.06e-05/0.1542, allocations: 137.8 kB / 447.9 MB, free: 7.926 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.948e-05/0.1542, allocations: 11.91 kB / 447.9 MB, free: 7.914 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000242/0.1545, allocations: 109.8 kB / 448.1 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.1545, allocations: 4 kB / 448.1 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.1545, allocations: 4 kB / 448.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.1545, allocations: 0 / 448.1 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004282/0.1549, allocations: 362.5 kB / 448.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.155, allocations: 0 / 448.4 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-05/0.155, allocations: 27.92 kB / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.155, allocations: 0 / 448.4 MB, free: 7.355 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.853e-06/0.155, allocations: 3.938 kB / 448.4 MB, free: 7.352 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.1551, allocations: 3.938 kB / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1551, allocations: 192 / 448.5 MB, free: 7.348 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.1553, allocations: 199.3 kB / 448.6 MB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.411e-05/0.1554, allocations: 85.02 kB / 448.7 MB, free: 7.035 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.914e-05/0.1554, allocations: 4 kB / 448.7 MB, free: 7.031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.015e-05/0.1555, allocations: 15.86 kB / 448.8 MB, free: 7.016 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.1555, allocations: 4 kB / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.477e-06/0.1555, allocations: 0 / 448.8 MB, free: 7.012 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001396/0.1557, allocations: 164 kB / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1557, allocations: 0 / 448.9 MB, free: 6.852 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002451/0.1559, allocations: 27.98 kB / 448.9 MB, free: 6.824 MB / 382.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 (5): * Single equations (assignments): 5 * 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.001061/0.157, allocations: 405.8 kB / 449.3 MB, free: 6.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002478/0.1572, allocations: 59.95 kB / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.1573, allocations: 0 / 449.4 MB, free: 6.398 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.142e-05/0.1574, allocations: 35.98 kB / 449.4 MB, free: 6.363 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003849/0.1578, allocations: 15.98 kB / 449.4 MB, free: 6.348 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005481/0.1583, allocations: 249.1 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003221/0.1586, allocations: 0.7043 MB / 450.4 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.861e-05/0.1587, allocations: 11.98 kB / 450.4 MB, free: 5.328 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.035e-05/0.1587, allocations: 15.42 kB / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1588, allocations: 0 / 450.4 MB, free: 5.312 MB / 382.1 MB Notification: Performance of Templates: time 0.003449/0.1622, allocations: 1.054 MB / 451.5 MB, free: 4.258 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test16/Test16.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1D.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches