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.001339/0.001339, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001418/0.001418, allocations: 194 kB / 18.12 MB, free: 5.363 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.505/1.505, allocations: 222.9 MB / 241.8 MB, free: 15.54 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.2419/0.2419, allocations: 44.17 MB / 336.1 MB, free: 3.023 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001518/0.001518, allocations: 62.91 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/0.127, allocations: 60.82 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.004038/0.1311, allocations: 2.096 MB / 470.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002504/0.1337, allocations: 1.146 MB / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003726/0.1341, allocations: 0 / 471.8 MB, free: 11.6 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004928/0.1346, allocations: 43.7 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000628/0.1353, allocations: 135.5 kB / 471.9 MB, free: 11.42 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001595/0.1369, allocations: 0.5679 MB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005417/0.1375, allocations: 295 kB / 472.8 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002386/0.1377, allocations: 76.62 kB / 472.9 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000306/0.138, allocations: 127.4 kB / 473 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003744/0.1384, allocations: 191.3 kB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.513e-05/0.1385, allocations: 15.94 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002152/0.1387, allocations: 51.98 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.139, allocations: 143.5 kB / 473.4 MB, free: 9.984 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002378/0.1392, allocations: 166.6 kB / 473.5 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005851/0.1398, allocations: 370.6 kB / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.1398, allocations: 0 / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1398, allocations: 0 / 473.9 MB, free: 9.457 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.194e-05/0.1398, allocations: 0 / 473.9 MB, free: 9.457 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.001229/0.1411, allocations: 0.7735 MB / 474.7 MB, free: 8.633 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.1411, allocations: 12.03 kB / 474.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001226/0.1412, allocations: 52.28 kB / 474.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005849/0.1418, allocations: 455.8 kB / 475.2 MB, free: 8.086 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.1419, allocations: 8.375 kB / 475.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.533e-05/0.1419, allocations: 8.125 kB / 475.2 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003627/0.1423, allocations: 165.1 kB / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.519e-05/0.1423, allocations: 0 / 475.4 MB, free: 7.898 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.1423, allocations: 8 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.1423, allocations: 4 kB / 475.4 MB, free: 7.887 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003409/0.1427, allocations: 111.9 kB / 475.5 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.1439, allocations: 0.7111 MB / 476.2 MB, free: 7.012 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003124/0.1442, allocations: 133.2 kB / 476.3 MB, free: 6.863 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.1444, allocations: 69.8 kB / 476.4 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.555e-05/0.1444, allocations: 7.984 kB / 476.4 MB, free: 6.781 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/0.1445, allocations: 34.56 kB / 476.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 2.796e-06/0.1445, allocations: 0 / 476.4 MB, free: 6.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002179/0.1467, allocations: 0.732 MB / 477.2 MB, free: 5.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.1467, allocations: 77.11 kB / 477.2 MB, free: 5.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009851/0.1477, allocations: 0.8584 MB / 478.1 MB, free: 5.035 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.645e-05/0.1478, allocations: 25.7 kB / 478.1 MB, free: 5.004 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002219/0.148, allocations: 252.4 kB / 478.4 MB, free: 4.754 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.259e-05/0.1481, allocations: 67 kB / 478.4 MB, free: 4.688 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.1482, allocations: 45.69 kB / 478.5 MB, free: 4.637 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000204/0.1484, allocations: 366.7 kB / 478.8 MB, free: 4.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002874/0.1487, allocations: 119.8 kB / 479 MB, free: 4.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002876/0.149, allocations: 128.2 kB / 479.1 MB, free: 4.023 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.1496, allocations: 257.6 kB / 479.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1496, allocations: 0 / 479.3 MB, free: 3.766 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007479/0.1504, allocations: 328.8 kB / 479.7 MB, free: 3.438 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.1504, allocations: 8 kB / 479.7 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1504, allocations: 4 kB / 479.7 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.1504, allocations: 3.984 kB / 479.7 MB, free: 3.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003083/0.1508, allocations: 55.89 kB / 479.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.745e-06/0.1508, allocations: 0.75 kB / 479.7 MB, free: 3.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.151, allocations: 24.11 kB / 479.8 MB, free: 3.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.358e-05/0.151, allocations: 7.984 kB / 479.8 MB, free: 3.336 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.0002273/0.1512, allocations: 225.7 kB / 480 MB, free: 3.105 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.1514, allocations: 51.34 kB / 480 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008509/0.1522, allocations: 397.8 kB / 480.4 MB, free: 2.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.1522, allocations: 4 kB / 480.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.1522, allocations: 0 / 480.4 MB, free: 2.656 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-06/0.1523, allocations: 3.984 kB / 480.4 MB, free: 2.652 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00148/0.1537, allocations: 0.9388 MB / 481.4 MB, free: 1.656 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.671e-06/0.1538, allocations: 7.984 kB / 481.4 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002524/0.154, allocations: 47.95 kB / 481.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.147e-06/0.154, allocations: 0 / 481.4 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.1541, allocations: 8 kB / 481.4 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.217e-06/0.1541, allocations: 3.938 kB / 481.4 MB, free: 1.59 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1541, allocations: 4 kB / 481.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007935/0.1549, allocations: 0.5018 MB / 481.9 MB, free: 1.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/0.155, allocations: 140.4 kB / 482.1 MB, free: 0.9102 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.1551, allocations: 4 kB / 482.1 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.1553, allocations: 23.92 kB / 482.1 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.151e-05/0.1554, allocations: 15.97 kB / 482.1 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.894e-05/0.1554, allocations: 11.98 kB / 482.1 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006854/0.1561, allocations: 0.6237 MB / 482.8 MB, free: 240 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1561, allocations: 0 / 482.8 MB, free: 240 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004001/0.1566, allocations: 60 kB / 482.8 MB, free: 180 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.001071/0.1576, allocations: 421.3 kB / 483.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006512/0.1583, allocations: 251.7 kB / 483.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.1583, allocations: 0 / 483.5 MB, free: 15.67 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003211/0.1586, allocations: 155.8 kB / 483.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007037/0.1593, allocations: 74.23 kB / 483.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.1614, allocations: 1.097 MB / 484.8 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.162, allocations: 0.8773 MB / 485.7 MB, free: 13.41 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003014/0.1624, allocations: 102.8 kB / 485.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001353/0.1625, allocations: 39.42 kB / 485.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of SimCode: time 1.213e-06/0.1625, allocations: 0 / 485.8 MB, free: 13.27 MB / 366.1 MB Notification: Performance of Templates: time 0.01061/0.1731, allocations: 4.117 MB / 489.9 MB, free: 9.18 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