Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.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.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") translateModel(ModelicaTest.Tables.CombiTable2D.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01002/0.01002, allocations: 100.2 kB / 15.87 MB, free: 6.309 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.002008/0.002009, allocations: 192.2 kB / 16.79 MB, free: 6.238 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.787/1.787, allocations: 205.1 MB / 222.6 MB, free: 4.746 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.4027/0.4027, allocations: 43.5 MB / 313.5 MB, free: 8.32 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.001904/0.001905, allocations: 71.89 kB / 382 MB, free: 8.508 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1616/0.1635, allocations: 57.78 MB / 439.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.003855/0.1674, allocations: 2.01 MB / 441.8 MB, free: 12.59 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001636/0.1691, allocations: 0.9406 MB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.914e-05/0.1691, allocations: 4 kB / 442.8 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.1694, allocations: 31.83 kB / 442.8 MB, free: 11.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002915/0.1697, allocations: 135.5 kB / 442.9 MB, free: 11.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007714/0.1705, allocations: 371.4 kB / 443.3 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003504/0.1709, allocations: 247.2 kB / 443.5 MB, free: 10.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.171, allocations: 64.45 kB / 443.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001705/0.1712, allocations: 111.5 kB / 443.7 MB, free: 10.7 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002865/0.1715, allocations: 167.3 kB / 443.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.1715, allocations: 8 kB / 443.9 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001078/0.1716, allocations: 39.98 kB / 443.9 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001716/0.1718, allocations: 143.6 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.172, allocations: 154.7 kB / 444.2 MB, free: 10.19 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.1724, allocations: 326.7 kB / 444.5 MB, free: 9.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.1724, allocations: 4 kB / 444.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.02e-07/0.1724, allocations: 0 / 444.5 MB, free: 9.867 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.1724, allocations: 4 kB / 444.5 MB, free: 9.863 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001076/0.1735, allocations: 0.727 MB / 445.3 MB, free: 9.086 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.1735, allocations: 11.97 kB / 445.3 MB, free: 9.074 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.1736, allocations: 56.27 kB / 445.3 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.1741, allocations: 428 kB / 445.8 MB, free: 8.562 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.657e-05/0.1742, allocations: 12.31 kB / 445.8 MB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/0.1742, allocations: 20.11 kB / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000339/0.1746, allocations: 139.2 kB / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.1746, allocations: 0 / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.503e-05/0.1746, allocations: 0 / 445.9 MB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.1746, allocations: 4 kB / 445.9 MB, free: 8.379 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.1748, allocations: 71.95 kB / 446 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009143/0.1757, allocations: 0.6642 MB / 446.7 MB, free: 7.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002422/0.176, allocations: 101.2 kB / 446.8 MB, free: 7.473 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1761, allocations: 49.77 kB / 446.8 MB, free: 7.418 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.396e-05/0.1762, allocations: 3.984 kB / 446.8 MB, free: 7.414 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.319e-05/0.1762, allocations: 42.5 kB / 446.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.062e-06/0.1762, allocations: 0 / 446.9 MB, free: 7.363 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001412/0.1776, allocations: 0.4912 MB / 447.3 MB, free: 6.863 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.1777, allocations: 85.09 kB / 447.4 MB, free: 6.762 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009532/0.1787, allocations: 0.8465 MB / 448.3 MB, free: 5.902 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.1787, allocations: 33.7 kB / 448.3 MB, free: 5.863 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001816/0.1789, allocations: 236.3 kB / 448.5 MB, free: 5.629 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.315e-05/0.1789, allocations: 51.2 kB / 448.6 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.179, allocations: 37.7 kB / 448.6 MB, free: 5.535 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.1792, allocations: 370.7 kB / 449 MB, free: 5.164 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.1793, allocations: 51.95 kB / 449 MB, free: 5.113 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000157/0.1795, allocations: 73.67 kB / 449.1 MB, free: 5.035 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.1798, allocations: 137.6 kB / 449.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.1798, allocations: 0 / 449.2 MB, free: 4.895 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004301/0.1803, allocations: 225.1 kB / 449.5 MB, free: 4.668 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1803, allocations: 7.938 kB / 449.5 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.62e-06/0.1803, allocations: 0 / 449.5 MB, free: 4.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1803, allocations: 4 kB / 449.5 MB, free: 4.656 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/0.1805, allocations: 39.97 kB / 449.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1805, allocations: 0 / 449.5 MB, free: 4.617 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.1807, allocations: 15.98 kB / 449.5 MB, free: 4.602 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.1807, allocations: 4 kB / 449.5 MB, free: 4.598 MB / 382.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 (16): * Single equations (assignments): 16 * 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.0002053/0.1809, allocations: 217.6 kB / 449.7 MB, free: 4.375 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.034e-05/0.181, allocations: 47.34 kB / 449.8 MB, free: 4.328 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006072/0.1816, allocations: 265.8 kB / 450.1 MB, free: 4.059 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.1816, allocations: 4 kB / 450.1 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.1816, allocations: 0 / 450.1 MB, free: 4.055 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.1817, allocations: 3.984 kB / 450.1 MB, free: 4.051 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.1829, allocations: 0.7516 MB / 450.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.1829, allocations: 0 / 450.8 MB, free: 3.242 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001606/0.1831, allocations: 39.97 kB / 450.9 MB, free: 3.203 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.83e-06/0.1831, allocations: 8.109 kB / 450.9 MB, free: 3.195 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.981e-05/0.1831, allocations: 8 kB / 450.9 MB, free: 3.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.598e-06/0.1831, allocations: 7.938 kB / 450.9 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.1831, allocations: 80 / 450.9 MB, free: 3.18 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005108/0.1836, allocations: 398 kB / 451.3 MB, free: 2.773 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.1838, allocations: 136.4 kB / 451.4 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.404e-05/0.1838, allocations: 0 / 451.4 MB, free: 2.621 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001731/0.184, allocations: 27.86 kB / 451.4 MB, free: 2.594 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.674e-05/0.1841, allocations: 7.984 kB / 451.4 MB, free: 2.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.673e-05/0.1841, allocations: 11.98 kB / 451.4 MB, free: 2.574 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006477/0.1847, allocations: 0.6159 MB / 452.1 MB, free: 1.961 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.1847, allocations: 0 / 452.1 MB, free: 1.961 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003291/0.1851, allocations: 52 kB / 452.1 MB, free: 1.91 MB / 382.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 (16): * Single equations (assignments): 16 * 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.0009795/0.1861, allocations: 414.6 kB / 452.5 MB, free: 1.535 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003791/0.1865, allocations: 143.8 kB / 452.7 MB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1865, allocations: 0 / 452.7 MB, free: 1.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.1866, allocations: 79.89 kB / 452.7 MB, free: 1.316 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006633/0.1873, allocations: 69.86 kB / 452.8 MB, free: 1.254 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001311/0.1886, allocations: 0.9867 MB / 453.8 MB, free: 244 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2253/0.4139, allocations: 0.8501 MB / 454.6 MB, free: 48.3 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002725/0.4143, allocations: 69.38 kB / 454.7 MB, free: 48.3 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.4144, allocations: 36.19 kB / 454.7 MB, free: 48.3 MB / 382.1 MB Notification: Performance of SimCode: time 1.072e-06/0.4144, allocations: 0 / 454.7 MB, free: 48.3 MB / 382.1 MB Notification: Performance of Templates: time 0.007395/0.4218, allocations: 3.721 MB / 458.5 MB, free: 48.15 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test22/Test22.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches