Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.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_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 99.67 kB / 16.99 MB, free: 6.402 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.001156/0.001156, allocations: 178.7 kB / 17.88 MB, free: 5.957 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 223.2 MB / 241.8 MB, free: 14.63 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2074/0.2074, allocations: 44.22 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004559/0.0004559, allocations: 8 kB / 409.5 MB, free: 27.7 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1822/0.1827, allocations: 61.91 MB / 471.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.003001/0.1858, allocations: 1.665 MB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002028/0.1879, allocations: 0.9245 MB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.1881, allocations: 0 / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002992/0.1885, allocations: 39.7 kB / 474.1 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005132/0.189, allocations: 135.6 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001145/0.1902, allocations: 395.1 kB / 474.6 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005382/0.1907, allocations: 187.4 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002507/0.191, allocations: 52.88 kB / 474.8 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004102/0.1914, allocations: 107.5 kB / 474.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003345/0.1917, allocations: 151.5 kB / 475.1 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.966e-05/0.1918, allocations: 8 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000163/0.192, allocations: 35.92 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000167/0.1921, allocations: 135.5 kB / 475.3 MB, free: 9.926 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.765e-05/0.1922, allocations: 77.45 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.1926, allocations: 287.7 kB / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1926, allocations: 0 / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1926, allocations: 0 / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.145e-05/0.1926, allocations: 0 / 475.6 MB, free: 9.562 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001177/0.1938, allocations: 0.7271 MB / 476.3 MB, free: 8.785 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.1939, allocations: 12.03 kB / 476.3 MB, free: 8.773 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.194, allocations: 55.25 kB / 476.4 MB, free: 8.719 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006906/0.1947, allocations: 439 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.1947, allocations: 11.94 kB / 476.8 MB, free: 8.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.296e-05/0.1948, allocations: 12 kB / 476.9 MB, free: 8.227 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003507/0.1951, allocations: 155.2 kB / 477 MB, free: 8.062 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.1952, allocations: 3.906 kB / 477 MB, free: 8.059 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.1952, allocations: 8 kB / 477 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.1952, allocations: 0 / 477 MB, free: 8.051 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002913/0.1955, allocations: 115.9 kB / 477.1 MB, free: 7.938 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009696/0.1965, allocations: 0.6801 MB / 477.8 MB, free: 7.203 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002758/0.1968, allocations: 133.2 kB / 477.9 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.961e-05/0.1968, allocations: 7.984 kB / 477.9 MB, free: 7.047 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.1968, allocations: 34.69 kB / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1968, allocations: 0 / 478 MB, free: 7.004 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.001944/0.1988, allocations: 0.7515 MB / 478.7 MB, free: 6.242 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.867e-05/0.1989, allocations: 81.11 kB / 478.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009392/0.1998, allocations: 0.8704 MB / 479.7 MB, free: 5.266 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.1998, allocations: 25.7 kB / 479.7 MB, free: 5.234 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.2, allocations: 264.2 kB / 480 MB, free: 4.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.635e-05/0.2001, allocations: 71.27 kB / 480 MB, free: 4.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.21e-05/0.2001, allocations: 4 kB / 480 MB, free: 4.898 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001817/0.2003, allocations: 374.7 kB / 480.4 MB, free: 4.523 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002571/0.2006, allocations: 107.9 kB / 480.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002693/0.2008, allocations: 127.7 kB / 480.6 MB, free: 4.289 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/0.2011, allocations: 111.9 kB / 480.7 MB, free: 4.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.2011, allocations: 7.953 kB / 480.8 MB, free: 4.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.00064/0.2018, allocations: 320.8 kB / 481.1 MB, free: 3.852 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.2018, allocations: 8 kB / 481.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.2018, allocations: 0 / 481.1 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.2018, allocations: 7.922 kB / 481.1 MB, free: 3.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/0.2021, allocations: 67.95 kB / 481.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2021, allocations: 0 / 481.1 MB, free: 3.77 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.2023, allocations: 27.98 kB / 481.2 MB, free: 3.742 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/0.2024, allocations: 15.98 kB / 481.2 MB, free: 3.727 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001963/0.2026, allocations: 206.2 kB / 481.4 MB, free: 3.516 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/0.2027, allocations: 59.3 kB / 481.5 MB, free: 3.457 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007955/0.2035, allocations: 394.7 kB / 481.8 MB, free: 3.066 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.2035, allocations: 4 kB / 481.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.2035, allocations: 0 / 481.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.2035, allocations: 0 / 481.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.2049, allocations: 0.919 MB / 482.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2049, allocations: 0 / 482.8 MB, free: 2.086 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.2051, allocations: 63.89 kB / 482.8 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2051, allocations: 4 kB / 482.8 MB, free: 2.02 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.688e-05/0.2052, allocations: 4 kB / 482.8 MB, free: 2.016 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2052, allocations: 4 kB / 482.8 MB, free: 2.012 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2052, allocations: 3.984 kB / 482.8 MB, free: 2.008 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007296/0.2059, allocations: 0.5036 MB / 483.3 MB, free: 1.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.2061, allocations: 156.3 kB / 483.5 MB, free: 1.309 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.984e-05/0.2062, allocations: 4 kB / 483.5 MB, free: 1.305 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002577/0.2064, allocations: 39.91 kB / 483.5 MB, free: 1.266 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.255e-05/0.2065, allocations: 23.91 kB / 483.6 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.405e-05/0.2065, allocations: 4 kB / 483.6 MB, free: 1.238 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006745/0.2072, allocations: 0.6354 MB / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2072, allocations: 0 / 484.2 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003522/0.2076, allocations: 60.38 kB / 484.3 MB, free: 0.5469 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008833/0.2085, allocations: 401.5 kB / 484.7 MB, free: 312 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000606/0.2091, allocations: 263.7 kB / 484.9 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2091, allocations: 0 / 484.9 MB, free: 48 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003203/0.2094, allocations: 140.5 kB / 485 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004473/0.2099, allocations: 62.95 kB / 485.1 MB, free: 15.84 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2114, allocations: 0.996 MB / 486.1 MB, free: 14.82 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000456/0.2119, allocations: 0.8733 MB / 487 MB, free: 13.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001897/0.2121, allocations: 87.19 kB / 487.1 MB, free: 13.83 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.2122, allocations: 43.41 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of SimCode: time 2.81e-07/0.2122, allocations: 4 kB / 487.1 MB, free: 13.79 MB / 366.1 MB Notification: Performance of Templates: time 0.00763/0.2199, allocations: 4.009 MB / 491.1 MB, free: 9.801 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches