Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001816/0.001816, allocations: 112.3 kB / 16.41 MB, free: 6.027 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.002081/0.002082, allocations: 185.1 kB / 17.34 MB, free: 5.633 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.59/1.59, allocations: 205.1 MB / 223.2 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.2429/0.2429, allocations: 43.52 MB / 314.1 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.00168/0.00168, allocations: 63.91 kB / 441.8 MB, free: 5.676 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1175, allocations: 57.8 MB / 499.6 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003742/0.1212, allocations: 1.958 MB / 0.4898 GB, free: 9.832 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002289/0.1236, allocations: 1.057 MB / 0.4908 GB, free: 8.766 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002084/0.1238, allocations: 4 kB / 0.4908 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003425/0.1242, allocations: 51.58 kB / 0.4909 GB, free: 8.711 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004912/0.1247, allocations: 147.4 kB / 0.491 GB, free: 8.566 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.1262, allocations: 0.5574 MB / 0.4916 GB, free: 8.008 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006037/0.1268, allocations: 275.3 kB / 0.4918 GB, free: 7.738 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002005/0.127, allocations: 72.56 kB / 0.4919 GB, free: 7.668 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.1273, allocations: 131.4 kB / 0.492 GB, free: 7.539 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002909/0.1276, allocations: 179.3 kB / 0.4922 GB, free: 7.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.55e-05/0.1277, allocations: 12 kB / 0.4922 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001697/0.1278, allocations: 39.97 kB / 0.4922 GB, free: 7.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.128, allocations: 143.6 kB / 0.4924 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000245/0.1283, allocations: 158.8 kB / 0.4925 GB, free: 7.016 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006403/0.1289, allocations: 366.5 kB / 0.4929 GB, free: 6.656 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1289, allocations: 0 / 0.4929 GB, free: 6.656 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1289, allocations: 0 / 0.4929 GB, free: 6.656 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.908e-05/0.129, allocations: 0 / 0.4929 GB, free: 6.656 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001235/0.1302, allocations: 0.7425 MB / 0.4936 GB, free: 5.863 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.1303, allocations: 11.89 kB / 0.4936 GB, free: 5.852 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001089/0.1304, allocations: 52.28 kB / 0.4937 GB, free: 5.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005411/0.1309, allocations: 447.8 kB / 0.4941 GB, free: 5.32 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.1309, allocations: 8.375 kB / 0.4941 GB, free: 5.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.774e-05/0.131, allocations: 16.12 kB / 0.4941 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.1313, allocations: 143.2 kB / 0.4943 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.411e-05/0.1313, allocations: 3.906 kB / 0.4943 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.1313, allocations: 8 kB / 0.4943 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.1313, allocations: 4 kB / 0.4943 GB, free: 5.129 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.1316, allocations: 95.86 kB / 0.4944 GB, free: 5.035 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000995/0.1326, allocations: 0.676 MB / 0.495 GB, free: 4.305 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002145/0.1328, allocations: 121.2 kB / 0.4951 GB, free: 4.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.1329, allocations: 45.83 kB / 0.4952 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.482e-05/0.133, allocations: 0 / 0.4952 GB, free: 4.117 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.133, allocations: 38.5 kB / 0.4952 GB, free: 4.07 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.133, allocations: 7.938 kB / 0.4952 GB, free: 4.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001511/0.1346, allocations: 0.5255 MB / 0.4957 GB, free: 3.527 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.1346, allocations: 81.11 kB / 0.4958 GB, free: 3.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009735/0.1356, allocations: 0.8583 MB / 0.4967 GB, free: 2.559 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.1356, allocations: 33.7 kB / 0.4967 GB, free: 2.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001722/0.1358, allocations: 244.2 kB / 0.4969 GB, free: 2.273 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.385e-05/0.1359, allocations: 59.19 kB / 0.497 GB, free: 2.215 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.94e-05/0.136, allocations: 33.7 kB / 0.497 GB, free: 2.176 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.1361, allocations: 374.7 kB / 0.4974 GB, free: 1.801 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001611/0.1363, allocations: 63.95 kB / 0.4974 GB, free: 1.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.1365, allocations: 85.33 kB / 0.4975 GB, free: 1.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.1368, allocations: 153.8 kB / 0.4977 GB, free: 1.496 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1368, allocations: 0 / 0.4977 GB, free: 1.496 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005018/0.1373, allocations: 244.9 kB / 0.4979 GB, free: 1.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.1374, allocations: 4 kB / 0.4979 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.1374, allocations: 0 / 0.4979 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.038e-05/0.1374, allocations: 0 / 0.4979 GB, free: 1.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002173/0.1376, allocations: 39.97 kB / 0.4979 GB, free: 1.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.1376, allocations: 7.938 kB / 0.4979 GB, free: 1.199 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.1378, allocations: 7.984 kB / 0.498 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.1378, allocations: 8 kB / 0.498 GB, free: 1.184 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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 0.0002322/0.138, allocations: 221.6 kB / 0.4982 GB, free: 0.957 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001074/0.1382, allocations: 59.23 kB / 0.4982 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000637/0.1388, allocations: 287 kB / 0.4985 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.1388, allocations: 7.938 kB / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1388, allocations: 0 / 0.4985 GB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.741e-06/0.1388, allocations: 8 kB / 0.4985 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001213/0.1401, allocations: 0.7825 MB / 0.4993 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.1401, allocations: 0 / 0.4993 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001728/0.1402, allocations: 43.91 kB / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.137e-06/0.1403, allocations: 0 / 0.4993 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.085e-05/0.1403, allocations: 11.98 kB / 0.4993 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.1403, allocations: 3.938 kB / 0.4993 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.1403, allocations: 4 kB / 0.4993 GB, free: 15.69 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005755/0.1409, allocations: 406 kB / 0.4997 GB, free: 15.28 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001481/0.1411, allocations: 132.5 kB / 0.4999 GB, free: 15.13 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.862e-05/0.1411, allocations: 12 kB / 0.4999 GB, free: 15.12 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.1413, allocations: 11.92 kB / 0.4999 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.009e-05/0.1414, allocations: 15.98 kB / 0.4999 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1414, allocations: 4 kB / 0.4999 GB, free: 15.09 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0007851/0.1422, allocations: 0.6276 MB / 0.5005 GB, free: 14.46 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1422, allocations: 0 / 0.5005 GB, free: 14.46 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004008/0.1426, allocations: 55.94 kB / 0.5006 GB, free: 14.41 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (16): * Single equations (assignments): 16 * 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.001022/0.1437, allocations: 409.2 kB / 0.501 GB, free: 14.04 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0004456/0.1441, allocations: 159.8 kB / 0.5011 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1441, allocations: 0 / 0.5011 GB, free: 13.88 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001903/0.1443, allocations: 83.89 kB / 0.5012 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006158/0.145, allocations: 74.77 kB / 0.5013 GB, free: 13.73 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1464, allocations: 0.9036 MB / 0.5021 GB, free: 12.79 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005127/0.1469, allocations: 0.8653 MB / 0.503 GB, free: 11.9 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0002101/0.1472, allocations: 82.91 kB / 0.5031 GB, free: 11.82 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.1473, allocations: 39.42 kB / 0.5031 GB, free: 11.78 MB / 398.1 MB Notification: Performance of SimCode: time 8.41e-07/0.1473, allocations: 3.938 kB / 0.5031 GB, free: 11.78 MB / 398.1 MB Notification: Performance of Templates: time 0.009275/0.1566, allocations: 4.037 MB / 0.507 GB, free: 7.742 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches