Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.001159, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.001324/0.001325, allocations: 192 kB / 18.56 MB, free: 4.434 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.301/1.301, allocations: 222.9 MB / 242.2 MB, free: 15.16 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.2127/0.2127, allocations: 44.19 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 61.2 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1313/0.1326, allocations: 60.83 MB / 469.3 MB, free: 14.38 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003512/0.1361, allocations: 1.965 MB / 471.2 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001739/0.1379, allocations: 1.135 MB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001468/0.1381, allocations: 4 kB / 472.4 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002707/0.1383, allocations: 43.58 kB / 472.4 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003265/0.1387, allocations: 151.3 kB / 472.6 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.14, allocations: 0.5747 MB / 473.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003076/0.1403, allocations: 287.1 kB / 473.4 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.1405, allocations: 76.58 kB / 473.5 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.1406, allocations: 131.5 kB / 473.6 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000205/0.1408, allocations: 179.4 kB / 473.8 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.232e-05/0.1409, allocations: 12 kB / 473.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.141, allocations: 51.98 kB / 473.8 MB, free: 9.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1412, allocations: 143.5 kB / 474 MB, free: 9.629 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001265/0.1413, allocations: 158.8 kB / 474.1 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003305/0.1416, allocations: 358.7 kB / 474.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.1416, allocations: 0 / 474.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.1417, allocations: 0 / 474.5 MB, free: 9.121 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.1417, allocations: 0 / 474.5 MB, free: 9.121 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.0008533/0.1425, allocations: 0.7502 MB / 475.2 MB, free: 8.32 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.1426, allocations: 8.031 kB / 475.3 MB, free: 8.312 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.315e-05/0.1427, allocations: 56.27 kB / 475.3 MB, free: 8.258 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000468/0.1431, allocations: 439.9 kB / 475.7 MB, free: 7.785 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.271e-05/0.1431, allocations: 8.375 kB / 475.7 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.253e-05/0.1432, allocations: 16.12 kB / 475.8 MB, free: 7.762 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1435, allocations: 143 kB / 475.9 MB, free: 7.613 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.1435, allocations: 3.984 kB / 475.9 MB, free: 7.609 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.1435, allocations: 8 kB / 475.9 MB, free: 7.602 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.1435, allocations: 7.938 kB / 475.9 MB, free: 7.594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002215/0.1437, allocations: 95.86 kB / 476 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008365/0.1446, allocations: 0.6799 MB / 476.7 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002011/0.1448, allocations: 113.2 kB / 476.8 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1449, allocations: 45.83 kB / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.828e-05/0.145, allocations: 0 / 476.8 MB, free: 6.586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.043e-05/0.145, allocations: 46.48 kB / 476.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 9.41e-07/0.145, allocations: 0 / 476.9 MB, free: 6.531 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.001388/0.1464, allocations: 0.5257 MB / 477.4 MB, free: 5.996 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.1465, allocations: 81.11 kB / 477.5 MB, free: 5.898 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008947/0.1474, allocations: 0.8621 MB / 478.4 MB, free: 5.027 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.1474, allocations: 33.7 kB / 478.4 MB, free: 4.988 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001768/0.1476, allocations: 244.2 kB / 478.6 MB, free: 4.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.637e-05/0.1476, allocations: 55.25 kB / 478.7 MB, free: 4.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.377e-05/0.1477, allocations: 33.7 kB / 478.7 MB, free: 4.652 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1479, allocations: 374.7 kB / 479.1 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001636/0.148, allocations: 63.95 kB / 479.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.1482, allocations: 81.67 kB / 479.2 MB, free: 4.129 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003296/0.1486, allocations: 145.6 kB / 479.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1486, allocations: 0 / 479.4 MB, free: 3.98 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004627/0.149, allocations: 248.9 kB / 479.6 MB, free: 3.73 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.1491, allocations: 4 kB / 479.6 MB, free: 3.727 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.1491, allocations: 4.156 kB / 479.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.1491, allocations: 0 / 479.6 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002174/0.1493, allocations: 43.84 kB / 479.7 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1493, allocations: 4.312 kB / 479.7 MB, free: 3.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.1495, allocations: 15.92 kB / 479.7 MB, free: 3.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.579e-05/0.1495, allocations: 12 kB / 479.7 MB, free: 3.648 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.0001886/0.1497, allocations: 213.7 kB / 479.9 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.185e-05/0.1498, allocations: 51.34 kB / 480 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005727/0.1504, allocations: 290 kB / 480.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.1504, allocations: 0 / 480.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1504, allocations: 0.5625 kB / 480.2 MB, free: 3.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.1504, allocations: 4 kB / 480.2 MB, free: 3.086 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.1514, allocations: 0.7825 MB / 481 MB, free: 2.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.1514, allocations: 7.938 kB / 481 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.1516, allocations: 35.97 kB / 481.1 MB, free: 2.203 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1516, allocations: 4 kB / 481.1 MB, free: 2.199 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1516, allocations: 7.984 kB / 481.1 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.1516, allocations: 7.938 kB / 481.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.1516, allocations: 0 / 481.1 MB, free: 2.184 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005193/0.1522, allocations: 423.1 kB / 481.5 MB, free: 1.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001265/0.1523, allocations: 136.4 kB / 481.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.657e-05/0.1524, allocations: 0 / 481.6 MB, free: 1.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001815/0.1525, allocations: 19.92 kB / 481.6 MB, free: 1.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.887e-05/0.1526, allocations: 11.97 kB / 481.7 MB, free: 1.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.335e-05/0.1526, allocations: 8 kB / 481.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006656/0.1533, allocations: 0.6315 MB / 482.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.1533, allocations: 0 / 482.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003422/0.1537, allocations: 52 kB / 482.4 MB, free: 0.8828 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.0009507/0.1546, allocations: 413 kB / 482.8 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004742/0.1551, allocations: 175.8 kB / 482.9 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1551, allocations: 0 / 482.9 MB, free: 476 kB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001931/0.1553, allocations: 87.88 kB / 483 MB, free: 388 kB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006484/0.156, allocations: 70.27 kB / 483.1 MB, free: 316 kB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.1576, allocations: 0.8998 MB / 484 MB, free: 15.38 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006752/0.1583, allocations: 0.876 MB / 484.9 MB, free: 14.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002385/0.1586, allocations: 83.52 kB / 484.9 MB, free: 14.4 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001064/0.1587, allocations: 43.42 kB / 485 MB, free: 14.36 MB / 366.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1587, allocations: 0 / 485 MB, free: 14.36 MB / 366.1 MB Notification: Performance of Templates: time 0.01/0.1687, allocations: 3.98 MB / 489 MB, free: 10.39 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches