Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.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.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 113.7 kB / 17.04 MB, free: 6.129 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.002071/0.002071, allocations: 195.1 kB / 17.98 MB, free: 5.227 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.618/1.618, allocations: 205.1 MB / 223.9 MB, free: 12.29 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.2838/0.2838, allocations: 43.52 MB / 314.7 MB, free: 480 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.001796/0.001796, allocations: 60.38 kB / 442.4 MB, free: 5.703 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1584, allocations: 57.8 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test3): time 0.003303/0.1618, allocations: 1.613 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007749/0.1626, allocations: 355.5 kB / 0.4904 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.175e-05/0.1627, allocations: 0 / 0.4904 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006331/0.1633, allocations: 451.1 kB / 0.4908 GB, free: 9.406 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.1637, allocations: 259.4 kB / 0.4911 GB, free: 9.152 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004288/0.1642, allocations: 151.7 kB / 0.4912 GB, free: 9.004 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002751/0.1645, allocations: 171.7 kB / 0.4914 GB, free: 8.836 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001526/0.1646, allocations: 23.98 kB / 0.4914 GB, free: 8.812 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.1648, allocations: 111.8 kB / 0.4915 GB, free: 8.703 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.165, allocations: 211.6 kB / 0.4917 GB, free: 8.496 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.464e-05/0.1651, allocations: 8 kB / 0.4917 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.1652, allocations: 35.98 kB / 0.4918 GB, free: 8.453 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.1653, allocations: 83.69 kB / 0.4918 GB, free: 8.371 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.299e-05/0.1654, allocations: 95 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003279/0.1657, allocations: 266.9 kB / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1657, allocations: 0 / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1658, allocations: 0 / 0.4922 GB, free: 8.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.868e-06/0.1658, allocations: 0 / 0.4922 GB, free: 8.016 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008547/0.1666, allocations: 0.6375 MB / 0.4928 GB, free: 7.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.1667, allocations: 15.89 kB / 0.4928 GB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.501e-05/0.1668, allocations: 44.38 kB / 0.4929 GB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.1671, allocations: 296.1 kB / 0.4932 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1671, allocations: 4.375 kB / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.1671, allocations: 384 / 0.4932 GB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.1673, allocations: 65.73 kB / 0.4932 GB, free: 6.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.578e-05/0.1674, allocations: 7.984 kB / 0.4932 GB, free: 6.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1674, allocations: 4 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.907e-06/0.1674, allocations: 0 / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001463/0.1676, allocations: 43.95 kB / 0.4933 GB, free: 6.809 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.1682, allocations: 396.7 kB / 0.4937 GB, free: 6.371 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001424/0.1684, allocations: 46.5 kB / 0.4937 GB, free: 6.316 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.726e-05/0.1685, allocations: 28.92 kB / 0.4937 GB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.1685, allocations: 4 kB / 0.4937 GB, free: 6.281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1685, allocations: 34.56 kB / 0.4938 GB, free: 6.238 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.153e-06/0.1685, allocations: 4 kB / 0.4938 GB, free: 6.234 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008845/0.1694, allocations: 303.9 kB / 0.4941 GB, free: 5.93 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.1695, allocations: 51.41 kB / 0.4941 GB, free: 5.867 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000797/0.1703, allocations: 0.8535 MB / 0.4949 GB, free: 5 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.541e-05/0.1703, allocations: 29.7 kB / 0.495 GB, free: 4.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1705, allocations: 216 kB / 0.4952 GB, free: 4.75 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.361e-05/0.1705, allocations: 27.59 kB / 0.4952 GB, free: 4.723 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.261e-05/0.1706, allocations: 17.72 kB / 0.4952 GB, free: 4.699 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1708, allocations: 362.7 kB / 0.4956 GB, free: 4.336 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.1709, allocations: 43.97 kB / 0.4956 GB, free: 4.293 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001116/0.171, allocations: 40.03 kB / 0.4956 GB, free: 4.254 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002185/0.1712, allocations: 84.8 kB / 0.4957 GB, free: 4.168 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.62e-07/0.1712, allocations: 0 / 0.4957 GB, free: 4.168 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003143/0.1716, allocations: 169 kB / 0.4959 GB, free: 3.996 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.1716, allocations: 4 kB / 0.4959 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1716, allocations: 0 / 0.4959 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.1716, allocations: 0 / 0.4959 GB, free: 3.992 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001268/0.1718, allocations: 19.98 kB / 0.4959 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.1718, allocations: 0 / 0.4959 GB, free: 3.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.1719, allocations: 15.92 kB / 0.4959 GB, free: 3.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.825e-06/0.1719, allocations: 4 kB / 0.4959 GB, free: 3.953 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.0001989/0.1721, allocations: 217.7 kB / 0.4961 GB, free: 3.73 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.1721, allocations: 39.53 kB / 0.4962 GB, free: 3.691 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003974/0.1725, allocations: 181.4 kB / 0.4963 GB, free: 3.504 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1726, allocations: 4 kB / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.1726, allocations: 0 / 0.4963 GB, free: 3.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.1726, allocations: 7.938 kB / 0.4964 GB, free: 3.492 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006787/0.1733, allocations: 0.5061 MB / 0.4968 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.1733, allocations: 0 / 0.4968 GB, free: 2.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.526e-05/0.1734, allocations: 19.98 kB / 0.4969 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1734, allocations: 0 / 0.4969 GB, free: 2.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.1734, allocations: 7.938 kB / 0.4969 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1734, allocations: 0 / 0.4969 GB, free: 2.902 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.1734, allocations: 4 kB / 0.4969 GB, free: 2.898 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003856/0.1738, allocations: 247 kB / 0.4971 GB, free: 2.641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.427e-05/0.1739, allocations: 108.5 kB / 0.4972 GB, free: 2.516 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.039e-05/0.1739, allocations: 7.938 kB / 0.4972 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.905e-05/0.174, allocations: 7.984 kB / 0.4972 GB, free: 2.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.113e-05/0.1741, allocations: 19.86 kB / 0.4973 GB, free: 2.48 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.1741, allocations: 0 / 0.4973 GB, free: 2.48 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006282/0.1748, allocations: 0.6472 MB / 0.4979 GB, free: 1.836 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1748, allocations: 0 / 0.4979 GB, free: 1.836 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002652/0.175, allocations: 24 kB / 0.4979 GB, free: 1.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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.001015/0.1761, allocations: 420.4 kB / 0.4983 GB, free: 1.441 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003251/0.1764, allocations: 95.91 kB / 0.4984 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1764, allocations: 0 / 0.4984 GB, free: 1.348 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.1765, allocations: 47.91 kB / 0.4984 GB, free: 1.301 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.177, allocations: 25.95 kB / 0.4985 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001403/0.1784, allocations: 0.8322 MB / 0.4993 GB, free: 420 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007537/0.1792, allocations: 0.8299 MB / 0.5001 GB, free: 15.55 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.235e-05/0.1792, allocations: 15.44 kB / 0.5001 GB, free: 15.54 MB / 398.1 MB Notification: Performance of SimCode: time 7.81e-07/0.1792, allocations: 0 / 0.5001 GB, free: 15.54 MB / 398.1 MB Notification: Performance of Templates: time 0.007699/0.187, allocations: 3.844 MB / 0.5039 GB, free: 11.69 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches