Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008615/0.0008614, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008958/0.0008958, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.4 MB / 222.7 MB, free: 5.676 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3299/0.3299, allocations: 43.55 MB / 314.5 MB, free: 9.031 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006131/0.0006133, allocations: 12 kB / 383.9 MB, free: 8.277 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1171/0.1177, allocations: 58.86 MB / 442.8 MB, free: 13.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.001719/0.1195, allocations: 1.357 MB / 444.1 MB, free: 11.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005099/0.12, allocations: 303.8 kB / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.1201, allocations: 0 / 444.4 MB, free: 11.64 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1202, allocations: 23.86 kB / 444.4 MB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.1203, allocations: 35.83 kB / 444.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.1206, allocations: 107.8 kB / 444.6 MB, free: 11.48 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.1207, allocations: 47.88 kB / 444.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.1208, allocations: 8.234 kB / 444.6 MB, free: 11.42 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.753e-05/0.1209, allocations: 35.83 kB / 444.7 MB, free: 11.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.865e-05/0.1209, allocations: 23.92 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1209, allocations: 4 kB / 444.7 MB, free: 11.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.746e-05/0.121, allocations: 39.86 kB / 444.7 MB, free: 11.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.1211, allocations: 11.97 kB / 444.7 MB, free: 11.31 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.1211, allocations: 37.64 kB / 444.8 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001278/0.1212, allocations: 92.02 kB / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.1212, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.1212, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.537e-06/0.1213, allocations: 0 / 444.9 MB, free: 11.18 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005438/0.1218, allocations: 419 kB / 445.3 MB, free: 10.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.91e-05/0.1218, allocations: 8.031 kB / 445.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.52e-05/0.1219, allocations: 11.86 kB / 445.3 MB, free: 10.7 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.1221, allocations: 198.8 kB / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.875e-06/0.1221, allocations: 4 kB / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.1221, allocations: 4 kB / 445.5 MB, free: 10.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002445/0.1224, allocations: 107.3 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.1224, allocations: 0 / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.1224, allocations: 0 / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1224, allocations: 3.953 kB / 445.6 MB, free: 10.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003023/0.1227, allocations: 99.86 kB / 445.7 MB, free: 10.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.123, allocations: 300.8 kB / 446 MB, free: 9.895 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002256/0.1233, allocations: 86.52 kB / 446.1 MB, free: 9.801 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.536e-05/0.1233, allocations: 8.062 kB / 446.1 MB, free: 9.793 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.1233, allocations: 38.45 kB / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.032e-06/0.1234, allocations: 0 / 446.1 MB, free: 9.746 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001516/0.1249, allocations: 461.1 kB / 446.6 MB, free: 9.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.053e-05/0.1249, allocations: 89.05 kB / 446.7 MB, free: 9.184 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001213/0.1251, allocations: 137.8 kB / 446.8 MB, free: 9.039 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.1251, allocations: 33.7 kB / 446.8 MB, free: 9 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.103e-05/0.1251, allocations: 96.12 kB / 446.9 MB, free: 8.902 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.276e-05/0.1252, allocations: 27.55 kB / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.391e-06/0.1252, allocations: 0 / 446.9 MB, free: 8.875 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001014/0.1253, allocations: 318.8 kB / 447.3 MB, free: 8.555 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002776/0.1256, allocations: 87.92 kB / 447.3 MB, free: 8.469 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002874/0.1259, allocations: 109.6 kB / 447.5 MB, free: 8.355 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002745/0.1261, allocations: 96.14 kB / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1262, allocations: 0 / 447.5 MB, free: 8.262 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006168/0.1268, allocations: 229.4 kB / 447.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.1268, allocations: 4 kB / 447.8 MB, free: 8.027 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.1268, allocations: 4.312 kB / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.939e-06/0.1268, allocations: 0 / 447.8 MB, free: 8.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.127, allocations: 47.95 kB / 447.8 MB, free: 7.977 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.1271, allocations: 4 kB / 447.8 MB, free: 7.973 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.1272, allocations: 39.97 kB / 447.9 MB, free: 7.934 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.1272, allocations: 0 / 447.9 MB, free: 7.934 MB / 382.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 (8): * Single equations (assignments): 8 * 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 8.839e-05/0.1273, allocations: 125.8 kB / 448 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.316e-05/0.1274, allocations: 15.91 kB / 448 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000708/0.1281, allocations: 250 kB / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.1281, allocations: 0 / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.1281, allocations: 0 / 448.3 MB, free: 7.539 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1281, allocations: 3.938 kB / 448.3 MB, free: 7.535 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009155/0.129, allocations: 0.5101 MB / 448.8 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.484e-06/0.1291, allocations: 0 / 448.8 MB, free: 6.969 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002648/0.1293, allocations: 47.91 kB / 448.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.938e-06/0.1294, allocations: 0 / 448.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.1294, allocations: 8 kB / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.1294, allocations: 0 / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1294, allocations: 0 / 448.8 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000964/0.1304, allocations: 323.2 kB / 449.1 MB, free: 6.582 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.1304, allocations: 89 kB / 449.2 MB, free: 6.477 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.178e-05/0.1305, allocations: 4 kB / 449.2 MB, free: 6.473 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002853/0.1308, allocations: 35.97 kB / 449.3 MB, free: 6.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.62e-05/0.1309, allocations: 7.984 kB / 449.3 MB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.1309, allocations: 8 kB / 449.3 MB, free: 6.422 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001263/0.131, allocations: 110.7 kB / 449.4 MB, free: 6.316 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.131, allocations: 4 kB / 449.4 MB, free: 6.312 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.1315, allocations: 32 kB / 449.4 MB, free: 6.281 MB / 382.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 (8): * Single equations (assignments): 8 * 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.0009558/0.1324, allocations: 453.5 kB / 449.9 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006462/0.1331, allocations: 195.8 kB / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1331, allocations: 0 / 450.1 MB, free: 5.672 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.1334, allocations: 107.9 kB / 450.2 MB, free: 5.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.1337, allocations: 19.95 kB / 450.2 MB, free: 5.547 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004502/0.1342, allocations: 209.2 kB / 450.4 MB, free: 5.316 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.1345, allocations: 0.7043 MB / 451.1 MB, free: 4.586 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.926e-05/0.1345, allocations: 8.75 kB / 451.1 MB, free: 4.578 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.232e-05/0.1346, allocations: 23.36 kB / 451.1 MB, free: 4.555 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1346, allocations: 0 / 451.1 MB, free: 4.555 MB / 382.1 MB Notification: Performance of Templates: time 0.00433/0.139, allocations: 1.847 MB / 453 MB, free: 2.711 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches