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.001612/0.001612, allocations: 101.5 kB / 17.85 MB, free: 5.66 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.001912/0.001912, allocations: 194 kB / 18.77 MB, free: 4.742 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.431/1.431, allocations: 222.9 MB / 242.5 MB, free: 13.77 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.2217/0.2217, allocations: 44.18 MB / 336.8 MB, free: 2.781 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001257/0.001257, allocations: 64.45 kB / 408.4 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1215, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004314/0.1259, allocations: 2.085 MB / 471.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.128, allocations: 1.139 MB / 472.4 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001698/0.1282, allocations: 3.938 kB / 472.4 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.1284, allocations: 39.77 kB / 472.5 MB, free: 11.54 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003747/0.1289, allocations: 139.5 kB / 472.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001325/0.1302, allocations: 0.5654 MB / 473.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.1306, allocations: 294.9 kB / 473.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001974/0.1308, allocations: 84.61 kB / 473.5 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.1311, allocations: 119.5 kB / 473.6 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.1314, allocations: 191.2 kB / 473.8 MB, free: 10.17 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-05/0.1314, allocations: 8 kB / 473.8 MB, free: 10.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001431/0.1316, allocations: 55.97 kB / 473.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001629/0.1318, allocations: 151.5 kB / 474 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.132, allocations: 158.7 kB / 474.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003016/0.1323, allocations: 283.5 kB / 474.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.1323, allocations: 0 / 474.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1323, allocations: 0 / 474.5 MB, free: 9.523 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.1323, allocations: 0 / 474.5 MB, free: 9.523 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.001033/0.1333, allocations: 0.7801 MB / 475.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.1334, allocations: 8.031 kB / 475.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.1335, allocations: 52.28 kB / 475.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005306/0.134, allocations: 455.8 kB / 475.8 MB, free: 8.152 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.1341, allocations: 12.38 kB / 475.8 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.293e-05/0.1341, allocations: 12.12 kB / 475.8 MB, free: 8.129 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/0.1345, allocations: 161.1 kB / 475.9 MB, free: 7.961 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.1345, allocations: 4 kB / 475.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.1345, allocations: 0 / 475.9 MB, free: 7.957 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.1345, allocations: 4 kB / 475.9 MB, free: 7.953 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003245/0.1348, allocations: 123.8 kB / 476.1 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001042/0.1359, allocations: 0.7112 MB / 476.8 MB, free: 7.066 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000282/0.1362, allocations: 125.2 kB / 476.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.1364, allocations: 69.73 kB / 477 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.1364, allocations: 8 kB / 477 MB, free: 6.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.1364, allocations: 34.56 kB / 477 MB, free: 6.801 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.172e-06/0.1364, allocations: 0 / 477 MB, free: 6.801 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002104/0.1386, allocations: 0.732 MB / 477.7 MB, free: 6.059 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1386, allocations: 85.05 kB / 477.8 MB, free: 5.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009246/0.1395, allocations: 0.8506 MB / 478.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.646e-05/0.1396, allocations: 29.7 kB / 478.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1398, allocations: 252.4 kB / 478.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.286e-05/0.1398, allocations: 63.23 kB / 479 MB, free: 4.75 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.14e-05/0.1399, allocations: 45.69 kB / 479.1 MB, free: 4.699 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1401, allocations: 374.7 kB / 479.4 MB, free: 4.324 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002946/0.1404, allocations: 107.9 kB / 479.5 MB, free: 4.219 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003021/0.1407, allocations: 133.6 kB / 479.7 MB, free: 4.082 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005763/0.1413, allocations: 249.6 kB / 479.9 MB, free: 3.832 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1413, allocations: 4 kB / 479.9 MB, free: 3.828 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007339/0.142, allocations: 332.8 kB / 480.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.1421, allocations: 4 kB / 480.2 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/0.1421, allocations: 4 kB / 480.2 MB, free: 3.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.1421, allocations: 3.984 kB / 480.2 MB, free: 3.484 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002945/0.1424, allocations: 55.95 kB / 480.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.1424, allocations: 0 / 480.3 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.1426, allocations: 23.89 kB / 480.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.1426, allocations: 11.97 kB / 480.3 MB, free: 3.395 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.0002164/0.1429, allocations: 221.7 kB / 480.5 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.143, allocations: 51.34 kB / 480.6 MB, free: 3.117 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008621/0.1439, allocations: 402.7 kB / 481 MB, free: 2.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.1439, allocations: 4 kB / 481 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.1439, allocations: 0 / 481 MB, free: 2.715 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.1439, allocations: 7.984 kB / 481 MB, free: 2.707 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00139/0.1453, allocations: 0.9268 MB / 481.9 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/0.1453, allocations: 11.98 kB / 481.9 MB, free: 1.711 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002566/0.1456, allocations: 51.89 kB / 482 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1456, allocations: 0 / 482 MB, free: 1.66 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.1456, allocations: 8 kB / 482 MB, free: 1.652 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.291e-06/0.1456, allocations: 3.938 kB / 482 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.906e-06/0.1456, allocations: 4 kB / 482 MB, free: 1.645 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.1464, allocations: 0.5019 MB / 482.5 MB, free: 1.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.1465, allocations: 136.4 kB / 482.6 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.195e-05/0.1466, allocations: 3.938 kB / 482.6 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002475/0.1469, allocations: 27.92 kB / 482.7 MB, free: 0.9414 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.018e-05/0.1469, allocations: 23.95 kB / 482.7 MB, free: 0.918 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.954e-05/0.147, allocations: 7.984 kB / 482.7 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006583/0.1476, allocations: 0.6276 MB / 483.3 MB, free: 292 kB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1476, allocations: 0 / 483.3 MB, free: 292 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003657/0.148, allocations: 64 kB / 483.4 MB, free: 228 kB / 350.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.0009142/0.1489, allocations: 404.4 kB / 483.8 MB, free: 15.98 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006812/0.1496, allocations: 259.7 kB / 484 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1496, allocations: 4 kB / 484 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003159/0.15, allocations: 147.8 kB / 484.2 MB, free: 15.58 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.1506, allocations: 67.02 kB / 484.3 MB, free: 15.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.1522, allocations: 1.106 MB / 485.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004572/0.1526, allocations: 0.8689 MB / 486.2 MB, free: 13.47 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.1528, allocations: 51.34 kB / 486.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1528, allocations: 0 / 486.3 MB, free: 13.42 MB / 366.1 MB Notification: Performance of Templates: time 0.009644/0.1624, allocations: 6.059 MB / 492.3 MB, free: 7.391 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/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