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.001065/0.001065, allocations: 115.4 kB / 17.08 MB, free: 5.996 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.001107/0.001107, allocations: 194.4 kB / 18.01 MB, free: 5.082 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.272/1.272, 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.2094/0.2094, allocations: 43.52 MB / 314.8 MB, free: 476 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.001393/0.001394, allocations: 67.91 kB / 442.5 MB, free: 5.664 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1407, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003419/0.1442, allocations: 1.655 MB / 0.4902 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007097/0.1449, allocations: 347.4 kB / 0.4905 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.783e-05/0.145, allocations: 4 kB / 0.4905 GB, free: 9.781 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000227/0.1452, allocations: 27.86 kB / 0.4905 GB, free: 9.754 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002291/0.1455, allocations: 47.7 kB / 0.4906 GB, free: 9.707 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003868/0.1459, allocations: 115.7 kB / 0.4907 GB, free: 9.594 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1461, allocations: 79.77 kB / 0.4908 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001123/0.1462, allocations: 16.23 kB / 0.4908 GB, free: 9.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.747e-05/0.1463, allocations: 35.84 kB / 0.4908 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.285e-05/0.1464, allocations: 35.83 kB / 0.4908 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.046e-05/0.1464, allocations: 8 kB / 0.4909 GB, free: 9.422 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.1465, allocations: 59.91 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.1466, allocations: 15.92 kB / 0.4909 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.269e-05/0.1466, allocations: 35.8 kB / 0.491 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002182/0.1469, allocations: 111.7 kB / 0.4911 GB, free: 9.203 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1469, allocations: 4 kB / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1469, allocations: 0 / 0.4911 GB, free: 9.199 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1469, allocations: 0 / 0.4911 GB, free: 9.199 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.0006529/0.1476, allocations: 418.5 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.1476, allocations: 8.031 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.994e-05/0.1477, allocations: 8.844 kB / 0.4915 GB, free: 8.73 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.1479, allocations: 192.1 kB / 0.4917 GB, free: 8.504 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.1479, allocations: 8.375 kB / 0.4917 GB, free: 8.496 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.211e-05/0.1479, allocations: 4.375 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000293/0.1482, allocations: 99.45 kB / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.1483, allocations: 0 / 0.4918 GB, free: 8.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.1483, allocations: 8 kB / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.1483, allocations: 0 / 0.4918 GB, free: 8.375 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003091/0.1486, allocations: 75.86 kB / 0.4919 GB, free: 8.301 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004392/0.149, allocations: 296.7 kB / 0.4921 GB, free: 7.961 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002352/0.1493, allocations: 66.53 kB / 0.4922 GB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001666/0.1495, allocations: 44.94 kB / 0.4922 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.893e-05/0.1495, allocations: 7.938 kB / 0.4923 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.1495, allocations: 38.5 kB / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.263e-06/0.1495, allocations: 0 / 0.4923 GB, free: 7.785 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001575/0.1511, allocations: 377 kB / 0.4927 GB, free: 7.41 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.819e-05/0.1512, allocations: 81.09 kB / 0.4927 GB, free: 7.312 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.1514, allocations: 144.4 kB / 0.4929 GB, free: 7.164 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1514, allocations: 29.7 kB / 0.4929 GB, free: 7.129 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.042e-05/0.1515, allocations: 92.14 kB / 0.493 GB, free: 7.035 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.459e-05/0.1516, allocations: 31.55 kB / 0.493 GB, free: 7.004 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.614e-05/0.1516, allocations: 21.66 kB / 0.493 GB, free: 6.977 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001254/0.1517, allocations: 330.8 kB / 0.4933 GB, free: 6.645 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002819/0.152, allocations: 63.92 kB / 0.4934 GB, free: 6.582 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.1523, allocations: 85.64 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005215/0.1528, allocations: 136.7 kB / 0.4936 GB, free: 6.355 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1529, allocations: 0 / 0.4936 GB, free: 6.355 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006077/0.1535, allocations: 181.4 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1535, allocations: 8 kB / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1535, allocations: 0 / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.1535, allocations: 0 / 0.4938 GB, free: 6.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002157/0.1537, allocations: 39.97 kB / 0.4938 GB, free: 6.125 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.326e-06/0.1538, allocations: 3.984 kB / 0.4938 GB, free: 6.121 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001442/0.1539, allocations: 23.91 kB / 0.4939 GB, free: 6.098 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.538e-06/0.1539, allocations: 4 kB / 0.4939 GB, free: 6.094 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.515e-05/0.154, allocations: 117.8 kB / 0.494 GB, free: 5.969 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.661e-05/0.1541, allocations: 7.906 kB / 0.494 GB, free: 5.961 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006695/0.1548, allocations: 206.2 kB / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1548, allocations: 0 / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.1548, allocations: 0 / 0.4942 GB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.1548, allocations: 3.938 kB / 0.4942 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008808/0.1557, allocations: 478.7 kB / 0.4946 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.1557, allocations: 0 / 0.4946 GB, free: 5.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001959/0.1559, allocations: 35.97 kB / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1559, allocations: 0 / 0.4947 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.406e-05/0.1559, allocations: 7.938 kB / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1559, allocations: 0 / 0.4947 GB, free: 5.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.12e-06/0.1559, allocations: 11.92 kB / 0.4947 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006618/0.1566, allocations: 275.4 kB / 0.495 GB, free: 4.883 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.1567, allocations: 85.39 kB / 0.495 GB, free: 4.781 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.1567, allocations: 3.938 kB / 0.495 GB, free: 4.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.1569, allocations: 23.97 kB / 0.4951 GB, free: 4.754 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.1569, allocations: 19.92 kB / 0.4951 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.157, allocations: 4 kB / 0.4951 GB, free: 4.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.402e-05/0.1571, allocations: 114 kB / 0.4952 GB, free: 4.621 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1571, allocations: 0 / 0.4952 GB, free: 4.621 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003016/0.1574, allocations: 36 kB / 0.4952 GB, free: 4.586 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.001066/0.1584, allocations: 461 kB / 0.4957 GB, free: 4.176 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006508/0.1591, allocations: 143.8 kB / 0.4958 GB, free: 4.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1591, allocations: 7.938 kB / 0.4958 GB, free: 4.027 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000298/0.1594, allocations: 79.86 kB / 0.4959 GB, free: 3.949 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1598, allocations: 19.84 kB / 0.4959 GB, free: 3.93 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005234/0.1604, allocations: 219.6 kB / 0.4961 GB, free: 3.684 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.1607, allocations: 0.6963 MB / 0.4968 GB, free: 2.961 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.908e-05/0.1608, allocations: 19.42 kB / 0.4968 GB, free: 2.941 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.1608, allocations: 0 / 0.4968 GB, free: 2.941 MB / 382.1 MB Notification: Performance of Templates: time 0.004219/0.165, allocations: 2.093 MB / 0.4989 GB, free: 0.8516 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