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.001307/0.001308, allocations: 105 kB / 16.4 MB, free: 6.461 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.001314/0.001314, allocations: 192.2 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.533/1.533, 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.2582/0.2582, allocations: 43.53 MB / 314.1 MB, free: 440 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.001416/0.001416, allocations: 73.44 kB / 441.8 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1536, allocations: 57.78 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003666/0.1573, allocations: 2.032 MB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001644/0.159, allocations: 0.9831 MB / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.861e-05/0.1591, allocations: 0 / 0.4908 GB, free: 8.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.1594, allocations: 51.58 kB / 0.4909 GB, free: 8.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003628/0.1597, allocations: 155.3 kB / 0.491 GB, free: 8.527 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008366/0.1606, allocations: 391.2 kB / 0.4914 GB, free: 8.145 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003633/0.161, allocations: 283.1 kB / 0.4917 GB, free: 7.867 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002003/0.1612, allocations: 64.7 kB / 0.4917 GB, free: 7.805 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002035/0.1614, allocations: 123.5 kB / 0.4919 GB, free: 7.684 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1617, allocations: 195.2 kB / 0.492 GB, free: 7.492 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.81e-05/0.1617, allocations: 16 kB / 0.4921 GB, free: 7.477 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000127/0.1619, allocations: 40 kB / 0.4921 GB, free: 7.438 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002042/0.1621, allocations: 143.5 kB / 0.4922 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001581/0.1623, allocations: 166.7 kB / 0.4924 GB, free: 7.133 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.1627, allocations: 374 kB / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.1628, allocations: 0 / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.053e-06/0.1628, allocations: 0 / 0.4927 GB, free: 6.766 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.1628, allocations: 0 / 0.4927 GB, free: 6.766 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.001105/0.1639, allocations: 0.773 MB / 0.4935 GB, free: 5.945 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.164, allocations: 15.89 kB / 0.4935 GB, free: 5.93 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001134/0.1641, allocations: 60.56 kB / 0.4936 GB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.1647, allocations: 448.3 kB / 0.494 GB, free: 5.391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.48e-05/0.1648, allocations: 16.34 kB / 0.494 GB, free: 5.375 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.1648, allocations: 16.12 kB / 0.494 GB, free: 5.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003973/0.1652, allocations: 143.1 kB / 0.4942 GB, free: 5.207 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.1653, allocations: 4 kB / 0.4942 GB, free: 5.203 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.1653, allocations: 4 kB / 0.4942 GB, free: 5.199 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1653, allocations: 4 kB / 0.4942 GB, free: 5.195 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.1656, allocations: 103.9 kB / 0.4943 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.1669, allocations: 0.6606 MB / 0.4949 GB, free: 4.379 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003764/0.1673, allocations: 125.2 kB / 0.495 GB, free: 4.238 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.1675, allocations: 65.8 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.586e-05/0.1676, allocations: 4 kB / 0.4951 GB, free: 4.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.644e-05/0.1676, allocations: 34.56 kB / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.122e-06/0.1676, allocations: 0 / 0.4951 GB, free: 4.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002332/0.17, allocations: 0.6789 MB / 0.4958 GB, free: 3.434 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.187e-05/0.1701, allocations: 81.11 kB / 0.4959 GB, free: 3.336 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.1712, allocations: 0.8466 MB / 0.4967 GB, free: 2.477 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.91e-05/0.1713, allocations: 29.7 kB / 0.4967 GB, free: 2.441 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002526/0.1715, allocations: 256.3 kB / 0.497 GB, free: 2.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.972e-05/0.1716, allocations: 67.42 kB / 0.4971 GB, free: 2.121 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.963e-05/0.1717, allocations: 41.92 kB / 0.4971 GB, free: 2.074 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002514/0.172, allocations: 370.7 kB / 0.4974 GB, free: 1.703 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.1723, allocations: 95.88 kB / 0.4975 GB, free: 1.609 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002675/0.1725, allocations: 109.6 kB / 0.4976 GB, free: 1.496 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005092/0.173, allocations: 205.5 kB / 0.4978 GB, free: 1.289 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1731, allocations: 0 / 0.4978 GB, free: 1.289 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006417/0.1737, allocations: 305.2 kB / 0.4981 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.1737, allocations: 8 kB / 0.4981 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.1738, allocations: 0 / 0.4981 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1738, allocations: 0 / 0.4981 GB, free: 0.9766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000295/0.1741, allocations: 55.95 kB / 0.4982 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.398e-06/0.1741, allocations: 3.938 kB / 0.4982 GB, free: 0.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.1743, allocations: 23.97 kB / 0.4982 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.1743, allocations: 8 kB / 0.4982 GB, free: 0.8867 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.0002431/0.1746, allocations: 209.7 kB / 0.4984 GB, free: 0.6719 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.593e-05/0.1747, allocations: 55.62 kB / 0.4985 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007953/0.1755, allocations: 354.5 kB / 0.4988 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.1755, allocations: 0 / 0.4988 GB, free: 268 kB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.1755, allocations: 8 kB / 0.4988 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.339e-06/0.1755, allocations: 0 / 0.4988 GB, free: 260 kB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.1769, allocations: 0.861 MB / 0.4997 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/0.1769, allocations: 4 kB / 0.4997 GB, free: 15.33 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002396/0.1771, allocations: 51.89 kB / 0.4997 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.095e-06/0.1771, allocations: 0 / 0.4997 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.036e-05/0.1772, allocations: 15.97 kB / 0.4997 GB, free: 15.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.1772, allocations: 8.031 kB / 0.4997 GB, free: 15.26 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1772, allocations: 3.938 kB / 0.4997 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007577/0.178, allocations: 486.1 kB / 0.5002 GB, free: 14.76 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001238/0.1781, allocations: 136.8 kB / 0.5003 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.139e-05/0.1781, allocations: 4 kB / 0.5003 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.1784, allocations: 23.91 kB / 0.5004 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.71e-05/0.1785, allocations: 15.98 kB / 0.5004 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.719e-05/0.1785, allocations: 7.984 kB / 0.5004 GB, free: 14.56 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006239/0.1791, allocations: 0.6198 MB / 0.501 GB, free: 13.94 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1791, allocations: 3.938 kB / 0.501 GB, free: 13.94 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003536/0.1795, allocations: 63.98 kB / 0.5011 GB, free: 13.88 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 (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.0009682/0.1805, allocations: 399.9 kB / 0.5014 GB, free: 13.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006265/0.1811, allocations: 223.7 kB / 0.5017 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1811, allocations: 4 kB / 0.5017 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003/0.1814, allocations: 119.9 kB / 0.5018 GB, free: 13.18 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007355/0.1822, allocations: 74.19 kB / 0.5018 GB, free: 13.1 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.1836, allocations: 0.9417 MB / 0.5028 GB, free: 12.12 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004767/0.1841, allocations: 0.8538 MB / 0.5036 GB, free: 11.25 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001817/0.1843, allocations: 74.92 kB / 0.5037 GB, free: 11.17 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1844, allocations: 39.42 kB / 0.5037 GB, free: 11.13 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1844, allocations: 0 / 0.5037 GB, free: 11.13 MB / 398.1 MB Notification: Performance of Templates: time 0.009577/0.194, allocations: 4.317 MB / 0.5079 GB, free: 6.82 MB / 398.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches