Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001002/0.001002, allocations: 104.1 kB / 17.64 MB, free: 5.48 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.0009434/0.0009434, allocations: 192 kB / 18.55 MB, free: 4.566 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.281/1.281, allocations: 222.9 MB / 242.2 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2072/0.2072, allocations: 44.17 MB / 336.6 MB, free: 2.754 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001383/0.001383, allocations: 64.41 kB / 408.4 MB, free: 27.23 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1234, allocations: 60.82 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004082/0.1275, allocations: 2.038 MB / 471.3 MB, free: 12.32 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002031/0.1295, allocations: 1.158 MB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001878/0.1298, allocations: 0 / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002765/0.1301, allocations: 51.56 kB / 472.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.1305, allocations: 159.2 kB / 472.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001358/0.1319, allocations: 0.5883 MB / 473.2 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005616/0.1324, allocations: 311 kB / 473.5 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.1327, allocations: 76.62 kB / 473.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000247/0.1329, allocations: 135.5 kB / 473.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002834/0.1332, allocations: 195.3 kB / 473.9 MB, free: 9.672 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.133e-05/0.1333, allocations: 16 kB / 474 MB, free: 9.656 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001611/0.1334, allocations: 63.95 kB / 474 MB, free: 9.594 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.1336, allocations: 147.5 kB / 474.2 MB, free: 9.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001597/0.1338, allocations: 158.7 kB / 474.3 MB, free: 9.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004751/0.1343, allocations: 386.6 kB / 474.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1343, allocations: 0 / 474.7 MB, free: 8.914 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1343, allocations: 4 kB / 474.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.1343, allocations: 0 / 474.7 MB, free: 8.91 MB / 350.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.001024/0.1353, allocations: 0.7735 MB / 475.5 MB, free: 8.086 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.607e-05/0.1354, allocations: 8.031 kB / 475.5 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.1355, allocations: 56.27 kB / 475.5 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/0.136, allocations: 459.8 kB / 476 MB, free: 7.531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.325e-05/0.1361, allocations: 4.375 kB / 476 MB, free: 7.527 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.727e-05/0.1361, allocations: 12.12 kB / 476 MB, free: 7.516 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000354/0.1365, allocations: 163 kB / 476.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.445e-05/0.1365, allocations: 0 / 476.2 MB, free: 7.348 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.1365, allocations: 7.984 kB / 476.2 MB, free: 7.34 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.391e-05/0.1365, allocations: 4 kB / 476.2 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003068/0.1368, allocations: 115.8 kB / 476.3 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001046/0.1379, allocations: 0.7035 MB / 477 MB, free: 6.465 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003094/0.1382, allocations: 137.3 kB / 477.1 MB, free: 6.312 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.1384, allocations: 69.73 kB / 477.2 MB, free: 6.238 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.687e-05/0.1384, allocations: 4 kB / 477.2 MB, free: 6.234 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.1385, allocations: 34.56 kB / 477.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.273e-06/0.1385, allocations: 4 kB / 477.2 MB, free: 6.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002154/0.1406, allocations: 0.7364 MB / 478 MB, free: 5.441 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.591e-05/0.1407, allocations: 81.09 kB / 478.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009221/0.1416, allocations: 0.8506 MB / 478.9 MB, free: 4.484 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1417, allocations: 25.7 kB / 478.9 MB, free: 4.453 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001835/0.1419, allocations: 256.3 kB / 479.2 MB, free: 4.199 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.892e-05/0.1419, allocations: 63.02 kB / 479.2 MB, free: 4.137 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.734e-05/0.142, allocations: 49.69 kB / 479.3 MB, free: 4.082 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1422, allocations: 366.7 kB / 479.6 MB, free: 3.715 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/0.1425, allocations: 111.9 kB / 479.8 MB, free: 3.605 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002846/0.1428, allocations: 129.8 kB / 479.9 MB, free: 3.473 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005711/0.1434, allocations: 245.5 kB / 480.1 MB, free: 3.227 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.1434, allocations: 4 kB / 480.1 MB, free: 3.223 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007819/0.1442, allocations: 344.9 kB / 480.5 MB, free: 2.879 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.1442, allocations: 4 kB / 480.5 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.012e-05/0.1442, allocations: 4 kB / 480.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.1442, allocations: 0 / 480.5 MB, free: 2.871 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002956/0.1445, allocations: 55.94 kB / 480.5 MB, free: 2.816 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.1446, allocations: 4 kB / 480.5 MB, free: 2.812 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001967/0.1448, allocations: 23.89 kB / 480.6 MB, free: 2.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.535e-05/0.1448, allocations: 7.984 kB / 480.6 MB, free: 2.781 MB / 350.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 (20): * Single equations (assignments): 20 * 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.0002466/0.145, allocations: 217.7 kB / 480.8 MB, free: 2.559 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.1452, allocations: 55.34 kB / 480.8 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008943/0.1461, allocations: 401.7 kB / 481.2 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.314e-06/0.1461, allocations: 4 kB / 481.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1461, allocations: 0 / 481.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.1461, allocations: 0 / 481.2 MB, free: 2.102 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001418/0.1475, allocations: 0.9428 MB / 482.2 MB, free: 1.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.583e-06/0.1476, allocations: 4.094 kB / 482.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002479/0.1478, allocations: 59.83 kB / 482.2 MB, free: 1.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.1478, allocations: 3.984 kB / 482.2 MB, free: 1.035 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.1479, allocations: 8 kB / 482.2 MB, free: 1.027 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1479, allocations: 3.938 kB / 482.2 MB, free: 1.023 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/0.1479, allocations: 4 kB / 482.2 MB, free: 1.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007713/0.1486, allocations: 0.4979 MB / 482.7 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001216/0.1488, allocations: 140.4 kB / 482.9 MB, free: 356 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.1488, allocations: 7.984 kB / 482.9 MB, free: 348 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1491, allocations: 23.92 kB / 482.9 MB, free: 324 kB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.88e-05/0.1492, allocations: 19.97 kB / 482.9 MB, free: 304 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1492, allocations: 4 kB / 482.9 MB, free: 300 kB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006214/0.1498, allocations: 0.6276 MB / 483.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1498, allocations: 0 / 483.6 MB, free: 15.67 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003667/0.1502, allocations: 60 kB / 483.6 MB, free: 15.61 MB / 366.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 (20): * Single equations (assignments): 20 * 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.0009484/0.1512, allocations: 396.9 kB / 484 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006903/0.1519, allocations: 274.3 kB / 484.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.1519, allocations: 3.938 kB / 484.3 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003487/0.1522, allocations: 147.8 kB / 484.4 MB, free: 14.96 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.1529, allocations: 74.2 kB / 484.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001443/0.1544, allocations: 0.9705 MB / 485.5 MB, free: 13.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005041/0.1549, allocations: 0.8848 MB / 486.4 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002882/0.1552, allocations: 102.8 kB / 486.5 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.1553, allocations: 39.42 kB / 486.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1553, allocations: 0 / 486.5 MB, free: 12.84 MB / 366.1 MB Notification: Performance of Templates: time 0.00994/0.1652, allocations: 4.383 MB / 490.9 MB, free: 8.48 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches