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.0008966/0.0008965, allocations: 97.48 kB / 16.02 MB, free: 84 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.0009249/0.0009249, allocations: 178.1 kB / 16.91 MB, free: 6.672 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.04/2.04, allocations: 205.4 MB / 223.1 MB, free: 5.48 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.4381/0.4381, allocations: 43.57 MB / 315 MB, free: 8.828 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.0006833/0.0006834, allocations: 16 kB / 384.6 MB, free: 7.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1848/0.1855, allocations: 58.87 MB / 443.4 MB, free: 12.69 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002648/0.1882, allocations: 1.722 MB / 445.2 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001696/0.1899, allocations: 0.9563 MB / 446.1 MB, free: 9.992 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.1901, allocations: 4 kB / 446.1 MB, free: 9.988 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002159/0.1903, allocations: 35.78 kB / 446.2 MB, free: 9.953 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003111/0.1906, allocations: 143.5 kB / 446.3 MB, free: 9.812 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007865/0.1914, allocations: 375.4 kB / 446.7 MB, free: 9.445 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003534/0.1918, allocations: 267.1 kB / 446.9 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001876/0.192, allocations: 68.8 kB / 447 MB, free: 9.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.1921, allocations: 111.5 kB / 447.1 MB, free: 9.008 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002415/0.1924, allocations: 175.3 kB / 447.3 MB, free: 8.836 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.027e-05/0.1924, allocations: 8 kB / 447.3 MB, free: 8.828 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.259e-05/0.1925, allocations: 39.97 kB / 447.3 MB, free: 8.789 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.1927, allocations: 131.5 kB / 447.5 MB, free: 8.66 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001381/0.1928, allocations: 176.4 kB / 447.6 MB, free: 8.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003808/0.1932, allocations: 350.6 kB / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.1932, allocations: 0 / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.198e-06/0.1933, allocations: 0 / 448 MB, free: 8.137 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1933, allocations: 4 kB / 448 MB, free: 8.133 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.001201/0.1945, allocations: 0.6999 MB / 448.7 MB, free: 7.383 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.79e-05/0.1945, allocations: 8.031 kB / 448.7 MB, free: 7.375 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.1947, allocations: 56.28 kB / 448.7 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006537/0.1953, allocations: 451.8 kB / 449.2 MB, free: 6.84 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.1953, allocations: 4.375 kB / 449.2 MB, free: 6.836 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.401e-05/0.1954, allocations: 16.12 kB / 449.2 MB, free: 6.82 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.1958, allocations: 151.3 kB / 449.3 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.346e-05/0.1958, allocations: 3.906 kB / 449.3 MB, free: 6.656 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/0.1959, allocations: 8 kB / 449.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.817e-06/0.1959, allocations: 0 / 449.4 MB, free: 6.648 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003316/0.1962, allocations: 119.9 kB / 449.5 MB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001176/0.1974, allocations: 0.6645 MB / 450.1 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003595/0.1978, allocations: 129.2 kB / 450.3 MB, free: 5.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002151/0.198, allocations: 69.81 kB / 450.3 MB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.682e-05/0.1981, allocations: 11.97 kB / 450.3 MB, free: 5.582 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.1981, allocations: 30.78 kB / 450.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 4.639e-06/0.1981, allocations: 0 / 450.4 MB, free: 5.543 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00242/0.2006, allocations: 0.7445 MB / 451.1 MB, free: 4.789 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.853e-05/0.2007, allocations: 81.19 kB / 451.2 MB, free: 4.691 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.202, allocations: 0.8466 MB / 452 MB, free: 3.832 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.451e-05/0.202, allocations: 25.7 kB / 452.1 MB, free: 3.801 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002306/0.2023, allocations: 252.3 kB / 452.3 MB, free: 3.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.812e-05/0.2024, allocations: 70.98 kB / 452.4 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.2024, allocations: 25.72 kB / 452.4 MB, free: 3.449 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002501/0.2027, allocations: 366.7 kB / 452.8 MB, free: 3.082 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002738/0.2029, allocations: 111.9 kB / 452.9 MB, free: 2.973 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002809/0.2032, allocations: 125.6 kB / 453 MB, free: 2.844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005497/0.2038, allocations: 237.5 kB / 453.2 MB, free: 2.605 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.2038, allocations: 0 / 453.2 MB, free: 2.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007465/0.2045, allocations: 332.9 kB / 453.6 MB, free: 2.273 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.758e-05/0.2046, allocations: 4.094 kB / 453.6 MB, free: 2.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.2046, allocations: 15.91 kB / 453.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.452e-05/0.2046, allocations: 0 / 453.6 MB, free: 2.254 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003216/0.205, allocations: 59.95 kB / 453.6 MB, free: 2.195 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.205, allocations: 4 kB / 453.6 MB, free: 2.191 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00036/0.2054, allocations: 36.09 kB / 453.7 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.392e-05/0.2054, allocations: 4 kB / 453.7 MB, free: 2.152 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.0002828/0.2057, allocations: 217.7 kB / 453.9 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001217/0.2058, allocations: 51.34 kB / 453.9 MB, free: 1.879 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000948/0.2068, allocations: 377.8 kB / 454.3 MB, free: 1.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.929e-06/0.2068, allocations: 4 kB / 454.3 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.2068, allocations: 0 / 454.3 MB, free: 1.496 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.2068, allocations: 7.984 kB / 454.3 MB, free: 1.488 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001497/0.2083, allocations: 0.9034 MB / 455.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.2083, allocations: 0 / 455.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002448/0.2086, allocations: 59.89 kB / 455.3 MB, free: 480 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.324e-06/0.2086, allocations: 4 kB / 455.3 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.2086, allocations: 11.92 kB / 455.3 MB, free: 464 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.2086, allocations: 11.94 kB / 455.3 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.2086, allocations: 384 / 455.3 MB, free: 452 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2601/0.4687, allocations: 0.4909 MB / 455.8 MB, free: 46.02 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002202/0.469, allocations: 146.3 kB / 455.9 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.002e-05/0.4691, allocations: 3.75 kB / 455.9 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002929/0.4694, allocations: 32.58 kB / 456 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.559e-05/0.4694, allocations: 21.19 kB / 456 MB, free: 45.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.4695, allocations: 7.344 kB / 456 MB, free: 45.92 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006305/0.4701, allocations: 0.6186 MB / 456.6 MB, free: 45.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4701, allocations: 3.469 kB / 456.6 MB, free: 45.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003906/0.4705, allocations: 54.94 kB / 456.7 MB, free: 45.84 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.0008293/0.4714, allocations: 409.4 kB / 457.1 MB, free: 45.66 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006076/0.472, allocations: 258.3 kB / 457.3 MB, free: 45.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.472, allocations: 0 / 457.3 MB, free: 45.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002745/0.4723, allocations: 151.7 kB / 457.5 MB, free: 45.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006121/0.4729, allocations: 69.2 kB / 457.6 MB, free: 45.65 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.4741, allocations: 1.053 MB / 458.6 MB, free: 45.17 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002536/0.4744, allocations: 0.8589 MB / 459.5 MB, free: 44.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001736/0.4746, allocations: 87.61 kB / 459.6 MB, free: 44.46 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.98e-05/0.4747, allocations: 39.7 kB / 459.6 MB, free: 44.46 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4747, allocations: 0 / 459.6 MB, free: 44.46 MB / 382.1 MB Notification: Performance of Templates: time 0.006835/0.4815, allocations: 3.917 MB / 463.5 MB, free: 44.15 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