Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.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.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 96.14 kB / 15.87 MB, free: 16 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.001294/0.001294, allocations: 202.6 kB / 16.79 MB, free: 6.84 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.803/1.803, allocations: 205.1 MB / 222.6 MB, free: 4.781 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.3932/0.3932, allocations: 43.5 MB / 313.5 MB, free: 8.203 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.001495/0.001495, allocations: 70.55 kB / 382 MB, free: 8.527 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1559, allocations: 57.79 MB / 439.8 MB, free: 14.64 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.005437/0.1614, allocations: 2.08 MB / 441.9 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002909/0.1644, allocations: 0.9678 MB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002417/0.1647, allocations: 4 kB / 442.9 MB, free: 11.56 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000408/0.1652, allocations: 31.78 kB / 442.9 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004797/0.1657, allocations: 143.5 kB / 443 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1667, allocations: 383.3 kB / 443.4 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004855/0.1672, allocations: 263.2 kB / 443.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002506/0.1675, allocations: 68.75 kB / 443.7 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002189/0.1677, allocations: 123.5 kB / 443.9 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000323/0.1681, allocations: 187.2 kB / 444 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.1681, allocations: 8 kB / 444.1 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.1683, allocations: 39.98 kB / 444.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002088/0.1685, allocations: 139.5 kB / 444.2 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.1687, allocations: 162.7 kB / 444.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003872/0.1691, allocations: 354.5 kB / 444.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.309e-06/0.1691, allocations: 0 / 444.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.11e-07/0.1691, allocations: 0 / 444.7 MB, free: 9.691 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.712e-06/0.1691, allocations: 0 / 444.7 MB, free: 9.691 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.001024/0.1701, allocations: 0.758 MB / 445.5 MB, free: 8.883 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.1702, allocations: 8.031 kB / 445.5 MB, free: 8.875 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.838e-05/0.1703, allocations: 52.28 kB / 445.6 MB, free: 8.824 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004989/0.1708, allocations: 447.9 kB / 446 MB, free: 8.348 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.533e-05/0.1708, allocations: 4.375 kB / 446 MB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.1708, allocations: 16.12 kB / 446 MB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003676/0.1712, allocations: 147.1 kB / 446.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.048e-05/0.1712, allocations: 3.906 kB / 446.2 MB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.093e-05/0.1713, allocations: 8 kB / 446.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.1713, allocations: 0 / 446.2 MB, free: 8.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002988/0.1716, allocations: 99.92 kB / 446.3 MB, free: 8.062 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.1727, allocations: 0.6722 MB / 446.9 MB, free: 7.336 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000319/0.1731, allocations: 121.2 kB / 447.1 MB, free: 7.199 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001544/0.1732, allocations: 61.81 kB / 447.1 MB, free: 7.133 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.1733, allocations: 4.203 kB / 447.1 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.872e-05/0.1734, allocations: 34.56 kB / 447.2 MB, free: 7.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.062e-06/0.1734, allocations: 11.88 kB / 447.2 MB, free: 7.074 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001981/0.1753, allocations: 0.6587 MB / 447.8 MB, free: 6.406 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.958e-05/0.1754, allocations: 81.11 kB / 447.9 MB, free: 6.309 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000929/0.1764, allocations: 0.8426 MB / 448.7 MB, free: 5.453 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.1764, allocations: 33.7 kB / 448.8 MB, free: 5.414 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1766, allocations: 244.4 kB / 449 MB, free: 5.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.325e-05/0.1767, allocations: 70.98 kB / 449.1 MB, free: 5.102 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.564e-05/0.1768, allocations: 41.89 kB / 449.1 MB, free: 5.055 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000196/0.177, allocations: 374.7 kB / 449.5 MB, free: 4.68 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002432/0.1772, allocations: 91.81 kB / 449.6 MB, free: 4.59 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002713/0.1775, allocations: 113.8 kB / 449.7 MB, free: 4.473 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004894/0.178, allocations: 209.5 kB / 449.9 MB, free: 4.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.178, allocations: 0 / 449.9 MB, free: 4.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000612/0.1786, allocations: 292.8 kB / 450.2 MB, free: 3.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.1787, allocations: 8 kB / 450.2 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.1787, allocations: 0 / 450.2 MB, free: 3.961 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.582e-05/0.1787, allocations: 4 kB / 450.2 MB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002871/0.179, allocations: 59.89 kB / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.179, allocations: 0 / 450.3 MB, free: 3.898 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001778/0.1792, allocations: 20.16 kB / 450.3 MB, free: 3.879 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.773e-05/0.1792, allocations: 4 kB / 450.3 MB, free: 3.875 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 (20): * Single equations (assignments): 20 * 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.000221/0.1794, allocations: 221.6 kB / 450.5 MB, free: 3.648 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.1796, allocations: 55.28 kB / 450.5 MB, free: 3.594 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007599/0.1803, allocations: 341.8 kB / 450.9 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.1803, allocations: 0 / 450.9 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/0.1803, allocations: 0 / 450.9 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1804, allocations: 11.98 kB / 450.9 MB, free: 3.238 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001319/0.1817, allocations: 0.8682 MB / 451.8 MB, free: 2.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.1817, allocations: 4 kB / 451.8 MB, free: 2.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000236/0.1819, allocations: 51.95 kB / 451.8 MB, free: 2.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.182, allocations: 3.938 kB / 451.8 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.401e-05/0.182, allocations: 7.984 kB / 451.8 MB, free: 2.246 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.086e-06/0.182, allocations: 3.938 kB / 451.8 MB, free: 2.242 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.913e-06/0.182, allocations: 8 kB / 451.8 MB, free: 2.234 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.1827, allocations: 473.9 kB / 452.3 MB, free: 1.754 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001159/0.1828, allocations: 136.8 kB / 452.4 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.666e-05/0.1829, allocations: 4 kB / 452.4 MB, free: 1.598 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002299/0.1831, allocations: 23.92 kB / 452.5 MB, free: 1.574 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.929e-05/0.1832, allocations: 23.95 kB / 452.5 MB, free: 1.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.669e-05/0.1832, allocations: 11.92 kB / 452.5 MB, free: 1.539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006083/0.1838, allocations: 0.6198 MB / 453.1 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1838, allocations: 0 / 453.1 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003675/0.1842, allocations: 55.98 kB / 453.2 MB, free: 0.8672 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 (20): * Single equations (assignments): 20 * 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.0009799/0.1852, allocations: 402.2 kB / 453.6 MB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006568/0.1859, allocations: 227.6 kB / 453.8 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1859, allocations: 192 / 453.8 MB, free: 288 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002833/0.1862, allocations: 131.7 kB / 453.9 MB, free: 156 kB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006394/0.1868, allocations: 70.2 kB / 454 MB, free: 84 kB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.229/0.4158, allocations: 1.05 MB / 455 MB, free: 48.88 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.4161, allocations: 0.8621 MB / 455.9 MB, free: 48.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002498/0.4164, allocations: 70.47 kB / 456 MB, free: 48.18 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.4165, allocations: 41.33 kB / 456 MB, free: 48.18 MB / 382.1 MB Notification: Performance of SimCode: time 1.313e-06/0.4165, allocations: 0 / 456 MB, free: 48.18 MB / 382.1 MB Notification: Performance of Templates: time 0.007931/0.4245, allocations: 4.008 MB / 460 MB, free: 47.99 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches