Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00124/0.00124, allocations: 115.2 kB / 17.08 MB, free: 6.012 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.001159/0.001159, allocations: 195 kB / 18.01 MB, free: 5.094 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.406/1.406, 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.2118/0.2118, allocations: 43.52 MB / 314.8 MB, free: 460 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.001459/0.001459, allocations: 63.91 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1255, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003461/0.129, allocations: 1.663 MB / 0.4902 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007545/0.1298, allocations: 347.4 kB / 0.4905 GB, free: 9.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.258e-05/0.1299, allocations: 4 kB / 0.4905 GB, free: 9.766 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002378/0.1302, allocations: 31.78 kB / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1305, allocations: 35.78 kB / 0.4906 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004406/0.1309, allocations: 127.6 kB / 0.4907 GB, free: 9.574 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001874/0.1311, allocations: 75.83 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.1312, allocations: 16.23 kB / 0.4908 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.323e-05/0.1313, allocations: 39.83 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.85e-05/0.1314, allocations: 31.84 kB / 0.4909 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.075e-05/0.1314, allocations: 11.94 kB / 0.4909 GB, free: 9.402 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000161/0.1316, allocations: 51.97 kB / 0.4909 GB, free: 9.352 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.854e-05/0.1317, allocations: 19.92 kB / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.566e-05/0.1317, allocations: 35.8 kB / 0.491 GB, free: 9.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002301/0.132, allocations: 115.7 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.132, allocations: 0 / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.132, allocations: 0 / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.104e-06/0.132, allocations: 0 / 0.4911 GB, free: 9.184 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006551/0.1327, allocations: 418.5 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.1327, allocations: 8.031 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.924e-05/0.1328, allocations: 8.844 kB / 0.4915 GB, free: 8.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.133, allocations: 196.1 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.133, allocations: 8.375 kB / 0.4917 GB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.65e-05/0.133, allocations: 4.375 kB / 0.4917 GB, free: 8.473 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.1333, allocations: 91.48 kB / 0.4918 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.1333, allocations: 0 / 0.4918 GB, free: 8.371 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.618e-05/0.1334, allocations: 11.98 kB / 0.4918 GB, free: 8.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1334, allocations: 3.938 kB / 0.4918 GB, free: 8.355 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002866/0.1337, allocations: 75.91 kB / 0.4919 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004313/0.1341, allocations: 300.7 kB / 0.4922 GB, free: 7.938 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.1343, allocations: 74.47 kB / 0.4922 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001431/0.1345, allocations: 40.95 kB / 0.4923 GB, free: 7.812 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.628e-05/0.1345, allocations: 3.938 kB / 0.4923 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.1345, allocations: 30.56 kB / 0.4923 GB, free: 7.77 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.1345, allocations: 3.938 kB / 0.4923 GB, free: 7.766 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001524/0.1361, allocations: 377 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/0.1361, allocations: 77.11 kB / 0.4927 GB, free: 7.297 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001441/0.1363, allocations: 144.4 kB / 0.4929 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1363, allocations: 29.7 kB / 0.4929 GB, free: 7.113 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.1364, allocations: 96.12 kB / 0.493 GB, free: 7.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.1364, allocations: 27.56 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.849e-05/0.1365, allocations: 25.7 kB / 0.493 GB, free: 6.957 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.1366, allocations: 322.8 kB / 0.4933 GB, free: 6.633 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.1369, allocations: 63.92 kB / 0.4934 GB, free: 6.57 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.1372, allocations: 85.64 kB / 0.4935 GB, free: 6.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004687/0.1376, allocations: 136.7 kB / 0.4936 GB, free: 6.344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1376, allocations: 7.969 kB / 0.4936 GB, free: 6.336 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005339/0.1382, allocations: 181.4 kB / 0.4938 GB, free: 6.152 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.1382, allocations: 4 kB / 0.4938 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.1382, allocations: 0 / 0.4938 GB, free: 6.148 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1382, allocations: 4.375 kB / 0.4938 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1385, allocations: 39.95 kB / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1385, allocations: 0 / 0.4938 GB, free: 6.105 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001357/0.1386, allocations: 31.91 kB / 0.4939 GB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.1386, allocations: 0 / 0.4939 GB, free: 6.074 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 (8): * Single equations (assignments): 8 * 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 9.539e-05/0.1387, allocations: 121.7 kB / 0.494 GB, free: 5.945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.893e-05/0.1388, allocations: 15.91 kB / 0.494 GB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006298/0.1394, allocations: 190.2 kB / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.1395, allocations: 0 / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1395, allocations: 0 / 0.4942 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.694e-06/0.1395, allocations: 11.92 kB / 0.4942 GB, free: 5.723 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008408/0.1403, allocations: 470.7 kB / 0.4947 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.1403, allocations: 0 / 0.4947 GB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001753/0.1405, allocations: 35.97 kB / 0.4947 GB, free: 5.172 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.209e-06/0.1405, allocations: 3.984 kB / 0.4947 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1406, allocations: 7.938 kB / 0.4947 GB, free: 5.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1406, allocations: 7.938 kB / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1406, allocations: 0 / 0.4947 GB, free: 5.152 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005905/0.1412, allocations: 275.4 kB / 0.495 GB, free: 4.867 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.17e-05/0.1412, allocations: 88.95 kB / 0.4951 GB, free: 4.762 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1413, allocations: 3.938 kB / 0.4951 GB, free: 4.758 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.1414, allocations: 27.95 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.541e-05/0.1415, allocations: 15.98 kB / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1415, allocations: 0 / 0.4951 GB, free: 4.715 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.993e-05/0.1416, allocations: 108 kB / 0.4952 GB, free: 4.609 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1416, allocations: 4 kB / 0.4952 GB, free: 4.605 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002767/0.1419, allocations: 35.92 kB / 0.4952 GB, free: 4.57 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 (8): * Single equations (assignments): 8 * 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.001086/0.143, allocations: 451.5 kB / 0.4957 GB, free: 4.164 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006368/0.1436, allocations: 151.8 kB / 0.4958 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.1437, allocations: 0 / 0.4958 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002818/0.1439, allocations: 79.86 kB / 0.4959 GB, free: 3.938 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.1443, allocations: 19.84 kB / 0.4959 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005498/0.1449, allocations: 223.6 kB / 0.4961 GB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/0.1452, allocations: 0.6924 MB / 0.4968 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.1453, allocations: 23.42 kB / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of SimCode: time 7.51e-07/0.1453, allocations: 0 / 0.4968 GB, free: 2.926 MB / 382.1 MB Notification: Performance of Templates: time 0.004287/0.1496, allocations: 2.097 MB / 0.4989 GB, free: 0.832 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches