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.001231/0.001231, allocations: 108.3 kB / 17.21 MB, free: 6.289 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.001356/0.001356, allocations: 194 kB / 18.12 MB, free: 5.383 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.447/1.447, allocations: 222.9 MB / 241.8 MB, free: 13.73 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.24/0.24, allocations: 44.18 MB / 336.1 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 61.34 kB / 407.7 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1312/0.1325, allocations: 60.84 MB / 468.5 MB, free: 14.8 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003292/0.1358, allocations: 2.011 MB / 470.5 MB, free: 12.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.1374, allocations: 1.119 MB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.1375, allocations: 4 kB / 471.7 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002476/0.1378, allocations: 35.78 kB / 471.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002992/0.1381, allocations: 131.5 kB / 471.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.1392, allocations: 0.5589 MB / 472.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000316/0.1395, allocations: 267.2 kB / 472.7 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001729/0.1397, allocations: 80.5 kB / 472.7 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.1399, allocations: 115.5 kB / 472.8 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002108/0.1401, allocations: 175.4 kB / 473 MB, free: 10.31 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.589e-05/0.1402, allocations: 15.94 kB / 473 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.1403, allocations: 51.98 kB / 473.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001489/0.1404, allocations: 139.5 kB / 473.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001221/0.1406, allocations: 142.8 kB / 473.4 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003433/0.1409, allocations: 362.6 kB / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.1409, allocations: 0 / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.12e-07/0.1409, allocations: 0 / 473.7 MB, free: 9.613 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.53e-06/0.141, allocations: 0 / 473.7 MB, free: 9.613 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.0008913/0.1419, allocations: 0.7464 MB / 474.5 MB, free: 8.816 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.1419, allocations: 12.03 kB / 474.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.227e-05/0.142, allocations: 52.28 kB / 474.5 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.1425, allocations: 443.9 kB / 475 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.171e-05/0.1425, allocations: 4.375 kB / 475 MB, free: 8.277 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.966e-05/0.1426, allocations: 16.12 kB / 475 MB, free: 8.262 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.1428, allocations: 147.3 kB / 475.1 MB, free: 8.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.1429, allocations: 4 kB / 475.1 MB, free: 8.102 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.655e-05/0.1429, allocations: 7.984 kB / 475.1 MB, free: 8.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.1429, allocations: 4 kB / 475.1 MB, free: 8.09 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002288/0.1431, allocations: 95.86 kB / 475.2 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008716/0.144, allocations: 0.676 MB / 475.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002085/0.1442, allocations: 113.2 kB / 476 MB, free: 7.137 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001002/0.1443, allocations: 49.81 kB / 476.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.366e-05/0.1444, allocations: 0 / 476.1 MB, free: 7.082 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.303e-05/0.1444, allocations: 46.44 kB / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.1444, allocations: 0 / 476.1 MB, free: 7.027 MB / 350.1 MB Notification: Performance of matching and sorting (n=16): time 0.00142/0.1458, allocations: 0.5337 MB / 476.6 MB, free: 6.484 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.812e-05/0.1459, allocations: 81.11 kB / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008881/0.1468, allocations: 0.8583 MB / 477.6 MB, free: 5.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/0.1468, allocations: 29.7 kB / 477.6 MB, free: 5.484 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.147, allocations: 248.2 kB / 477.9 MB, free: 5.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.899e-05/0.1471, allocations: 51.27 kB / 477.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.185e-05/0.1471, allocations: 29.7 kB / 477.9 MB, free: 5.152 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001594/0.1473, allocations: 370.7 kB / 478.3 MB, free: 4.781 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001839/0.1475, allocations: 67.95 kB / 478.4 MB, free: 4.715 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001727/0.1477, allocations: 81.66 kB / 478.4 MB, free: 4.629 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003431/0.148, allocations: 157.6 kB / 478.6 MB, free: 4.469 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.148, allocations: 4 kB / 478.6 MB, free: 4.465 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.00047/0.1485, allocations: 232.9 kB / 478.8 MB, free: 4.23 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.1486, allocations: 11.19 kB / 478.8 MB, free: 4.223 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.1486, allocations: 3.938 kB / 478.8 MB, free: 4.219 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1486, allocations: 3.938 kB / 478.8 MB, free: 4.215 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.1488, allocations: 39.91 kB / 478.9 MB, free: 4.176 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.1488, allocations: 4 kB / 478.9 MB, free: 4.172 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.1489, allocations: 19.92 kB / 478.9 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.149, allocations: 4 kB / 478.9 MB, free: 4.148 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.0002161/0.1492, allocations: 213.7 kB / 479.1 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001041/0.1493, allocations: 55.33 kB / 479.2 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005955/0.1499, allocations: 286.2 kB / 479.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.167e-06/0.1499, allocations: 0 / 479.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.1499, allocations: 0 / 479.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.1499, allocations: 0 / 479.5 MB, free: 3.59 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.151, allocations: 0.798 MB / 480.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.151, allocations: 384 / 480.2 MB, free: 2.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001649/0.1512, allocations: 35.97 kB / 480.3 MB, free: 2.699 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.1512, allocations: 4 kB / 480.3 MB, free: 2.695 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.1512, allocations: 8 kB / 480.3 MB, free: 2.688 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-06/0.1513, allocations: 11.92 kB / 480.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.1513, allocations: 0 / 480.3 MB, free: 2.676 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005331/0.1518, allocations: 418 kB / 480.7 MB, free: 2.25 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.1519, allocations: 136.4 kB / 480.8 MB, free: 2.098 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.485e-05/0.152, allocations: 4 kB / 480.9 MB, free: 2.094 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001849/0.1522, allocations: 15.92 kB / 480.9 MB, free: 2.078 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.594e-05/0.1522, allocations: 11.98 kB / 480.9 MB, free: 2.066 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.1522, allocations: 8 kB / 480.9 MB, free: 2.059 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006563/0.1529, allocations: 0.6315 MB / 481.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1529, allocations: 0 / 481.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003591/0.1533, allocations: 48 kB / 481.6 MB, free: 1.383 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.001076/0.1544, allocations: 411.9 kB / 482 MB, free: 1.133 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004584/0.1548, allocations: 163.8 kB / 482.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1549, allocations: 0 / 482.1 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002086/0.1551, allocations: 87.89 kB / 482.2 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006804/0.1558, allocations: 74.33 kB / 482.3 MB, free: 0.8164 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.1572, allocations: 1.023 MB / 483.3 MB, free: 15.76 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000467/0.1577, allocations: 0.8693 MB / 484.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002095/0.1579, allocations: 90.89 kB / 484.3 MB, free: 14.78 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.38e-05/0.158, allocations: 35.42 kB / 484.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of SimCode: time 2.063e-06/0.158, allocations: 0 / 484.3 MB, free: 14.74 MB / 366.1 MB Notification: Performance of Templates: time 0.007819/0.1659, allocations: 3.801 MB / 488.1 MB, free: 10.95 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