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.001071/0.001071, allocations: 109.8 kB / 17.33 MB, free: 6.023 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.001068/0.001068, allocations: 193.3 kB / 18.25 MB, free: 5.117 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.393/1.393, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2226/0.2226, allocations: 44.18 MB / 336.2 MB, free: 2.938 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 66.39 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1223, allocations: 60.82 MB / 468.7 MB, free: 14.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003799/0.1261, allocations: 2.088 MB / 470.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001938/0.1281, allocations: 1.143 MB / 471.9 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.887e-05/0.1282, allocations: 7.938 kB / 472 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002849/0.1285, allocations: 39.77 kB / 472 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.1289, allocations: 143.5 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.1301, allocations: 0.5603 MB / 472.7 MB, free: 10.74 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003696/0.1305, allocations: 311 kB / 473 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001719/0.1307, allocations: 80.56 kB / 473.1 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000175/0.1309, allocations: 135.5 kB / 473.2 MB, free: 10.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002372/0.1311, allocations: 199.2 kB / 473.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.986e-05/0.1312, allocations: 16 kB / 473.4 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001442/0.1313, allocations: 55.98 kB / 473.5 MB, free: 9.953 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001562/0.1315, allocations: 155.5 kB / 473.6 MB, free: 9.801 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001458/0.1316, allocations: 166.7 kB / 473.8 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003909/0.132, allocations: 378.6 kB / 474.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.132, allocations: 0 / 474.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.132, allocations: 0 / 474.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1321, allocations: 0 / 474.2 MB, free: 9.266 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.001065/0.1331, allocations: 0.7813 MB / 474.9 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1332, allocations: 12.03 kB / 474.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.198e-05/0.1333, allocations: 52.28 kB / 475 MB, free: 8.371 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000495/0.1338, allocations: 451.8 kB / 475.4 MB, free: 7.891 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.235e-05/0.1338, allocations: 8.375 kB / 475.4 MB, free: 7.883 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.708e-05/0.1338, allocations: 16.12 kB / 475.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1342, allocations: 156.9 kB / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.1342, allocations: 0 / 475.6 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.1342, allocations: 4 kB / 475.6 MB, free: 7.699 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.1342, allocations: 4 kB / 475.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003124/0.1345, allocations: 119.8 kB / 475.7 MB, free: 7.578 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001005/0.1356, allocations: 0.7073 MB / 476.4 MB, free: 6.816 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003164/0.1359, allocations: 133.4 kB / 476.6 MB, free: 6.668 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001555/0.136, allocations: 69.73 kB / 476.6 MB, free: 6.594 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.968e-05/0.1361, allocations: 7.938 kB / 476.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1361, allocations: 34.56 kB / 476.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.252e-06/0.1361, allocations: 0 / 476.7 MB, free: 6.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=20): time 0.002142/0.1383, allocations: 0.7401 MB / 477.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.1383, allocations: 81.11 kB / 477.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00108/0.1394, allocations: 0.8467 MB / 478.4 MB, free: 4.84 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.1395, allocations: 33.7 kB / 478.4 MB, free: 4.801 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001806/0.1396, allocations: 248.3 kB / 478.6 MB, free: 4.555 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.151e-05/0.1397, allocations: 63.02 kB / 478.7 MB, free: 4.492 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.959e-05/0.1398, allocations: 45.88 kB / 478.7 MB, free: 4.441 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001578/0.14, allocations: 374.7 kB / 479.1 MB, free: 4.066 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00029/0.1403, allocations: 111.8 kB / 479.2 MB, free: 3.957 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000285/0.1406, allocations: 129.6 kB / 479.3 MB, free: 3.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005651/0.1411, allocations: 245.5 kB / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.1411, allocations: 0 / 479.6 MB, free: 3.578 MB / 350.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000818/0.142, allocations: 340.7 kB / 479.9 MB, free: 3.238 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.142, allocations: 8 kB / 479.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.142, allocations: 0 / 479.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.142, allocations: 0 / 479.9 MB, free: 3.23 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003011/0.1423, allocations: 55.94 kB / 480 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1424, allocations: 0 / 480 MB, free: 3.176 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001961/0.1426, allocations: 28.08 kB / 480 MB, free: 3.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.142e-05/0.1426, allocations: 7.984 kB / 480 MB, free: 3.141 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.0003247/0.1429, allocations: 225.6 kB / 480.2 MB, free: 2.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001016/0.143, allocations: 51.34 kB / 480.3 MB, free: 2.859 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008817/0.1439, allocations: 397.8 kB / 480.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-06/0.1439, allocations: 0 / 480.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1439, allocations: 0 / 480.7 MB, free: 2.465 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.846e-06/0.1439, allocations: 7.984 kB / 480.7 MB, free: 2.457 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.1454, allocations: 0.9307 MB / 481.6 MB, free: 1.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.1454, allocations: 4.312 kB / 481.6 MB, free: 1.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.1457, allocations: 55.88 kB / 481.7 MB, free: 1.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.431e-06/0.1457, allocations: 4 kB / 481.7 MB, free: 1.406 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.1457, allocations: 8 kB / 481.7 MB, free: 1.398 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.1457, allocations: 11.94 kB / 481.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1457, allocations: 0 / 481.7 MB, free: 1.387 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007915/0.1465, allocations: 0.5081 MB / 482.2 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001203/0.1467, allocations: 136.8 kB / 482.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.282e-05/0.1467, allocations: 0 / 482.3 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.147, allocations: 23.92 kB / 482.4 MB, free: 0.6875 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.067e-05/0.147, allocations: 19.97 kB / 482.4 MB, free: 0.668 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.94e-05/0.1471, allocations: 15.92 kB / 482.4 MB, free: 0.6523 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000674/0.1477, allocations: 0.6198 MB / 483 MB, free: 36 kB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 0 / 483 MB, free: 36 kB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003835/0.1482, allocations: 67.98 kB / 483.1 MB, free: 15.97 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.001052/0.1492, allocations: 400.2 kB / 483.5 MB, free: 15.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0007071/0.1499, allocations: 279.9 kB / 483.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.1499, allocations: 192 / 483.7 MB, free: 15.46 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003355/0.1503, allocations: 155.6 kB / 483.9 MB, free: 15.31 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.1509, allocations: 81.84 kB / 484 MB, free: 15.23 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001564/0.1525, allocations: 1.092 MB / 485.1 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.1532, allocations: 0.8842 MB / 485.9 MB, free: 13.2 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002442/0.1535, allocations: 98.88 kB / 486 MB, free: 13.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.1536, allocations: 39.42 kB / 486.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of SimCode: time 1.533e-06/0.1536, allocations: 0 / 486.1 MB, free: 13.07 MB / 366.1 MB Notification: Performance of Templates: time 0.008705/0.1623, allocations: 4.242 MB / 490.3 MB, free: 8.844 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