Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, 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.001275/0.001275, 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.792/1.792, allocations: 205.1 MB / 222.6 MB, free: 4.766 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.4307/0.4307, allocations: 43.5 MB / 313.5 MB, free: 8.348 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.001845/0.001845, allocations: 70.56 kB / 382 MB, free: 8.516 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1631, allocations: 57.78 MB / 439.8 MB, free: 14.63 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003707/0.1668, allocations: 2.084 MB / 441.9 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002353/0.1692, allocations: 1.061 MB / 443 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000163/0.1695, allocations: 7.938 kB / 443 MB, free: 11.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004037/0.17, allocations: 43.77 kB / 443 MB, free: 11.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003862/0.1703, allocations: 139.5 kB / 443.2 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001277/0.1716, allocations: 0.5342 MB / 443.7 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003476/0.172, allocations: 287.1 kB / 444 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002056/0.1722, allocations: 84.5 kB / 444.1 MB, free: 10.37 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001856/0.1724, allocations: 127.4 kB / 444.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000239/0.1726, allocations: 187.3 kB / 444.4 MB, free: 10.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.886e-05/0.1727, allocations: 8 kB / 444.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1728, allocations: 43.91 kB / 444.4 MB, free: 10.01 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001571/0.173, allocations: 147.5 kB / 444.6 MB, free: 9.867 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001376/0.1731, allocations: 158.7 kB / 444.7 MB, free: 9.711 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003791/0.1735, allocations: 362.6 kB / 445.1 MB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1735, allocations: 3.938 kB / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1735, allocations: 0 / 445.1 MB, free: 9.352 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.1735, allocations: 0 / 445.1 MB, free: 9.352 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.001032/0.1746, allocations: 0.7697 MB / 445.8 MB, free: 8.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/0.1746, allocations: 8.031 kB / 445.8 MB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001036/0.1748, allocations: 60.19 kB / 445.9 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005999/0.1754, allocations: 451.9 kB / 446.3 MB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.1754, allocations: 8.375 kB / 446.4 MB, free: 7.977 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.746e-05/0.1755, allocations: 16.03 kB / 446.4 MB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.1758, allocations: 159.1 kB / 446.5 MB, free: 7.793 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.779e-05/0.1759, allocations: 11.98 kB / 446.5 MB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.705e-05/0.1759, allocations: 4 kB / 446.5 MB, free: 7.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.204e-05/0.1759, allocations: 4 kB / 446.5 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003133/0.1762, allocations: 111.9 kB / 446.7 MB, free: 7.664 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001039/0.1773, allocations: 0.7112 MB / 447.4 MB, free: 6.898 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002999/0.1776, allocations: 137.2 kB / 447.5 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001607/0.1778, allocations: 65.8 kB / 447.6 MB, free: 6.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.1778, allocations: 4 kB / 447.6 MB, free: 6.672 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/0.1779, allocations: 34.56 kB / 447.6 MB, free: 6.629 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.182e-06/0.1779, allocations: 0 / 447.6 MB, free: 6.629 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002154/0.18, allocations: 0.7321 MB / 448.3 MB, free: 5.887 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.1801, allocations: 81.09 kB / 448.4 MB, free: 5.789 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000893/0.181, allocations: 0.8506 MB / 449.3 MB, free: 4.926 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.989e-05/0.181, allocations: 29.7 kB / 449.3 MB, free: 4.891 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001878/0.1812, allocations: 256.2 kB / 449.5 MB, free: 4.637 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.087e-05/0.1813, allocations: 63.02 kB / 449.6 MB, free: 4.574 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.361e-05/0.1814, allocations: 45.69 kB / 449.6 MB, free: 4.523 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001802/0.1816, allocations: 378.7 kB / 450 MB, free: 4.145 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/0.1819, allocations: 107.9 kB / 450.1 MB, free: 4.039 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.1822, allocations: 129.6 kB / 450.2 MB, free: 3.906 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.1827, allocations: 249.7 kB / 450.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1827, allocations: 0 / 450.5 MB, free: 3.656 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006877/0.1834, allocations: 340.7 kB / 450.8 MB, free: 3.316 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.1835, allocations: 4 kB / 450.8 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.1835, allocations: 0 / 450.8 MB, free: 3.312 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/0.1835, allocations: 4 kB / 450.8 MB, free: 3.309 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.1838, allocations: 55.88 kB / 450.9 MB, free: 3.254 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.1838, allocations: 4 kB / 450.9 MB, free: 3.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.184, allocations: 23.98 kB / 450.9 MB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.1841, allocations: 7.984 kB / 450.9 MB, free: 3.219 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.000232/0.1843, allocations: 221.7 kB / 451.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.1844, allocations: 51.34 kB / 451.2 MB, free: 2.941 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008373/0.1852, allocations: 410.5 kB / 451.6 MB, free: 2.531 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.1853, allocations: 4 kB / 451.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1853, allocations: 0 / 451.6 MB, free: 2.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.716e-05/0.1853, allocations: 3.984 kB / 451.6 MB, free: 2.523 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001382/0.1867, allocations: 0.9347 MB / 452.5 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1867, allocations: 0 / 452.5 MB, free: 1.531 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002446/0.1869, allocations: 55.94 kB / 452.6 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.187, allocations: 0 / 452.6 MB, free: 1.477 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.159e-05/0.187, allocations: 12 kB / 452.6 MB, free: 1.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.328e-06/0.187, allocations: 3.938 kB / 452.6 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.187, allocations: 0 / 452.6 MB, free: 1.461 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007439/0.1878, allocations: 0.5096 MB / 453.1 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.1879, allocations: 128.5 kB / 453.2 MB, free: 0.7891 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.412e-05/0.1879, allocations: 7.984 kB / 453.2 MB, free: 0.7812 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002453/0.1882, allocations: 27.91 kB / 453.3 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.417e-05/0.1883, allocations: 19.97 kB / 453.3 MB, free: 0.7344 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.1883, allocations: 7.984 kB / 453.3 MB, free: 0.7266 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006472/0.189, allocations: 0.6202 MB / 453.9 MB, free: 112 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.189, allocations: 4 kB / 453.9 MB, free: 108 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.000379/0.1894, allocations: 67.89 kB / 454 MB, free: 40 kB / 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.2885/0.4778, allocations: 398.3 kB / 454.4 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000794/0.4786, allocations: 264.8 kB / 454.6 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.4786, allocations: 0 / 454.6 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.4789, allocations: 139.4 kB / 454.8 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008283/0.4798, allocations: 83.44 kB / 454.9 MB, free: 48.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001355/0.4811, allocations: 1.099 MB / 456 MB, free: 48.34 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003203/0.4815, allocations: 0.8825 MB / 456.8 MB, free: 47.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002245/0.4817, allocations: 101.9 kB / 456.9 MB, free: 47.63 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001075/0.4818, allocations: 40.3 kB / 457 MB, free: 47.63 MB / 382.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4818, allocations: 0 / 457 MB, free: 47.63 MB / 382.1 MB Notification: Performance of Templates: time 0.008216/0.49, allocations: 4.124 MB / 461.1 MB, free: 47.33 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches