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.001095/0.001095, allocations: 105.8 kB / 15.98 MB, free: 6.359 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.001106/0.001106, allocations: 193 kB / 16.91 MB, free: 6.191 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.647/1.647, allocations: 205.1 MB / 222.8 MB, free: 4.691 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.5073/0.5073, allocations: 43.49 MB / 313.6 MB, free: 8.492 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.001629/0.001628, allocations: 71.91 kB / 382.2 MB, free: 8.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.1725, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.004632/0.1772, allocations: 2.01 MB / 442 MB, free: 12.72 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1793, allocations: 0.9444 MB / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002411/0.1795, allocations: 0 / 443 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000383/0.1799, allocations: 35.83 kB / 443 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005723/0.1806, allocations: 139.5 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001161/0.1817, allocations: 371.4 kB / 443.5 MB, free: 11.23 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006544/0.1824, allocations: 243.3 kB / 443.7 MB, free: 10.99 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002816/0.1827, allocations: 72.38 kB / 443.8 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003527/0.1831, allocations: 115.5 kB / 443.9 MB, free: 10.81 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000409/0.1835, allocations: 179.4 kB / 444.1 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.74e-05/0.1835, allocations: 12 kB / 444.1 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001782/0.1837, allocations: 43.92 kB / 444.1 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002336/0.184, allocations: 139.6 kB / 444.3 MB, free: 10.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000224/0.1842, allocations: 146.8 kB / 444.4 MB, free: 10.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005588/0.1848, allocations: 346.6 kB / 444.8 MB, free: 9.957 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.1848, allocations: 3.938 kB / 444.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.1848, allocations: 0 / 444.8 MB, free: 9.953 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.728e-06/0.1848, allocations: 4 kB / 444.8 MB, free: 9.949 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.001165/0.186, allocations: 0.7386 MB / 445.5 MB, free: 9.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.961e-05/0.1861, allocations: 11.89 kB / 445.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.1862, allocations: 56.28 kB / 445.6 MB, free: 9.094 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000551/0.1867, allocations: 431.9 kB / 446 MB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/0.1867, allocations: 12.36 kB / 446 MB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.316e-05/0.1868, allocations: 16.12 kB / 446 MB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.1871, allocations: 135.1 kB / 446.2 MB, free: 8.461 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.729e-05/0.1872, allocations: 4 kB / 446.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.576e-05/0.1872, allocations: 0 / 446.2 MB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.653e-05/0.1872, allocations: 4 kB / 446.2 MB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002027/0.1874, allocations: 79.89 kB / 446.2 MB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001027/0.1885, allocations: 0.6565 MB / 446.9 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002381/0.1887, allocations: 105.2 kB / 447 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001223/0.1889, allocations: 45.81 kB / 447 MB, free: 7.492 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.136e-05/0.1889, allocations: 7.984 kB / 447.1 MB, free: 7.484 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/0.189, allocations: 46.44 kB / 447.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/0.189, allocations: 0 / 447.1 MB, free: 7.43 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001648/0.1907, allocations: 498.2 kB / 447.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.665e-05/0.1908, allocations: 85.11 kB / 447.7 MB, free: 6.832 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.1919, allocations: 0.8426 MB / 448.5 MB, free: 5.977 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.214e-05/0.1919, allocations: 33.7 kB / 448.5 MB, free: 5.938 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002592/0.1922, allocations: 236.3 kB / 448.8 MB, free: 5.703 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.229e-05/0.1923, allocations: 55.2 kB / 448.8 MB, free: 5.648 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.731e-05/0.1923, allocations: 29.7 kB / 448.9 MB, free: 5.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002425/0.1926, allocations: 370.7 kB / 449.2 MB, free: 5.242 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001533/0.1928, allocations: 55.95 kB / 449.3 MB, free: 5.188 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001563/0.1929, allocations: 73.67 kB / 449.3 MB, free: 5.109 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003264/0.1932, allocations: 141.7 kB / 449.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1933, allocations: 0 / 449.5 MB, free: 4.965 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004466/0.1937, allocations: 217 kB / 449.7 MB, free: 4.746 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.389e-05/0.1938, allocations: 4 kB / 449.7 MB, free: 4.742 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1938, allocations: 4.219 kB / 449.7 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.1938, allocations: 0 / 449.7 MB, free: 4.738 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002251/0.194, allocations: 44.59 kB / 449.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.194, allocations: 0 / 449.7 MB, free: 4.695 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.1942, allocations: 15.98 kB / 449.8 MB, free: 4.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.1942, allocations: 8 kB / 449.8 MB, free: 4.672 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.0002444/0.1944, allocations: 213.7 kB / 450 MB, free: 4.453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.409e-05/0.1945, allocations: 47.34 kB / 450 MB, free: 4.406 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006699/0.1952, allocations: 281.9 kB / 450.3 MB, free: 4.117 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.945e-06/0.1952, allocations: 4 kB / 450.3 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1953, allocations: 0 / 450.3 MB, free: 4.113 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.1953, allocations: 3.984 kB / 450.3 MB, free: 4.109 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0014/0.1967, allocations: 0.7591 MB / 451.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1967, allocations: 0 / 451.1 MB, free: 3.293 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001549/0.1968, allocations: 35.97 kB / 451.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.1969, allocations: 0 / 451.1 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.753e-05/0.1969, allocations: 4 kB / 451.1 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.117e-06/0.1969, allocations: 3.938 kB / 451.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1969, allocations: 0 / 451.1 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000514/0.1974, allocations: 405.8 kB / 451.5 MB, free: 2.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000149/0.1976, allocations: 136.4 kB / 451.6 MB, free: 2.688 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.83e-05/0.1976, allocations: 4 kB / 451.6 MB, free: 2.684 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001786/0.1978, allocations: 15.92 kB / 451.7 MB, free: 2.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.1979, allocations: 11.98 kB / 451.7 MB, free: 2.656 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.1979, allocations: 11.98 kB / 451.7 MB, free: 2.645 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007342/0.1987, allocations: 0.6198 MB / 452.3 MB, free: 2.027 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1987, allocations: 0 / 452.3 MB, free: 2.027 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003529/0.199, allocations: 48 kB / 452.4 MB, free: 1.98 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.001216/0.2002, allocations: 410.8 kB / 452.8 MB, free: 1.605 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0004947/0.2008, allocations: 147.8 kB / 452.9 MB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.2008, allocations: 0 / 452.9 MB, free: 1.461 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001833/0.201, allocations: 79.89 kB / 453 MB, free: 1.383 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007534/0.2017, allocations: 74.14 kB / 453 MB, free: 1.312 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001551/0.2033, allocations: 0.9896 MB / 454 MB, free: 300 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2503/0.4536, allocations: 0.8434 MB / 454.9 MB, free: 48.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003152/0.454, allocations: 78.38 kB / 455 MB, free: 48.49 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/0.4541, allocations: 36.23 kB / 455 MB, free: 48.48 MB / 382.1 MB Notification: Performance of SimCode: time 2.314e-06/0.4541, allocations: 2.906 kB / 455 MB, free: 48.48 MB / 382.1 MB Notification: Performance of Templates: time 0.008176/0.4623, allocations: 3.835 MB / 458.8 MB, free: 48.33 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