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.001468/0.001468, allocations: 106.4 kB / 17.03 MB, free: 5.703 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.001582/0.001583, allocations: 194.9 kB / 17.96 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.441/1.441, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2141/0.2141, allocations: 43.51 MB / 314.7 MB, free: 488 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.001493/0.001493, allocations: 66.3 kB / 384.2 MB, free: 56.34 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1114/0.1129, allocations: 57.79 MB / 442 MB, free: 6.156 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.002921/0.1159, allocations: 1.956 MB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001378/0.1173, allocations: 1.057 MB / 445 MB, free: 3.117 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.083e-05/0.1174, allocations: 4 kB / 445 MB, free: 3.113 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002369/0.1176, allocations: 51.58 kB / 445 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000295/0.1179, allocations: 151.3 kB / 445.2 MB, free: 2.914 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000956/0.1189, allocations: 0.5521 MB / 445.7 MB, free: 2.375 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002839/0.1192, allocations: 271.3 kB / 446 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000173/0.1194, allocations: 64.72 kB / 446.1 MB, free: 2.047 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001598/0.1195, allocations: 131.4 kB / 446.2 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001748/0.1197, allocations: 175.3 kB / 446.4 MB, free: 1.746 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.214e-05/0.1198, allocations: 12 kB / 446.4 MB, free: 1.734 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.478e-05/0.1199, allocations: 39.97 kB / 446.4 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001312/0.12, allocations: 143.6 kB / 446.5 MB, free: 1.555 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.1201, allocations: 162.7 kB / 446.7 MB, free: 1.395 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.1204, allocations: 366.5 kB / 447.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1204, allocations: 0 / 447.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1205, allocations: 0 / 447.1 MB, free: 1.035 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.1205, allocations: 0 / 447.1 MB, free: 1.035 MB / 318.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.0008871/0.1214, allocations: 0.7346 MB / 447.8 MB, free: 256 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.1214, allocations: 15.89 kB / 447.8 MB, free: 240 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.677e-05/0.1215, allocations: 56.27 kB / 447.9 MB, free: 184 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005464/0.122, allocations: 443.9 kB / 448.3 MB, free: 15.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.787e-05/0.1221, allocations: 8.375 kB / 448.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.1221, allocations: 16.12 kB / 448.3 MB, free: 15.68 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000315/0.1225, allocations: 149.3 kB / 448.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1225, allocations: 3.906 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.649e-05/0.1225, allocations: 4 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1225, allocations: 4 kB / 448.5 MB, free: 15.52 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.1227, allocations: 99.92 kB / 448.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001062/0.1238, allocations: 0.6721 MB / 449.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002332/0.1241, allocations: 129.4 kB / 449.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.1242, allocations: 41.83 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.041e-05/0.1242, allocations: 3.938 kB / 449.4 MB, free: 14.5 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.32e-05/0.1243, allocations: 50.42 kB / 449.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.834e-06/0.1243, allocations: 0 / 449.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=16): time 0.001536/0.1258, allocations: 0.5255 MB / 450 MB, free: 13.9 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.3e-05/0.1259, allocations: 77.11 kB / 450.1 MB, free: 13.81 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.127, allocations: 0.8545 MB / 450.9 MB, free: 12.95 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.967e-05/0.127, allocations: 25.7 kB / 450.9 MB, free: 12.91 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.1272, allocations: 248.2 kB / 451.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.284e-05/0.1273, allocations: 59.25 kB / 451.2 MB, free: 12.61 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.132e-05/0.1274, allocations: 33.64 kB / 451.3 MB, free: 12.57 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002003/0.1276, allocations: 378.7 kB / 451.7 MB, free: 12.19 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.1278, allocations: 63.95 kB / 451.7 MB, free: 12.12 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002884/0.1281, allocations: 73.67 kB / 451.8 MB, free: 12.05 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003888/0.1285, allocations: 165.7 kB / 451.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.113e-06/0.1285, allocations: 0 / 451.9 MB, free: 11.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004813/0.129, allocations: 232.9 kB / 452.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.1291, allocations: 9.25 kB / 452.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1291, allocations: 0 / 452.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/0.1291, allocations: 4 kB / 452.2 MB, free: 11.63 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003004/0.1294, allocations: 43.91 kB / 452.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.1294, allocations: 0 / 452.2 MB, free: 11.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.1295, allocations: 11.98 kB / 452.2 MB, free: 11.58 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.582e-05/0.1296, allocations: 4 kB / 452.2 MB, free: 11.57 MB / 334.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.0002439/0.1298, allocations: 225.6 kB / 452.5 MB, free: 11.34 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1299, allocations: 55.25 kB / 452.5 MB, free: 11.29 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006007/0.1305, allocations: 286.9 kB / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/0.1305, allocations: 4 kB / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1306, allocations: 0 / 452.8 MB, free: 11 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.682e-06/0.1306, allocations: 3.984 kB / 452.8 MB, free: 10.99 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001335/0.1319, allocations: 0.7902 MB / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1319, allocations: 0 / 453.6 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.1321, allocations: 39.91 kB / 453.6 MB, free: 10.11 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1321, allocations: 3.938 kB / 453.6 MB, free: 10.1 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.8e-05/0.1321, allocations: 7.984 kB / 453.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.1321, allocations: 3.938 kB / 453.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1321, allocations: 0 / 453.7 MB, free: 10.09 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/0.1327, allocations: 421.2 kB / 454.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002128/0.133, allocations: 132.5 kB / 454.2 MB, free: 9.516 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.531e-05/0.133, allocations: 4 kB / 454.2 MB, free: 9.512 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.1332, allocations: 19.91 kB / 454.2 MB, free: 9.492 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.1333, allocations: 19.98 kB / 454.2 MB, free: 9.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.504e-05/0.1333, allocations: 4 kB / 454.2 MB, free: 9.469 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006737/0.134, allocations: 0.6237 MB / 454.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.134, allocations: 0 / 454.9 MB, free: 8.848 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003678/0.1343, allocations: 56 kB / 454.9 MB, free: 8.793 MB / 334.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.001043/0.1354, allocations: 406.5 kB / 455.3 MB, free: 8.461 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0004618/0.1359, allocations: 175.7 kB / 455.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1359, allocations: 0 / 455.5 MB, free: 8.289 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.1361, allocations: 83.89 kB / 455.6 MB, free: 8.207 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006996/0.1368, allocations: 78.94 kB / 455.6 MB, free: 8.129 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.1382, allocations: 0.9 MB / 456.5 MB, free: 7.195 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008162/0.139, allocations: 0.869 MB / 457.4 MB, free: 6.301 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002915/0.1393, allocations: 87.53 kB / 457.5 MB, free: 6.215 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.747e-05/0.1394, allocations: 39.42 kB / 457.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1394, allocations: 0 / 457.5 MB, free: 6.176 MB / 334.1 MB Notification: Performance of Templates: time 0.009617/0.1491, allocations: 3.985 MB / 461.5 MB, free: 2.195 MB / 334.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/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