Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_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|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002335/0.002341, allocations: 188.6 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.084/2.084, allocations: 205.4 MB / 222.5 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001177/0.001177, allocations: 102.8 kB / 270.9 MB, free: 13.38 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2874/0.2874, allocations: 43.55 MB / 362.7 MB, free: 11.33 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004741/0.0004743, allocations: 11.98 kB / 431.4 MB, free: 20.29 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1184, allocations: 58.86 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.00264/0.1211, allocations: 1.345 MB / 491.6 MB, free: 7.988 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009906/0.1221, allocations: 323.7 kB / 491.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.1222, allocations: 4 kB / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002441/0.1225, allocations: 23.8 kB / 491.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002552/0.1227, allocations: 39.88 kB / 492 MB, free: 7.602 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006316/0.1234, allocations: 143.7 kB / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001946/0.1236, allocations: 55.86 kB / 492.1 MB, free: 7.406 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.1237, allocations: 12.23 kB / 492.2 MB, free: 7.395 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.903e-05/0.1238, allocations: 23.86 kB / 492.2 MB, free: 7.371 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.53e-05/0.1239, allocations: 35.83 kB / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.004e-05/0.1239, allocations: 0 / 492.2 MB, free: 7.336 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001674/0.1241, allocations: 39.92 kB / 492.3 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 5.843e-05/0.1242, allocations: 19.92 kB / 492.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.862e-05/0.1242, allocations: 33.7 kB / 492.3 MB, free: 7.238 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000232/0.1245, allocations: 88.06 kB / 492.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1245, allocations: 0 / 492.4 MB, free: 7.152 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.958e-06/0.1245, allocations: 7.938 kB / 492.4 MB, free: 7.145 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.1245, allocations: 0 / 492.4 MB, free: 7.145 MB / 330.7 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.0008617/0.1254, allocations: 415 kB / 492.8 MB, free: 6.691 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.1255, allocations: 12.03 kB / 492.8 MB, free: 6.68 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.917e-05/0.1255, allocations: 11.91 kB / 492.8 MB, free: 6.668 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000289/0.1258, allocations: 194.8 kB / 493 MB, free: 6.438 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.318e-05/0.1259, allocations: 4 kB / 493 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.562e-05/0.1259, allocations: 8 kB / 493 MB, free: 6.426 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004703/0.1264, allocations: 111.3 kB / 493.1 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1264, allocations: 0 / 493.1 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.195e-05/0.1264, allocations: 4 kB / 493.1 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.882e-06/0.1265, allocations: 0 / 493.1 MB, free: 6.301 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006046/0.1271, allocations: 99.88 kB / 493.2 MB, free: 6.203 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008592/0.128, allocations: 348.7 kB / 493.6 MB, free: 5.812 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000412/0.1284, allocations: 86.47 kB / 493.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.603e-05/0.1284, allocations: 0 / 493.7 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.1285, allocations: 38.69 kB / 493.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1285, allocations: 0 / 493.7 MB, free: 5.672 MB / 330.7 MB Notification: Performance of matching and sorting (n=8): time 0.002958/0.1315, allocations: 496.8 kB / 494.2 MB, free: 5.18 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.1316, allocations: 77.11 kB / 494.3 MB, free: 5.086 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002236/0.1318, allocations: 146.4 kB / 494.4 MB, free: 4.934 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.1319, allocations: 29.7 kB / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.283e-05/0.132, allocations: 162.5 kB / 494.6 MB, free: 4.738 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.907e-05/0.132, allocations: 27.56 kB / 494.6 MB, free: 4.711 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.308e-05/0.132, allocations: 7.938 kB / 494.6 MB, free: 4.703 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1322, allocations: 314.8 kB / 494.9 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005639/0.1328, allocations: 99.91 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005719/0.1333, allocations: 105.6 kB / 495.1 MB, free: 4.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.1339, allocations: 99.95 kB / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1339, allocations: 0 / 495.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001226/0.1352, allocations: 237.5 kB / 495.5 MB, free: 3.844 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.674e-05/0.1352, allocations: 10.61 kB / 495.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1352, allocations: 0 / 495.5 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.919e-05/0.1353, allocations: 3.938 kB / 495.5 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004018/0.1357, allocations: 51.95 kB / 495.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1357, allocations: 0 / 495.5 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003067/0.136, allocations: 35.97 kB / 495.6 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.1361, allocations: 0 / 495.6 MB, free: 3.746 MB / 330.7 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 0.0001523/0.1362, allocations: 129.8 kB / 495.7 MB, free: 3.609 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.704e-05/0.1363, allocations: 7.906 kB / 495.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001297/0.1376, allocations: 262.4 kB / 496 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1376, allocations: 0 / 496 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.1376, allocations: 0 / 496 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.1377, allocations: 0 / 496 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001692/0.1394, allocations: 0.5375 MB / 496.5 MB, free: 2.742 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.1394, allocations: 3.953 kB / 496.5 MB, free: 2.738 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.1398, allocations: 43.97 kB / 496.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.312e-06/0.1398, allocations: 0 / 496.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.016e-05/0.1398, allocations: 3.984 kB / 496.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1398, allocations: 0 / 496.6 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.1398, allocations: 4 kB / 496.6 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.1411, allocations: 339.2 kB / 496.9 MB, free: 2.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.797e-05/0.1412, allocations: 92.97 kB / 497 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.308e-05/0.1413, allocations: 4.375 kB / 497 MB, free: 2.227 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003237/0.1416, allocations: 35.89 kB / 497 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.386e-05/0.1417, allocations: 15.98 kB / 497 MB, free: 2.176 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.1418, allocations: 4 kB / 497 MB, free: 2.172 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.1419, allocations: 120.6 kB / 497.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1419, allocations: 0 / 497.2 MB, free: 2.055 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003987/0.1423, allocations: 32 kB / 497.2 MB, free: 2.023 MB / 330.7 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.001371/0.1437, allocations: 436.4 kB / 497.6 MB, free: 1.645 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001249/0.145, allocations: 203.8 kB / 497.8 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.145, allocations: 8 kB / 497.8 MB, free: 1.438 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005827/0.1456, allocations: 107.8 kB / 497.9 MB, free: 1.332 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003769/0.146, allocations: 15.59 kB / 497.9 MB, free: 1.32 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007361/0.1468, allocations: 270.9 kB / 498.2 MB, free: 1.023 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003345/0.1471, allocations: 0.7004 MB / 498.9 MB, free: 304 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001345/0.1473, allocations: 19.42 kB / 498.9 MB, free: 284 kB / 330.7 MB Notification: Performance of SimCode: time 1.102e-06/0.1473, allocations: 3.938 kB / 498.9 MB, free: 280 kB / 330.7 MB Notification: Performance of Templates: time 0.006545/0.1539, allocations: 2.27 MB / 0.4894 GB, free: 14.01 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches