Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sine_R.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.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000814/0.000814, allocations: 93.42 kB / 17.35 MB, free: 6.375 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.000877/0.0008771, allocations: 179.3 kB / 18.26 MB, free: 5.52 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.428/1.428, allocations: 223.3 MB / 242.3 MB, free: 228 kB / 190.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.25 MB / 337.7 MB, free: 2.68 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003304/0.0003304, allocations: 19.98 kB / 410.3 MB, free: 27.33 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1235, allocations: 61.91 MB / 472.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test22): time 0.002802/0.1264, allocations: 1.652 MB / 473.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001659/0.1281, allocations: 1.006 MB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.1282, allocations: 0 / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002312/0.1284, allocations: 35.78 kB / 474.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003751/0.1288, allocations: 139.5 kB / 475.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001008/0.1299, allocations: 397.3 kB / 475.5 MB, free: 10.15 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003946/0.1303, allocations: 239.2 kB / 475.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001634/0.1304, allocations: 52.36 kB / 475.8 MB, free: 9.863 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002376/0.1307, allocations: 111.5 kB / 475.9 MB, free: 9.754 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000251/0.1309, allocations: 159.4 kB / 476 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/0.131, allocations: 8 kB / 476 MB, free: 9.59 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001514/0.1311, allocations: 51.92 kB / 476.1 MB, free: 9.539 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000165/0.1313, allocations: 131.6 kB / 476.2 MB, free: 9.41 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1315, allocations: 160.5 kB / 476.4 MB, free: 9.246 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004026/0.1319, allocations: 342.8 kB / 476.7 MB, free: 8.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1319, allocations: 4 kB / 476.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1319, allocations: 0 / 476.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1319, allocations: 0 / 476.7 MB, free: 8.906 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.001032/0.133, allocations: 0.6729 MB / 477.4 MB, free: 8.184 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.133, allocations: 8.031 kB / 477.4 MB, free: 8.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001096/0.1331, allocations: 56.22 kB / 477.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.1337, allocations: 431.9 kB / 477.9 MB, free: 7.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.1338, allocations: 12.38 kB / 477.9 MB, free: 7.648 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.1338, allocations: 16.12 kB / 477.9 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003011/0.1341, allocations: 127.3 kB / 478 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.378e-05/0.1341, allocations: 0 / 478 MB, free: 7.496 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.122e-05/0.1342, allocations: 8 kB / 478 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1342, allocations: 0 / 478 MB, free: 7.488 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.1344, allocations: 95.88 kB / 478.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001114/0.1356, allocations: 0.6565 MB / 478.8 MB, free: 6.684 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002172/0.1358, allocations: 113.2 kB / 478.9 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1359, allocations: 45.83 kB / 478.9 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.385e-05/0.136, allocations: 15.97 kB / 478.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.178e-05/0.136, allocations: 42.42 kB / 479 MB, free: 6.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.793e-06/0.136, allocations: 0 / 479 MB, free: 6.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001564/0.1376, allocations: 0.5335 MB / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001294/0.1377, allocations: 81.11 kB / 479.6 MB, free: 5.797 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.1388, allocations: 0.8465 MB / 480.4 MB, free: 4.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 8.864e-05/0.1389, allocations: 25.7 kB / 480.5 MB, free: 4.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002154/0.1391, allocations: 244.3 kB / 480.7 MB, free: 4.664 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.938e-05/0.1392, allocations: 47.2 kB / 480.8 MB, free: 4.617 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-05/0.1393, allocations: 21.72 kB / 480.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1394, allocations: 374.7 kB / 481.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001702/0.1396, allocations: 59.95 kB / 481.2 MB, free: 4.156 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.1398, allocations: 85.67 kB / 481.3 MB, free: 4.066 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.1402, allocations: 157.6 kB / 481.4 MB, free: 3.906 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.1402, allocations: 3.938 kB / 481.4 MB, free: 3.902 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004906/0.1407, allocations: 229 kB / 481.7 MB, free: 3.672 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.1407, allocations: 8 kB / 481.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1407, allocations: 0 / 481.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.1408, allocations: 0 / 481.7 MB, free: 3.664 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.141, allocations: 43.91 kB / 481.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.243e-06/0.141, allocations: 0 / 481.7 MB, free: 3.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.1411, allocations: 20.2 kB / 481.7 MB, free: 3.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.973e-05/0.1412, allocations: 8 kB / 481.7 MB, free: 3.594 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 (16): * Single equations (assignments): 16 * 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.0002079/0.1414, allocations: 209.7 kB / 481.9 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.468e-05/0.1415, allocations: 55.34 kB / 482 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000602/0.1421, allocations: 278.8 kB / 482.3 MB, free: 3.047 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.605e-06/0.1421, allocations: 4 kB / 482.3 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.1421, allocations: 3.984 kB / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.631e-06/0.1421, allocations: 0 / 482.3 MB, free: 3.039 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001127/0.1433, allocations: 0.7824 MB / 483.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.1433, allocations: 4 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.1435, allocations: 39.97 kB / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.1435, allocations: 0 / 483.1 MB, free: 2.156 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/0.1435, allocations: 8 kB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.479e-06/0.1435, allocations: 3.938 kB / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1435, allocations: 0 / 483.1 MB, free: 2.145 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005661/0.1441, allocations: 414 kB / 483.5 MB, free: 1.723 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001414/0.1442, allocations: 148.4 kB / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.415e-05/0.1443, allocations: 0 / 483.7 MB, free: 1.559 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.1445, allocations: 19.92 kB / 483.7 MB, free: 1.539 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.566e-05/0.1445, allocations: 11.98 kB / 483.7 MB, free: 1.527 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.446e-05/0.1446, allocations: 7.984 kB / 483.7 MB, free: 1.52 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000739/0.1453, allocations: 0.6198 MB / 484.3 MB, free: 0.9023 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1453, allocations: 4 kB / 484.3 MB, free: 0.8984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003596/0.1457, allocations: 48 kB / 484.4 MB, free: 0.8516 MB / 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 (16): * Single equations (assignments): 16 * 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.0009873/0.1467, allocations: 409.5 kB / 484.8 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004393/0.1471, allocations: 159.9 kB / 484.9 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.538e-06/0.1471, allocations: 0 / 484.9 MB, free: 456 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001964/0.1473, allocations: 91.83 kB / 485 MB, free: 364 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006999/0.1481, allocations: 74.88 kB / 485.1 MB, free: 288 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/0.1496, allocations: 0.9904 MB / 486.1 MB, free: 15.26 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005643/0.1501, allocations: 0.8536 MB / 486.9 MB, free: 14.38 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001833/0.1503, allocations: 74.92 kB / 487 MB, free: 14.31 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.7e-05/0.1504, allocations: 39.42 kB / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1504, allocations: 0 / 487 MB, free: 14.27 MB / 366.1 MB Notification: Performance of Templates: time 0.009609/0.1601, allocations: 3.652 MB / 490.7 MB, free: 10.64 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test22/Test22.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches