Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 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.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") translateModel(ModelicaTest.Tables.CombiTable2D.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_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001256/0.001257, allocations: 109.4 kB / 17.04 MB, free: 5.809 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.001364/0.001365, allocations: 195 kB / 17.98 MB, free: 5.027 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.657/1.657, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2381/0.2381, allocations: 43.51 MB / 314.7 MB, free: 496 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.001454/0.001454, allocations: 71.59 kB / 384.2 MB, free: 56.42 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1288/0.1303, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.003723/0.134, allocations: 2.013 MB / 444 MB, free: 4.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001455/0.1355, allocations: 0.9872 MB / 445 MB, free: 3.133 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.1356, allocations: 4 kB / 445 MB, free: 3.129 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002817/0.1359, allocations: 47.58 kB / 445 MB, free: 3.082 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003546/0.1363, allocations: 159.2 kB / 445.2 MB, free: 2.926 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007501/0.1371, allocations: 394 kB / 445.6 MB, free: 2.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003086/0.1374, allocations: 279.1 kB / 445.8 MB, free: 2.277 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.1376, allocations: 72.61 kB / 445.9 MB, free: 2.207 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.1378, allocations: 131.5 kB / 446 MB, free: 2.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.138, allocations: 187.4 kB / 446.2 MB, free: 1.895 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.118e-05/0.138, allocations: 12 kB / 446.2 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001021/0.1381, allocations: 39.98 kB / 446.3 MB, free: 1.844 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000136/0.1383, allocations: 143.5 kB / 446.4 MB, free: 1.703 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001129/0.1384, allocations: 170.7 kB / 446.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000308/0.1387, allocations: 370.5 kB / 446.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.1387, allocations: 0 / 446.9 MB, free: 1.172 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.914e-06/0.1387, allocations: 4 kB / 446.9 MB, free: 1.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1387, allocations: 0 / 446.9 MB, free: 1.168 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.0008745/0.1396, allocations: 0.7591 MB / 447.7 MB, free: 368 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.816e-05/0.1397, allocations: 11.89 kB / 447.7 MB, free: 356 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.329e-05/0.1397, allocations: 52.28 kB / 447.8 MB, free: 304 kB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005011/0.1402, allocations: 439.9 kB / 448.2 MB, free: 15.83 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.596e-05/0.1403, allocations: 12.31 kB / 448.2 MB, free: 15.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.072e-05/0.1403, allocations: 20.03 kB / 448.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.1406, allocations: 145.3 kB / 448.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1406, allocations: 0 / 448.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.1407, allocations: 4 kB / 448.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.1407, allocations: 4 kB / 448.4 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002652/0.1409, allocations: 103.9 kB / 448.5 MB, free: 15.54 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009423/0.1419, allocations: 0.6721 MB / 449.1 MB, free: 14.81 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002789/0.1422, allocations: 117.2 kB / 449.3 MB, free: 14.68 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001419/0.1423, allocations: 57.81 kB / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/0.1424, allocations: 8 kB / 449.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.059e-05/0.1424, allocations: 38.48 kB / 449.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.513e-06/0.1424, allocations: 0 / 449.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001815/0.1442, allocations: 0.6622 MB / 450 MB, free: 13.89 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.1443, allocations: 85.05 kB / 450.1 MB, free: 13.79 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008437/0.1452, allocations: 0.8465 MB / 451 MB, free: 12.93 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.842e-05/0.1452, allocations: 29.7 kB / 451 MB, free: 12.89 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.1454, allocations: 248.6 kB / 451.2 MB, free: 12.65 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.969e-05/0.1455, allocations: 70.98 kB / 451.3 MB, free: 12.58 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.337e-05/0.1455, allocations: 45.64 kB / 451.3 MB, free: 12.53 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.1457, allocations: 370.7 kB / 451.7 MB, free: 12.16 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.146, allocations: 91.88 kB / 451.8 MB, free: 12.07 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.1462, allocations: 109.6 kB / 451.9 MB, free: 11.95 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004675/0.1467, allocations: 213.7 kB / 452.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1467, allocations: 0 / 452.1 MB, free: 11.74 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006283/0.1474, allocations: 292.8 kB / 452.4 MB, free: 11.45 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.1474, allocations: 4 kB / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.1474, allocations: 0 / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.1474, allocations: 4 kB / 452.4 MB, free: 11.44 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1477, allocations: 55.88 kB / 452.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.133e-05/0.1477, allocations: 4 kB / 452.5 MB, free: 11.38 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.1479, allocations: 23.98 kB / 452.5 MB, free: 11.36 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1479, allocations: 7.984 kB / 452.5 MB, free: 11.35 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 (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.0002151/0.1482, allocations: 217.6 kB / 452.7 MB, free: 11.12 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.568e-05/0.1483, allocations: 51.34 kB / 452.8 MB, free: 11.07 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007449/0.149, allocations: 353.6 kB / 453.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.149, allocations: 4 kB / 453.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.1491, allocations: 0.5625 kB / 453.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.1491, allocations: 0 / 453.1 MB, free: 10.71 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.1504, allocations: 0.8726 MB / 454 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.1504, allocations: 0 / 454 MB, free: 9.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002354/0.1506, allocations: 51.95 kB / 454 MB, free: 9.734 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/0.1507, allocations: 4 kB / 454 MB, free: 9.73 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.1507, allocations: 4 kB / 454 MB, free: 9.727 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.1507, allocations: 15.86 kB / 454.1 MB, free: 9.711 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1507, allocations: 4 kB / 454.1 MB, free: 9.707 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006834/0.1514, allocations: 469.1 kB / 454.5 MB, free: 9.234 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001619/0.1516, allocations: 140.4 kB / 454.6 MB, free: 9.078 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.667e-05/0.1516, allocations: 4 kB / 454.7 MB, free: 9.074 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.1518, allocations: 19.92 kB / 454.7 MB, free: 9.055 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.094e-05/0.1519, allocations: 19.97 kB / 454.7 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.881e-05/0.152, allocations: 15.92 kB / 454.7 MB, free: 9.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006262/0.1526, allocations: 0.6159 MB / 455.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1526, allocations: 0 / 455.3 MB, free: 8.406 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000355/0.153, allocations: 56 kB / 455.4 MB, free: 8.352 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 (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.0009787/0.1539, allocations: 419.5 kB / 455.8 MB, free: 8.016 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005684/0.1545, allocations: 219.8 kB / 456 MB, free: 7.801 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 6.463e-06/0.1545, allocations: 4 kB / 456 MB, free: 7.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002628/0.1548, allocations: 123.8 kB / 456.1 MB, free: 7.676 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006133/0.1554, allocations: 78.98 kB / 456.2 MB, free: 7.598 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001444/0.1569, allocations: 0.9077 MB / 457.1 MB, free: 6.652 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005248/0.1574, allocations: 0.8652 MB / 458 MB, free: 5.762 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002028/0.1576, allocations: 74.91 kB / 458.1 MB, free: 5.691 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.1578, allocations: 43.42 kB / 458.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of SimCode: time 7.02e-07/0.1578, allocations: 0 / 458.1 MB, free: 5.648 MB / 334.1 MB Notification: Performance of Templates: time 0.009497/0.1673, allocations: 4.254 MB / 462.3 MB, free: 1.402 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches