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.001042/0.001042, allocations: 106.5 kB / 16.41 MB, free: 6.465 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.001/0.001, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.21 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2317/0.2317, allocations: 43.53 MB / 314.1 MB, free: 452 kB / 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.001321/0.001321, allocations: 71.91 kB / 441.8 MB, free: 5.625 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1565/0.1578, allocations: 57.79 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test22): time 0.00376/0.1616, allocations: 1.938 MB / 0.4898 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001599/0.1632, allocations: 0.9755 MB / 0.4907 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.186e-05/0.1633, allocations: 4 kB / 0.4907 GB, free: 8.816 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000266/0.1636, allocations: 47.58 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.164, allocations: 143.4 kB / 0.4909 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008471/0.1649, allocations: 391.2 kB / 0.4913 GB, free: 8.246 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003325/0.1652, allocations: 251.3 kB / 0.4915 GB, free: 8 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001855/0.1654, allocations: 64.22 kB / 0.4916 GB, free: 7.934 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.1656, allocations: 115.5 kB / 0.4917 GB, free: 7.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002358/0.1658, allocations: 175.3 kB / 0.4919 GB, free: 7.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.823e-05/0.1659, allocations: 12 kB / 0.4919 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001055/0.166, allocations: 43.98 kB / 0.4919 GB, free: 7.594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001631/0.1661, allocations: 143.5 kB / 0.4921 GB, free: 7.453 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001598/0.1663, allocations: 150.8 kB / 0.4922 GB, free: 7.305 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004313/0.1667, allocations: 358.1 kB / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.308e-06/0.1668, allocations: 0 / 0.4926 GB, free: 6.953 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.1668, allocations: 3.938 kB / 0.4926 GB, free: 6.949 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.434e-05/0.1668, allocations: 0 / 0.4926 GB, free: 6.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.0011/0.1679, allocations: 0.7424 MB / 0.4933 GB, free: 6.156 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.168, allocations: 11.89 kB / 0.4933 GB, free: 6.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.066e-05/0.168, allocations: 56.61 kB / 0.4934 GB, free: 6.09 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.1686, allocations: 436.5 kB / 0.4938 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/0.1686, allocations: 12.36 kB / 0.4938 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.1686, allocations: 16.12 kB / 0.4938 GB, free: 5.594 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.1689, allocations: 131.1 kB / 0.4939 GB, free: 5.453 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.169, allocations: 4 kB / 0.4939 GB, free: 5.449 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.169, allocations: 4 kB / 0.4939 GB, free: 5.445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.151e-05/0.169, allocations: 4 kB / 0.4939 GB, free: 5.441 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002032/0.1692, allocations: 71.94 kB / 0.494 GB, free: 5.371 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009061/0.1701, allocations: 0.6644 MB / 0.4946 GB, free: 4.652 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.1704, allocations: 109.2 kB / 0.4948 GB, free: 4.527 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.698e-05/0.1705, allocations: 45.83 kB / 0.4948 GB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.1705, allocations: 3.938 kB / 0.4948 GB, free: 4.473 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.069e-05/0.1705, allocations: 42.5 kB / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.1705, allocations: 0 / 0.4948 GB, free: 4.422 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001347/0.1719, allocations: 0.5042 MB / 0.4953 GB, free: 3.91 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.172, allocations: 81.11 kB / 0.4954 GB, free: 3.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009066/0.1729, allocations: 0.8427 MB / 0.4962 GB, free: 2.957 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.1729, allocations: 29.7 kB / 0.4963 GB, free: 2.922 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000206/0.1731, allocations: 244.3 kB / 0.4965 GB, free: 2.676 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.639e-05/0.1732, allocations: 59.45 kB / 0.4966 GB, free: 2.617 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.416e-05/0.1732, allocations: 37.7 kB / 0.4966 GB, free: 2.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.1734, allocations: 366.7 kB / 0.4969 GB, free: 2.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.1736, allocations: 55.97 kB / 0.497 GB, free: 2.152 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001704/0.1738, allocations: 81.31 kB / 0.4971 GB, free: 2.07 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003136/0.1741, allocations: 137.6 kB / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.41e-07/0.1741, allocations: 0 / 0.4972 GB, free: 1.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004271/0.1745, allocations: 217.2 kB / 0.4974 GB, free: 1.711 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.1746, allocations: 7.984 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.1746, allocations: 4.062 kB / 0.4974 GB, free: 1.699 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.1746, allocations: 4 kB / 0.4974 GB, free: 1.695 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001898/0.1748, allocations: 47.91 kB / 0.4975 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.1748, allocations: 0 / 0.4975 GB, free: 1.648 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1749, allocations: 11.98 kB / 0.4975 GB, free: 1.637 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.356e-05/0.1749, allocations: 4 kB / 0.4975 GB, free: 1.633 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.0002013/0.1752, allocations: 209.7 kB / 0.4977 GB, free: 1.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.1753, allocations: 51.67 kB / 0.4977 GB, free: 1.367 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005606/0.1758, allocations: 266.2 kB / 0.498 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1758, allocations: 0 / 0.498 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.1759, allocations: 4 kB / 0.498 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.1759, allocations: 0 / 0.498 GB, free: 1.098 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001046/0.1769, allocations: 0.763 MB / 0.4987 GB, free: 284 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.1769, allocations: 4 kB / 0.4987 GB, free: 280 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001526/0.1771, allocations: 35.97 kB / 0.4988 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.1771, allocations: 0 / 0.4988 GB, free: 244 kB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.739e-05/0.1771, allocations: 7.984 kB / 0.4988 GB, free: 236 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.025e-05/0.1771, allocations: 7.938 kB / 0.4988 GB, free: 228 kB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.1772, allocations: 3.938 kB / 0.4988 GB, free: 224 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005256/0.1777, allocations: 394.4 kB / 0.4992 GB, free: 15.82 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001366/0.1778, allocations: 136.8 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.412e-05/0.1779, allocations: 8 kB / 0.4993 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.1781, allocations: 15.92 kB / 0.4993 GB, free: 15.64 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.655e-05/0.1781, allocations: 15.98 kB / 0.4993 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.218e-05/0.1781, allocations: 8 kB / 0.4993 GB, free: 15.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006874/0.1788, allocations: 0.6198 MB / 0.4999 GB, free: 15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1789, allocations: 0 / 0.4999 GB, free: 15 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003328/0.1792, allocations: 51.94 kB / 0.5 GB, free: 14.95 MB / 398.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.0009997/0.1802, allocations: 404.7 kB / 0.5004 GB, free: 14.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003951/0.1806, allocations: 143.8 kB / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1806, allocations: 0 / 0.5005 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.1808, allocations: 80.2 kB / 0.5006 GB, free: 14.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005929/0.1814, allocations: 78.25 kB / 0.5007 GB, free: 14.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.1826, allocations: 0.8708 MB / 0.5015 GB, free: 13.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004344/0.1831, allocations: 0.8536 MB / 0.5024 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.00016/0.1832, allocations: 78.91 kB / 0.5024 GB, free: 12.43 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.149e-05/0.1833, allocations: 39.42 kB / 0.5025 GB, free: 12.39 MB / 398.1 MB Notification: Performance of SimCode: time 4.91e-07/0.1833, allocations: 0 / 0.5025 GB, free: 12.39 MB / 398.1 MB Notification: Performance of Templates: time 0.007941/0.1913, allocations: 3.963 MB / 0.5063 GB, free: 8.426 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches