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.001441/0.001441, allocations: 103 kB / 15.98 MB, free: 6.34 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.001588/0.001588, allocations: 195.8 kB / 16.91 MB, free: 6.188 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.759/1.759, allocations: 205.1 MB / 222.8 MB, free: 4.594 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.4294/0.4294, allocations: 43.5 MB / 313.6 MB, free: 8.262 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.00149/0.00149, allocations: 63.91 kB / 382.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1723, allocations: 57.79 MB / 440 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.004376/0.1768, allocations: 2.076 MB / 442.1 MB, free: 12.39 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00176/0.1786, allocations: 0.9718 MB / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.1787, allocations: 0 / 443.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002959/0.179, allocations: 31.78 kB / 443.1 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004119/0.1795, allocations: 139.5 kB / 443.2 MB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009088/0.1804, allocations: 379.3 kB / 443.6 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003876/0.1808, allocations: 283.1 kB / 443.9 MB, free: 10.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002023/0.181, allocations: 72.73 kB / 443.9 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002245/0.1812, allocations: 131.5 kB / 444.1 MB, free: 10.4 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002842/0.1815, allocations: 195.3 kB / 444.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.95e-05/0.1816, allocations: 12 kB / 444.3 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001232/0.1817, allocations: 43.98 kB / 444.3 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001733/0.1819, allocations: 139.6 kB / 444.4 MB, free: 10.02 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002126/0.1821, allocations: 166.6 kB / 444.6 MB, free: 9.852 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004873/0.1826, allocations: 362.6 kB / 445 MB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.1826, allocations: 4 kB / 445 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.425e-06/0.1826, allocations: 0 / 445 MB, free: 9.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.026e-05/0.1826, allocations: 0 / 445 MB, free: 9.492 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.001273/0.1839, allocations: 0.7691 MB / 445.7 MB, free: 8.676 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.184, allocations: 15.89 kB / 445.8 MB, free: 8.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001104/0.1841, allocations: 52.28 kB / 445.8 MB, free: 8.609 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006827/0.1848, allocations: 439.8 kB / 446.2 MB, free: 8.141 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.584e-05/0.1848, allocations: 12.38 kB / 446.2 MB, free: 8.129 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.547e-05/0.1849, allocations: 12.12 kB / 446.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003401/0.1852, allocations: 147.2 kB / 446.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.1853, allocations: 7.906 kB / 446.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.68e-05/0.1853, allocations: 0 / 446.4 MB, free: 7.953 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1853, allocations: 7.984 kB / 446.4 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002941/0.1856, allocations: 99.86 kB / 446.5 MB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001001/0.1866, allocations: 0.6722 MB / 447.2 MB, free: 7.121 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002689/0.1869, allocations: 113.5 kB / 447.3 MB, free: 6.992 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001572/0.1871, allocations: 61.81 kB / 447.4 MB, free: 6.926 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.1871, allocations: 7.875 kB / 447.4 MB, free: 6.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.1871, allocations: 42.55 kB / 447.4 MB, free: 6.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1871, allocations: 0 / 447.4 MB, free: 6.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002009/0.1892, allocations: 0.6542 MB / 448.1 MB, free: 6.203 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.403e-05/0.1892, allocations: 89.03 kB / 448.1 MB, free: 6.098 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009859/0.1902, allocations: 0.8465 MB / 449 MB, free: 5.238 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1903, allocations: 29.7 kB / 449 MB, free: 5.203 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1905, allocations: 248.4 kB / 449.3 MB, free: 4.957 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.288e-05/0.1906, allocations: 67 kB / 449.3 MB, free: 4.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.066e-05/0.1907, allocations: 33.89 kB / 449.4 MB, free: 4.852 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.1909, allocations: 374.7 kB / 449.7 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.1912, allocations: 95.86 kB / 449.8 MB, free: 4.383 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002764/0.1914, allocations: 109.6 kB / 449.9 MB, free: 4.27 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005404/0.192, allocations: 205.5 kB / 450.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.055e-06/0.192, allocations: 0.75 kB / 450.1 MB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006956/0.1927, allocations: 300.8 kB / 450.4 MB, free: 3.762 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.1927, allocations: 4 kB / 450.4 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.1927, allocations: 0 / 450.4 MB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/0.1928, allocations: 7.984 kB / 450.4 MB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.1931, allocations: 47.95 kB / 450.5 MB, free: 3.703 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.164e-05/0.1931, allocations: 4 kB / 450.5 MB, free: 3.699 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000183/0.1933, allocations: 24.17 kB / 450.5 MB, free: 3.676 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.1933, allocations: 7.984 kB / 450.5 MB, free: 3.668 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.0002486/0.1936, allocations: 221.6 kB / 450.7 MB, free: 3.441 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.1937, allocations: 51.34 kB / 450.8 MB, free: 3.391 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000824/0.1945, allocations: 349.7 kB / 451.1 MB, free: 3.039 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.1945, allocations: 4 kB / 451.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.1945, allocations: 0 / 451.1 MB, free: 3.035 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.1946, allocations: 3.984 kB / 451.1 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.196, allocations: 0.8722 MB / 452 MB, free: 2.102 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.1961, allocations: 3.938 kB / 452 MB, free: 2.098 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002539/0.1963, allocations: 51.89 kB / 452.1 MB, free: 2.047 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.1963, allocations: 4 kB / 452.1 MB, free: 2.043 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.394e-05/0.1964, allocations: 7.984 kB / 452.1 MB, free: 2.035 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.197e-05/0.1964, allocations: 7.938 kB / 452.1 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1964, allocations: 0 / 452.1 MB, free: 2.027 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007953/0.1972, allocations: 474 kB / 452.5 MB, free: 1.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001458/0.1974, allocations: 136.8 kB / 452.7 MB, free: 1.395 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.985e-05/0.1974, allocations: 4 kB / 452.7 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.1977, allocations: 23.92 kB / 452.7 MB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.246e-05/0.1978, allocations: 23.91 kB / 452.7 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.93e-05/0.1978, allocations: 15.92 kB / 452.7 MB, free: 1.328 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007375/0.1985, allocations: 0.6159 MB / 453.4 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1985, allocations: 0 / 453.4 MB, free: 0.7148 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003668/0.1989, allocations: 56 kB / 453.4 MB, free: 0.6602 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.001084/0.2, allocations: 414.6 kB / 453.8 MB, free: 292 kB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006666/0.2007, allocations: 223.9 kB / 454 MB, free: 68 kB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.2007, allocations: 192 / 454 MB, free: 68 kB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2447/0.4454, allocations: 137.8 kB / 454.2 MB, free: 49.13 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008997/0.4464, allocations: 67.88 kB / 454.2 MB, free: 49.13 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001524/0.4479, allocations: 1.051 MB / 455.3 MB, free: 48.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003902/0.4483, allocations: 0.8615 MB / 456.2 MB, free: 47.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002411/0.4485, allocations: 72.95 kB / 456.2 MB, free: 47.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.4487, allocations: 42.33 kB / 456.3 MB, free: 47.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.272e-06/0.4487, allocations: 0 / 456.3 MB, free: 47.96 MB / 382.1 MB Notification: Performance of Templates: time 0.008755/0.4574, allocations: 4.134 MB / 460.4 MB, free: 47.76 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