Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, 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.001041/0.001042, 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.304/1.304, 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.2105/0.2105, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 71 kB / 408.4 MB, free: 27.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.1226, allocations: 60.83 MB / 469.3 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003307/0.126, allocations: 1.642 MB / 470.9 MB, free: 12.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008875/0.1269, allocations: 475 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.83e-05/0.127, allocations: 4 kB / 471.4 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002104/0.1272, allocations: 31.84 kB / 471.4 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002306/0.1275, allocations: 43.7 kB / 471.4 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004785/0.128, allocations: 174.3 kB / 471.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001723/0.1282, allocations: 83.77 kB / 471.7 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1283, allocations: 24.16 kB / 471.7 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.788e-05/0.1284, allocations: 35.84 kB / 471.8 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.7e-05/0.1285, allocations: 39.78 kB / 471.8 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.296e-05/0.1285, allocations: 8 kB / 471.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.1286, allocations: 55.97 kB / 471.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.949e-05/0.1287, allocations: 23.92 kB / 471.9 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.437e-05/0.1288, allocations: 31.8 kB / 471.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.129, allocations: 127.9 kB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.129, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.129, allocations: 0 / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.129, allocations: 0 / 472 MB, free: 11.59 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005924/0.1296, allocations: 403.2 kB / 472.4 MB, free: 11.15 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.1297, allocations: 15.95 kB / 472.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.341e-05/0.1297, allocations: 12.84 kB / 472.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002164/0.1299, allocations: 204.1 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.13, allocations: 384 / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.149e-05/0.13, allocations: 8.359 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.1303, allocations: 99.48 kB / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.1303, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.1303, allocations: 0 / 472.8 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1304, allocations: 4 kB / 472.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002956/0.1307, allocations: 75.86 kB / 472.8 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005905/0.1313, allocations: 336.8 kB / 473.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.1315, allocations: 70.53 kB / 473.2 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001586/0.1317, allocations: 52.88 kB / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.212e-05/0.1317, allocations: 0 / 473.3 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.1317, allocations: 46.5 kB / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.91e-07/0.1317, allocations: 0 / 473.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001554/0.1333, allocations: 408.9 kB / 473.7 MB, free: 9.715 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/0.1334, allocations: 77.11 kB / 473.8 MB, free: 9.621 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.1335, allocations: 145.8 kB / 474 MB, free: 9.469 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.859e-05/0.1335, allocations: 29.7 kB / 474 MB, free: 9.434 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.1336, allocations: 100.1 kB / 474.1 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.023e-05/0.1336, allocations: 27.56 kB / 474.1 MB, free: 9.305 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.1337, allocations: 25.7 kB / 474.1 MB, free: 9.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001171/0.1338, allocations: 318.8 kB / 474.4 MB, free: 8.953 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002844/0.1341, allocations: 83.91 kB / 474.5 MB, free: 8.871 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.1344, allocations: 101.6 kB / 474.6 MB, free: 8.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005528/0.135, allocations: 164.7 kB / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.135, allocations: 0 / 474.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0006251/0.1356, allocations: 217.4 kB / 475 MB, free: 8.383 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.1356, allocations: 4 kB / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.1356, allocations: 0 / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.1357, allocations: 0 / 475 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002128/0.1359, allocations: 39.95 kB / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.1359, allocations: 0 / 475 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.136, allocations: 31.91 kB / 475.1 MB, free: 8.309 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.1361, allocations: 4 kB / 475.1 MB, free: 8.305 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (10): * Single equations (assignments): 10 * 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.0001138/0.1362, allocations: 125.8 kB / 475.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.1362, allocations: 7.906 kB / 475.2 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006973/0.1369, allocations: 230 kB / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.1369, allocations: 0 / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.137, allocations: 0 / 475.4 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.137, allocations: 4.312 kB / 475.4 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009298/0.1379, allocations: 0.51 MB / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.1379, allocations: 0 / 475.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001792/0.1381, allocations: 31.97 kB / 476 MB, free: 7.332 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.1381, allocations: 8.312 kB / 476 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.268e-05/0.1381, allocations: 0 / 476 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/0.1382, allocations: 15.92 kB / 476 MB, free: 7.309 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.1382, allocations: 3.938 kB / 476 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006699/0.1388, allocations: 295.3 kB / 476.3 MB, free: 7 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.712e-05/0.1389, allocations: 88.95 kB / 476.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.1389, allocations: 3.938 kB / 476.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001712/0.1391, allocations: 23.97 kB / 476.4 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.472e-05/0.1392, allocations: 7.984 kB / 476.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-06/0.1392, allocations: 7.984 kB / 476.4 MB, free: 6.852 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.581e-05/0.1393, allocations: 117.8 kB / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1393, allocations: 0 / 476.5 MB, free: 6.738 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002741/0.1396, allocations: 35.98 kB / 476.6 MB, free: 6.703 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (9): * Single equations (assignments): 9 * 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.00101/0.1406, allocations: 454.8 kB / 477 MB, free: 6.43 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000676/0.1413, allocations: 187.6 kB / 477.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.1413, allocations: 0 / 477.2 MB, free: 6.246 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003066/0.1416, allocations: 95.84 kB / 477.3 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.142, allocations: 19.98 kB / 477.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005029/0.1425, allocations: 229.9 kB / 477.5 MB, free: 5.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002662/0.1428, allocations: 0.7041 MB / 478.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001078/0.1429, allocations: 36.38 kB / 478.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.1429, allocations: 15.44 kB / 478.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1429, allocations: 0 / 478.3 MB, free: 5.098 MB / 350.1 MB Notification: Performance of Templates: time 0.005135/0.1481, allocations: 2.174 MB / 480.5 MB, free: 2.941 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches