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.0009336/0.0009336, allocations: 94.28 kB / 16.98 MB, free: 6.398 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.001119/0.001118, allocations: 183 kB / 17.87 MB, free: 5.957 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.378/1.378, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.231/0.231, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003375/0.0003379, allocations: 12 kB / 409.5 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 61.92 MB / 471.5 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.002386/0.1415, allocations: 1.353 MB / 472.8 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.1424, allocations: 411.5 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.1425, allocations: 3.938 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002418/0.1427, allocations: 19.86 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001709/0.1429, allocations: 39.88 kB / 473.3 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004199/0.1433, allocations: 154.9 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001685/0.1435, allocations: 55.88 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1437, allocations: 16.2 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.452e-05/0.1437, allocations: 27.92 kB / 473.5 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.594e-05/0.1438, allocations: 31.84 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.1438, allocations: 0 / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001058/0.144, allocations: 39.91 kB / 473.6 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.055e-05/0.144, allocations: 15.92 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.1441, allocations: 41.58 kB / 473.7 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001637/0.1442, allocations: 88.08 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1442, allocations: 0 / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1443, allocations: 0 / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.488e-06/0.1443, allocations: 4 kB / 473.7 MB, free: 11.43 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.000724/0.145, allocations: 419 kB / 474.2 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.209e-05/0.1451, allocations: 12.56 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.864e-05/0.1451, allocations: 11.89 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000261/0.1454, allocations: 199.4 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.203e-06/0.1454, allocations: 0 / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1454, allocations: 8 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003195/0.1458, allocations: 103.3 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1458, allocations: 0 / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.791e-05/0.1458, allocations: 0 / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.1458, allocations: 4 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000325/0.1462, allocations: 91.92 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006251/0.1468, allocations: 360.7 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.147, allocations: 86.52 kB / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.066e-05/0.1471, allocations: 0 / 475 MB, free: 10 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.058e-05/0.1471, allocations: 38.56 kB / 475 MB, free: 9.953 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 9.11e-07/0.1471, allocations: 0 / 475 MB, free: 9.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001708/0.1488, allocations: 0.4969 MB / 475.5 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.992e-05/0.1489, allocations: 77.11 kB / 475.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/0.1491, allocations: 152.7 kB / 475.8 MB, free: 9.195 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.245e-05/0.1491, allocations: 25.7 kB / 475.8 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.1492, allocations: 104.3 kB / 475.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.766e-05/0.1492, allocations: 27.56 kB / 475.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.322e-06/0.1493, allocations: 3.938 kB / 475.9 MB, free: 9.027 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.1494, allocations: 326.8 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000319/0.1497, allocations: 103.9 kB / 476.3 MB, free: 8.598 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003024/0.15, allocations: 117.6 kB / 476.5 MB, free: 8.477 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002957/0.1503, allocations: 108.1 kB / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-06/0.1503, allocations: 0 / 476.6 MB, free: 8.371 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000667/0.151, allocations: 249.4 kB / 476.8 MB, free: 8.121 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.151, allocations: 4 kB / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.1511, allocations: 0 / 476.8 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1511, allocations: 11.94 kB / 476.8 MB, free: 8.105 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.1513, allocations: 43.95 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.94e-06/0.1513, allocations: 4 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001689/0.1515, allocations: 47.86 kB / 476.9 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.1515, allocations: 0 / 476.9 MB, free: 8.012 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.1516, allocations: 125.8 kB / 477 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1517, allocations: 7.906 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007377/0.1524, allocations: 266.2 kB / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1524, allocations: 0 / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.1524, allocations: 0 / 477.3 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.822e-06/0.1524, allocations: 7.984 kB / 477.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001032/0.1535, allocations: 0.5685 MB / 477.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.775e-06/0.1535, allocations: 0 / 477.9 MB, free: 6.973 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002112/0.1537, allocations: 40.34 kB / 477.9 MB, free: 6.934 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.859e-06/0.1537, allocations: 8 kB / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/0.1537, allocations: 0 / 477.9 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.528e-06/0.1537, allocations: 7.984 kB / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1538, allocations: 288 / 477.9 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007101/0.1545, allocations: 355 kB / 478.3 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.321e-05/0.1545, allocations: 89 kB / 478.4 MB, free: 6.449 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.1546, allocations: 4 kB / 478.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001936/0.1548, allocations: 35.97 kB / 478.4 MB, free: 6.41 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.511e-05/0.1548, allocations: 7.984 kB / 478.4 MB, free: 6.402 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.1549, allocations: 8 kB / 478.4 MB, free: 6.395 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000106/0.155, allocations: 113.7 kB / 478.5 MB, free: 6.285 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.155, allocations: 3.938 kB / 478.5 MB, free: 6.281 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1553, allocations: 39.98 kB / 478.6 MB, free: 6.242 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009441/0.1562, allocations: 442.9 kB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006858/0.1569, allocations: 219.8 kB / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1569, allocations: 0 / 479.2 MB, free: 5.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003092/0.1573, allocations: 107.9 kB / 479.3 MB, free: 5.656 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002549/0.1575, allocations: 28.3 kB / 479.4 MB, free: 5.629 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.158, allocations: 252.9 kB / 479.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002601/0.1583, allocations: 0.7121 MB / 480.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.974e-05/0.1584, allocations: 28.52 kB / 480.4 MB, free: 4.586 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.596e-05/0.1585, allocations: 23.38 kB / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1585, allocations: 0 / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of Templates: time 0.00437/0.1628, allocations: 1.955 MB / 482.3 MB, free: 2.621 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","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches