Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.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.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,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.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001629/0.001628, allocations: 104.3 kB / 16.4 MB, free: 6.453 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.001442/0.001442, allocations: 193.5 kB / 17.34 MB, free: 5.719 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.436/1.436, 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.2166/0.2166, allocations: 43.52 MB / 314.1 MB, free: 456 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.001327/0.001327, allocations: 73.92 kB / 441.8 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1325, allocations: 57.79 MB / 499.6 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002868/0.1354, allocations: 1.604 MB / 0.4895 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005773/0.136, allocations: 327.6 kB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.728e-05/0.1361, allocations: 0 / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002737/0.1364, allocations: 71.72 kB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00021/0.1366, allocations: 63.73 kB / 0.4899 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000289/0.1369, allocations: 111.7 kB / 0.49 GB, free: 9.59 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.137, allocations: 75.83 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.481e-05/0.1371, allocations: 16.17 kB / 0.4901 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.972e-05/0.1372, allocations: 35.89 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.793e-05/0.1373, allocations: 47.83 kB / 0.4902 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.1373, allocations: 7.984 kB / 0.4902 GB, free: 9.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.819e-05/0.1374, allocations: 35.92 kB / 0.4902 GB, free: 9.375 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.116e-05/0.1375, allocations: 27.92 kB / 0.4902 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.465e-05/0.1375, allocations: 27.75 kB / 0.4903 GB, free: 9.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001684/0.1377, allocations: 91.7 kB / 0.4904 GB, free: 9.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1377, allocations: 4 kB / 0.4904 GB, free: 9.227 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1377, allocations: 4 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1377, allocations: 0 / 0.4904 GB, free: 9.223 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.0004627/0.1382, allocations: 402.9 kB / 0.4908 GB, free: 8.781 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.448e-05/0.1383, allocations: 11.89 kB / 0.4908 GB, free: 8.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.477e-05/0.1383, allocations: 12.84 kB / 0.4908 GB, free: 8.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1385, allocations: 200 kB / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.017e-06/0.1385, allocations: 384 / 0.491 GB, free: 8.523 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.1385, allocations: 8.375 kB / 0.491 GB, free: 8.516 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001445/0.1387, allocations: 61.59 kB / 0.491 GB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.161e-05/0.1387, allocations: 3.984 kB / 0.491 GB, free: 8.445 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.1387, allocations: 4 kB / 0.491 GB, free: 8.441 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1387, allocations: 3.938 kB / 0.491 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001182/0.1388, allocations: 31.97 kB / 0.4911 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003566/0.1392, allocations: 296.7 kB / 0.4914 GB, free: 8.066 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1393, allocations: 46.56 kB / 0.4914 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.779e-05/0.1394, allocations: 20.94 kB / 0.4914 GB, free: 7.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.1394, allocations: 4 kB / 0.4914 GB, free: 7.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.1395, allocations: 34.56 kB / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1395, allocations: 0 / 0.4915 GB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007036/0.1402, allocations: 209.1 kB / 0.4917 GB, free: 7.73 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.272e-05/0.1402, allocations: 51.48 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001737/0.1404, allocations: 206.2 kB / 0.4919 GB, free: 7.457 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.002e-05/0.1405, allocations: 29.64 kB / 0.4919 GB, free: 7.422 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.392e-05/0.1405, allocations: 108.1 kB / 0.492 GB, free: 7.312 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.445e-05/0.1406, allocations: 19.66 kB / 0.4921 GB, free: 7.293 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.764e-05/0.1406, allocations: 21.7 kB / 0.4921 GB, free: 7.266 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.1407, allocations: 326.8 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001012/0.1408, allocations: 31.97 kB / 0.4924 GB, free: 6.906 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.598e-05/0.1409, allocations: 31.98 kB / 0.4924 GB, free: 6.875 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001826/0.1411, allocations: 76.73 kB / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.02e-07/0.1411, allocations: 0 / 0.4925 GB, free: 6.797 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002424/0.1414, allocations: 113.5 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1414, allocations: 8 kB / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.1414, allocations: 0 / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.1414, allocations: 0 / 0.4926 GB, free: 6.672 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.1415, allocations: 27.92 kB / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.1415, allocations: 0 / 0.4927 GB, free: 6.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.525e-05/0.1416, allocations: 19.92 kB / 0.4927 GB, free: 6.625 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.234e-06/0.1416, allocations: 0 / 0.4927 GB, free: 6.625 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.759e-05/0.1417, allocations: 129.8 kB / 0.4928 GB, free: 6.488 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.346e-05/0.1418, allocations: 11.89 kB / 0.4928 GB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002981/0.1421, allocations: 134.6 kB / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1421, allocations: 0 / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1421, allocations: 0 / 0.4929 GB, free: 6.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1421, allocations: 3.938 kB / 0.493 GB, free: 6.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004877/0.1426, allocations: 394.5 kB / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1426, allocations: 0 / 0.4933 GB, free: 5.891 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.1427, allocations: 23.98 kB / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.1427, allocations: 0 / 0.4933 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.1427, allocations: 3.938 kB / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1427, allocations: 0 / 0.4934 GB, free: 5.863 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1427, allocations: 7.938 kB / 0.4934 GB, free: 5.855 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.143, allocations: 211.3 kB / 0.4936 GB, free: 5.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.597e-05/0.1431, allocations: 85.02 kB / 0.4936 GB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.689e-05/0.1431, allocations: 3.938 kB / 0.4936 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.087e-05/0.1432, allocations: 11.98 kB / 0.4937 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.277e-05/0.1432, allocations: 4 kB / 0.4937 GB, free: 5.512 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.1432, allocations: 4 kB / 0.4937 GB, free: 5.508 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000118/0.1433, allocations: 168 kB / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1434, allocations: 0 / 0.4938 GB, free: 5.344 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1436, allocations: 12 kB / 0.4938 GB, free: 5.332 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.0009335/0.1445, allocations: 416.8 kB / 0.4942 GB, free: 4.961 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000262/0.1448, allocations: 79.86 kB / 0.4943 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1448, allocations: 4 kB / 0.4943 GB, free: 4.879 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001132/0.1449, allocations: 39.97 kB / 0.4944 GB, free: 4.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003349/0.1453, allocations: 23.84 kB / 0.4944 GB, free: 4.816 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004541/0.1458, allocations: 250.3 kB / 0.4946 GB, free: 4.547 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.146, allocations: 0.7002 MB / 0.4953 GB, free: 3.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.962e-05/0.1461, allocations: 16.28 kB / 0.4953 GB, free: 3.805 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.018e-05/0.1461, allocations: 15.44 kB / 0.4953 GB, free: 3.789 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1461, allocations: 0 / 0.4953 GB, free: 3.789 MB / 382.1 MB Notification: Performance of Templates: time 0.004046/0.1502, allocations: 1.26 MB / 0.4966 GB, free: 2.531 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches