Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cosine_R.y|sine_R.y|cosine_L.y|sine_L.y|combiTable2D_1R.y|combiTable2D_2R.y|combiTable2D_1L.y|combiTable2D_2L.y|der_1R.y|der_2R.y|der_1L.y|der_2L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001147, allocations: 106.1 kB / 18.3 MB, free: 4.887 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.001171/0.001171, allocations: 195.3 kB / 19.23 MB, free: 3.961 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.349/1.349, allocations: 222.9 MB / 242.9 MB, free: 15.23 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.196/0.196, allocations: 44.18 MB / 337.3 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001476/0.001476, allocations: 64.83 kB / 409.1 MB, free: 27.25 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1104/0.1119, allocations: 60.82 MB / 469.9 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test23): time 0.004469/0.1164, allocations: 2.027 MB / 472 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00197/0.1185, allocations: 1.056 MB / 473 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001897/0.1187, allocations: 4 kB / 473 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.119, allocations: 39.59 kB / 473.1 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000473/0.1195, allocations: 151.3 kB / 473.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1205, allocations: 431.5 kB / 473.6 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004099/0.121, allocations: 287 kB / 473.9 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000187/0.1212, allocations: 64.69 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002517/0.1214, allocations: 123.5 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003008/0.1217, allocations: 191.3 kB / 474.3 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.989e-05/0.1218, allocations: 16 kB / 474.3 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001633/0.122, allocations: 59.98 kB / 474.3 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001776/0.1221, allocations: 139.5 kB / 474.5 MB, free: 9.816 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.1223, allocations: 166.7 kB / 474.6 MB, free: 9.652 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004424/0.1228, allocations: 366.9 kB / 475 MB, free: 9.293 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1228, allocations: 0 / 475 MB, free: 9.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.542e-06/0.1228, allocations: 0 / 475 MB, free: 9.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.39e-05/0.1228, allocations: 4 kB / 475 MB, free: 9.289 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.001068/0.1239, allocations: 0.7658 MB / 475.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.1239, allocations: 8.031 kB / 475.8 MB, free: 8.465 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001135/0.1241, allocations: 56.28 kB / 475.8 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005714/0.1246, allocations: 451.7 kB / 476.3 MB, free: 7.926 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1247, allocations: 8.375 kB / 476.3 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.662e-05/0.1247, allocations: 12.12 kB / 476.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003295/0.125, allocations: 143 kB / 476.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.506e-05/0.1251, allocations: 0 / 476.4 MB, free: 7.758 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.1251, allocations: 4 kB / 476.4 MB, free: 7.754 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1251, allocations: 8 kB / 476.4 MB, free: 7.746 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003044/0.1254, allocations: 99.86 kB / 476.5 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00101/0.1264, allocations: 0.6683 MB / 477.2 MB, free: 6.926 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.1267, allocations: 117.2 kB / 477.3 MB, free: 6.793 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000158/0.1269, allocations: 61.75 kB / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.077e-05/0.127, allocations: 19.95 kB / 477.4 MB, free: 6.707 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.127, allocations: 34.78 kB / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.816e-06/0.127, allocations: 0 / 477.4 MB, free: 6.664 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002209/0.1292, allocations: 0.6698 MB / 478.1 MB, free: 5.984 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.1293, allocations: 81.11 kB / 478.2 MB, free: 5.887 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001009/0.1303, allocations: 0.8388 MB / 479 MB, free: 5.039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.868e-05/0.1304, allocations: 33.7 kB / 479.1 MB, free: 5 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001906/0.1306, allocations: 248.3 kB / 479.3 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.901e-05/0.1306, allocations: 71.08 kB / 479.4 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-05/0.1307, allocations: 37.7 kB / 479.4 MB, free: 4.641 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.1309, allocations: 374.7 kB / 479.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002749/0.1312, allocations: 83.94 kB / 479.9 MB, free: 4.184 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002829/0.1315, allocations: 116.6 kB / 480 MB, free: 4.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/0.132, allocations: 209.7 kB / 480.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.132, allocations: 0 / 480.2 MB, free: 3.855 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007101/0.1328, allocations: 296.7 kB / 480.5 MB, free: 3.559 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.011e-05/0.1328, allocations: 8 kB / 480.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.1328, allocations: 0 / 480.5 MB, free: 3.551 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.1328, allocations: 4 kB / 480.5 MB, free: 3.547 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/0.1331, allocations: 55.95 kB / 480.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1332, allocations: 0 / 480.5 MB, free: 3.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.1334, allocations: 27.81 kB / 480.6 MB, free: 3.465 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.1334, allocations: 8 kB / 480.6 MB, free: 3.457 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.0002416/0.1336, allocations: 209.7 kB / 480.8 MB, free: 3.242 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001149/0.1338, allocations: 55.34 kB / 480.8 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008378/0.1346, allocations: 345.8 kB / 481.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1346, allocations: 0 / 481.2 MB, free: 2.844 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.893e-06/0.1346, allocations: 4.562 kB / 481.2 MB, free: 2.84 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.1347, allocations: 7.984 kB / 481.2 MB, free: 2.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001393/0.1361, allocations: 0.8647 MB / 482 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.1361, allocations: 4 kB / 482 MB, free: 1.906 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002625/0.1363, allocations: 59.89 kB / 482.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.1364, allocations: 0 / 482.1 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.224e-05/0.1364, allocations: 11.92 kB / 482.1 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.1364, allocations: 3.938 kB / 482.1 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1364, allocations: 4 kB / 482.1 MB, free: 1.828 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007626/0.1372, allocations: 473.9 kB / 482.6 MB, free: 1.348 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.1373, allocations: 132.5 kB / 482.7 MB, free: 1.199 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.474e-05/0.1374, allocations: 4 kB / 482.7 MB, free: 1.195 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000269/0.1377, allocations: 27.92 kB / 482.7 MB, free: 1.168 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.1378, allocations: 19.97 kB / 482.8 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.1378, allocations: 7.984 kB / 482.8 MB, free: 1.141 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007274/0.1385, allocations: 0.6159 MB / 483.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1385, allocations: 0 / 483.4 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003874/0.1389, allocations: 63.89 kB / 483.5 MB, free: 476 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.001017/0.1399, allocations: 410.9 kB / 483.9 MB, free: 220 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007317/0.1407, allocations: 227.8 kB / 484.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.1407, allocations: 0 / 484.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00032/0.141, allocations: 131.8 kB / 484.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.1418, allocations: 69.78 kB / 484.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001606/0.1434, allocations: 0.9291 MB / 485.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004955/0.1439, allocations: 0.8613 MB / 486.1 MB, free: 13.94 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000146/0.1441, allocations: 43.42 kB / 486.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of SimCode: time 4.31e-07/0.1441, allocations: 0 / 486.1 MB, free: 13.9 MB / 366.1 MB Notification: Performance of Templates: time 0.01027/0.1543, allocations: 5.745 MB / 491.9 MB, free: 8.172 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches