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.001192/0.001192, allocations: 109.1 kB / 16.41 MB, free: 6.461 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.00121/0.00121, allocations: 189.5 kB / 17.34 MB, free: 5.723 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.397/1.397, allocations: 205.1 MB / 223.2 MB, free: 12.2 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.2371/0.2371, allocations: 43.53 MB / 314.1 MB, free: 452 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.001565/0.001566, allocations: 73.88 kB / 441.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.127, allocations: 57.8 MB / 499.6 MB, free: 11.76 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.003651/0.1307, allocations: 1.655 MB / 0.4895 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008562/0.1316, allocations: 347.4 kB / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.068e-05/0.1317, allocations: 0 / 0.4899 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002254/0.1319, allocations: 27.86 kB / 0.4899 GB, free: 9.723 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002513/0.1322, allocations: 47.7 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.1326, allocations: 111.7 kB / 0.49 GB, free: 9.566 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.1327, allocations: 83.75 kB / 0.4901 GB, free: 9.484 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.1329, allocations: 20.22 kB / 0.4901 GB, free: 9.465 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.55e-05/0.133, allocations: 31.86 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.805e-05/0.1331, allocations: 35.83 kB / 0.4902 GB, free: 9.398 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.142e-05/0.1331, allocations: 8 kB / 0.4902 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001349/0.1332, allocations: 55.97 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.218e-05/0.1333, allocations: 23.84 kB / 0.4903 GB, free: 9.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.1333, allocations: 31.81 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.1336, allocations: 115.7 kB / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.1336, allocations: 0 / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.1336, allocations: 0 / 0.4904 GB, free: 9.168 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.1336, allocations: 0 / 0.4904 GB, free: 9.168 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.0006479/0.1343, allocations: 411.2 kB / 0.4908 GB, free: 8.719 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1343, allocations: 12.02 kB / 0.4908 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.1344, allocations: 8.844 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.1346, allocations: 196 kB / 0.491 GB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.503e-05/0.1347, allocations: 12.36 kB / 0.491 GB, free: 8.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.1347, allocations: 4.375 kB / 0.491 GB, free: 8.453 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002813/0.135, allocations: 91.48 kB / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.135, allocations: 0 / 0.4911 GB, free: 8.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.135, allocations: 8 kB / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1351, allocations: 0 / 0.4911 GB, free: 8.344 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002836/0.1353, allocations: 71.92 kB / 0.4912 GB, free: 8.273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004154/0.1358, allocations: 304.6 kB / 0.4915 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002413/0.136, allocations: 70.53 kB / 0.4916 GB, free: 7.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001532/0.1362, allocations: 44.94 kB / 0.4916 GB, free: 7.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.1362, allocations: 3.938 kB / 0.4916 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.1363, allocations: 34.56 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.132e-06/0.1363, allocations: 0 / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001502/0.1378, allocations: 368.9 kB / 0.492 GB, free: 7.387 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.1378, allocations: 81.05 kB / 0.4921 GB, free: 7.289 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001414/0.138, allocations: 152.4 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.675e-05/0.138, allocations: 25.7 kB / 0.4922 GB, free: 7.102 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.246e-05/0.1381, allocations: 92.14 kB / 0.4923 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.1381, allocations: 35.61 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.1382, allocations: 21.72 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1383, allocations: 330.8 kB / 0.4927 GB, free: 6.613 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002586/0.1386, allocations: 63.92 kB / 0.4928 GB, free: 6.551 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002463/0.1388, allocations: 85.64 kB / 0.4928 GB, free: 6.461 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004678/0.1393, allocations: 132.7 kB / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.1393, allocations: 0 / 0.493 GB, free: 6.328 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005503/0.1399, allocations: 185.4 kB / 0.4931 GB, free: 6.141 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.1399, allocations: 4 kB / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1399, allocations: 0 / 0.4931 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1399, allocations: 3.984 kB / 0.4931 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002032/0.1402, allocations: 39.97 kB / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.1402, allocations: 0 / 0.4932 GB, free: 6.094 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001382/0.1403, allocations: 31.89 kB / 0.4932 GB, free: 6.062 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-06/0.1403, allocations: 0 / 0.4932 GB, free: 6.062 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.75e-05/0.1404, allocations: 117.8 kB / 0.4933 GB, free: 5.938 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.1405, allocations: 11.91 kB / 0.4933 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006368/0.1411, allocations: 210.5 kB / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1411, allocations: 0 / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.1412, allocations: 0 / 0.4935 GB, free: 5.711 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.1412, allocations: 7.938 kB / 0.4935 GB, free: 5.703 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008362/0.142, allocations: 458.4 kB / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.142, allocations: 0 / 0.494 GB, free: 5.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000174/0.1422, allocations: 43.89 kB / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1422, allocations: 0 / 0.494 GB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.603e-05/0.1422, allocations: 7.938 kB / 0.494 GB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.823e-06/0.1422, allocations: 7.938 kB / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.1423, allocations: 0 / 0.494 GB, free: 5.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005958/0.1429, allocations: 279.3 kB / 0.4943 GB, free: 4.852 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.473e-05/0.1429, allocations: 85.02 kB / 0.4944 GB, free: 4.75 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.095e-05/0.1429, allocations: 4.312 kB / 0.4944 GB, free: 4.746 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.1431, allocations: 23.97 kB / 0.4944 GB, free: 4.723 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.525e-05/0.1432, allocations: 19.98 kB / 0.4944 GB, free: 4.703 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.1432, allocations: 0 / 0.4944 GB, free: 4.703 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.085e-05/0.1433, allocations: 115.9 kB / 0.4945 GB, free: 4.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1433, allocations: 4 kB / 0.4946 GB, free: 4.586 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.1436, allocations: 28 kB / 0.4946 GB, free: 4.559 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.001076/0.1447, allocations: 463.2 kB / 0.495 GB, free: 4.148 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0005978/0.1453, allocations: 147.8 kB / 0.4952 GB, free: 4.004 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1453, allocations: 4 kB / 0.4952 GB, free: 4 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002668/0.1456, allocations: 79.86 kB / 0.4952 GB, free: 3.922 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000361/0.1459, allocations: 20.16 kB / 0.4953 GB, free: 3.902 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005047/0.1465, allocations: 205.9 kB / 0.4955 GB, free: 3.676 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.1468, allocations: 0.7002 MB / 0.4961 GB, free: 2.949 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.62e-05/0.1469, allocations: 8.656 kB / 0.4961 GB, free: 2.941 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.452e-05/0.1469, allocations: 15.44 kB / 0.4962 GB, free: 2.926 MB / 382.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1469, allocations: 4 kB / 0.4962 GB, free: 2.922 MB / 382.1 MB Notification: Performance of Templates: time 0.005062/0.152, allocations: 2.031 MB / 0.4981 GB, free: 0.8945 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/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