Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") translateModel(ModelicaTest.Tables.CombiTable2D.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001227/0.001227, allocations: 113.5 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.001015/0.001015, allocations: 197.6 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.81/1.81, allocations: 205.1 MB / 223.9 MB, free: 12.25 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.2425/0.2425, 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.002014/0.002014, allocations: 77.45 kB / 442.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1481, allocations: 57.79 MB / 0.4885 GB, free: 11.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test24): time 0.003676/0.1518, allocations: 1.605 MB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000612/0.1525, allocations: 323.5 kB / 0.4904 GB, free: 9.883 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.1525, allocations: 4 kB / 0.4904 GB, free: 9.879 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000272/0.1528, allocations: 47.81 kB / 0.4904 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000187/0.153, allocations: 47.77 kB / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002955/0.1533, allocations: 115.7 kB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.1535, allocations: 67.81 kB / 0.4906 GB, free: 9.605 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001013/0.1536, allocations: 12.19 kB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.366e-05/0.1537, allocations: 31.89 kB / 0.4907 GB, free: 9.562 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.853e-05/0.1538, allocations: 35.86 kB / 0.4907 GB, free: 9.527 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.1538, allocations: 4 kB / 0.4907 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.88e-05/0.1539, allocations: 35.92 kB / 0.4908 GB, free: 9.488 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.463e-05/0.154, allocations: 23.91 kB / 0.4908 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.486e-05/0.154, allocations: 23.81 kB / 0.4908 GB, free: 9.441 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001583/0.1542, allocations: 79.72 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.454e-06/0.1542, allocations: 8 kB / 0.4909 GB, free: 9.355 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.1542, allocations: 0 / 0.4909 GB, free: 9.355 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.821e-06/0.1542, allocations: 0 / 0.4909 GB, free: 9.355 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.000494/0.1547, allocations: 395.1 kB / 0.4913 GB, free: 8.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.1548, allocations: 11.89 kB / 0.4913 GB, free: 8.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.1548, allocations: 12.78 kB / 0.4913 GB, free: 8.898 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001878/0.155, allocations: 195.6 kB / 0.4915 GB, free: 8.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.965e-06/0.155, allocations: 4.375 kB / 0.4915 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.469e-05/0.155, allocations: 4.375 kB / 0.4915 GB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001565/0.1552, allocations: 57.62 kB / 0.4915 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.1552, allocations: 0 / 0.4915 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1552, allocations: 3.984 kB / 0.4915 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.1552, allocations: 0 / 0.4915 GB, free: 8.598 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.1554, allocations: 43.95 kB / 0.4916 GB, free: 8.555 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003379/0.1557, allocations: 284.7 kB / 0.4919 GB, free: 8.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1559, allocations: 46.55 kB / 0.4919 GB, free: 8.172 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.904e-05/0.1559, allocations: 24.94 kB / 0.4919 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.156, allocations: 0 / 0.4919 GB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.52e-05/0.156, allocations: 34.56 kB / 0.492 GB, free: 8.102 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.156, allocations: 0 / 0.492 GB, free: 8.102 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.000723/0.1567, allocations: 209.2 kB / 0.4922 GB, free: 7.891 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.364e-05/0.1568, allocations: 55.41 kB / 0.4922 GB, free: 7.824 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000148/0.1569, allocations: 169.7 kB / 0.4924 GB, free: 7.648 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.157, allocations: 25.7 kB / 0.4924 GB, free: 7.617 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.41e-05/0.157, allocations: 104 kB / 0.4925 GB, free: 7.512 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.923e-05/0.1571, allocations: 31.52 kB / 0.4925 GB, free: 7.48 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.413e-05/0.1571, allocations: 21.72 kB / 0.4925 GB, free: 7.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1572, allocations: 318.8 kB / 0.4928 GB, free: 7.133 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001069/0.1573, allocations: 31.97 kB / 0.4929 GB, free: 7.102 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001149/0.1574, allocations: 36.03 kB / 0.4929 GB, free: 7.066 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.1576, allocations: 72.81 kB / 0.493 GB, free: 6.992 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.1576, allocations: 4 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002521/0.1579, allocations: 109.5 kB / 0.4931 GB, free: 6.875 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1579, allocations: 4 kB / 0.4931 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.1579, allocations: 0 / 0.4931 GB, free: 6.871 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.158, allocations: 4 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1581, allocations: 27.92 kB / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1581, allocations: 0 / 0.4931 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6e-05/0.1582, allocations: 19.92 kB / 0.4931 GB, free: 6.82 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.433e-06/0.1582, allocations: 0 / 0.4931 GB, free: 6.82 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 8.445e-05/0.1583, allocations: 121.8 kB / 0.4933 GB, free: 6.691 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.1583, allocations: 7.906 kB / 0.4933 GB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003002/0.1586, allocations: 126.3 kB / 0.4934 GB, free: 6.551 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1586, allocations: 7.984 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.008e-06/0.1586, allocations: 0 / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.1586, allocations: 3.938 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004741/0.1591, allocations: 378.5 kB / 0.4938 GB, free: 6.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1591, allocations: 7.984 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.702e-05/0.1592, allocations: 19.98 kB / 0.4938 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1592, allocations: 0 / 0.4938 GB, free: 6.086 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.707e-06/0.1592, allocations: 3.938 kB / 0.4938 GB, free: 6.082 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.1592, allocations: 3.938 kB / 0.4938 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1592, allocations: 0 / 0.4938 GB, free: 6.078 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.1595, allocations: 211.3 kB / 0.494 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.976e-05/0.1596, allocations: 81.11 kB / 0.4941 GB, free: 5.758 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.884e-05/0.1596, allocations: 7.938 kB / 0.4941 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.177e-05/0.1597, allocations: 7.984 kB / 0.4941 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.438e-05/0.1597, allocations: 11.92 kB / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/0.1598, allocations: 0 / 0.4941 GB, free: 5.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.733e-05/0.1598, allocations: 130.7 kB / 0.4942 GB, free: 5.605 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1599, allocations: 0 / 0.4942 GB, free: 5.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002347/0.1601, allocations: 23.91 kB / 0.4942 GB, free: 5.582 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.000881/0.161, allocations: 412.9 kB / 0.4946 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002754/0.1613, allocations: 83.86 kB / 0.4947 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1613, allocations: 0 / 0.4947 GB, free: 5.137 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001241/0.1614, allocations: 43.97 kB / 0.4948 GB, free: 5.094 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003424/0.1618, allocations: 15.98 kB / 0.4948 GB, free: 5.078 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004217/0.1622, allocations: 239.5 kB / 0.495 GB, free: 4.812 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002557/0.1625, allocations: 0.6963 MB / 0.4957 GB, free: 4.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.868e-05/0.1625, allocations: 15.42 kB / 0.4957 GB, free: 4.074 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1625, allocations: 0 / 0.4957 GB, free: 4.074 MB / 382.1 MB Notification: Performance of Templates: time 0.003239/0.1658, allocations: 1.556 MB / 0.4972 GB, free: 2.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test24/Test24.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches