Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.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.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 104.2 kB / 18.4 MB, free: 4.676 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.0012/0.0012, allocations: 186.9 kB / 19.34 MB, free: 3.742 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.328/1.328, allocations: 222.9 MB / 243 MB, free: 15.09 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.2025/0.2025, allocations: 44.17 MB / 337.4 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001873/0.001873, allocations: 65.23 kB / 409.9 MB, free: 26.52 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1168/0.1187, allocations: 60.82 MB / 470.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test3): time 0.003012/0.1217, allocations: 1.627 MB / 472.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007099/0.1225, allocations: 439 kB / 472.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.238e-05/0.1225, allocations: 3.938 kB / 472.8 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004874/0.123, allocations: 447.2 kB / 473.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.1234, allocations: 251.5 kB / 473.5 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000319/0.1237, allocations: 130.6 kB / 473.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002037/0.1239, allocations: 171.6 kB / 473.8 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.102e-05/0.124, allocations: 20 kB / 473.8 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.1241, allocations: 115.7 kB / 473.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002187/0.1244, allocations: 207.6 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.1244, allocations: 4 kB / 474.1 MB, free: 10.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.1245, allocations: 59.91 kB / 474.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001014/0.1246, allocations: 83.69 kB / 474.2 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.1247, allocations: 107 kB / 474.3 MB, free: 10 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002547/0.1249, allocations: 263 kB / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.125, allocations: 0 / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.125, allocations: 0 / 474.6 MB, free: 9.742 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.125, allocations: 0 / 474.6 MB, free: 9.742 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.000696/0.1257, allocations: 0.6414 MB / 475.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1257, allocations: 12.03 kB / 475.2 MB, free: 9.039 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.1258, allocations: 44.38 kB / 475.3 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.1261, allocations: 300.1 kB / 475.6 MB, free: 8.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.308e-06/0.1261, allocations: 8.359 kB / 475.6 MB, free: 8.652 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.732e-05/0.1261, allocations: 4.375 kB / 475.6 MB, free: 8.648 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.1263, allocations: 69.73 kB / 475.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.1263, allocations: 3.984 kB / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.1263, allocations: 0 / 475.7 MB, free: 8.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1263, allocations: 4 kB / 475.7 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001288/0.1265, allocations: 43.91 kB / 475.7 MB, free: 8.523 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.1269, allocations: 400.6 kB / 476.1 MB, free: 8.082 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002362/0.1272, allocations: 54.59 kB / 476.2 MB, free: 8.02 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.1273, allocations: 24.97 kB / 476.2 MB, free: 7.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1273, allocations: 4 kB / 476.2 MB, free: 7.988 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.405e-05/0.1273, allocations: 34.55 kB / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.113e-06/0.1273, allocations: 0 / 476.2 MB, free: 7.945 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001387/0.1287, allocations: 447.7 kB / 476.7 MB, free: 7.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.1288, allocations: 55.34 kB / 476.7 MB, free: 7.434 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000784/0.1296, allocations: 0.8574 MB / 477.6 MB, free: 6.566 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.472e-05/0.1296, allocations: 25.7 kB / 477.6 MB, free: 6.535 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1298, allocations: 219.9 kB / 477.8 MB, free: 6.316 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.1298, allocations: 35.47 kB / 477.8 MB, free: 6.281 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.361e-05/0.1298, allocations: 33.58 kB / 477.9 MB, free: 6.242 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001387/0.13, allocations: 358.8 kB / 478.2 MB, free: 5.883 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.1301, allocations: 39.97 kB / 478.3 MB, free: 5.844 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1302, allocations: 51.95 kB / 478.3 MB, free: 5.793 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.1305, allocations: 89.14 kB / 478.4 MB, free: 5.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.1305, allocations: 4 kB / 478.4 MB, free: 5.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003019/0.1308, allocations: 181 kB / 478.6 MB, free: 5.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/0.1308, allocations: 4 kB / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.1308, allocations: 0 / 478.6 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.1308, allocations: 4 kB / 478.6 MB, free: 5.508 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.131, allocations: 36.41 kB / 478.6 MB, free: 5.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.682e-06/0.131, allocations: 3.984 kB / 478.6 MB, free: 5.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.047e-05/0.1311, allocations: 7.984 kB / 478.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.1311, allocations: 4 kB / 478.6 MB, free: 5.457 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 (11): * Single equations (assignments): 11 * 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.0001817/0.1313, allocations: 217.8 kB / 478.9 MB, free: 5.234 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.296e-05/0.1313, allocations: 39.53 kB / 478.9 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004086/0.1317, allocations: 205.3 kB / 479.1 MB, free: 4.984 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.1317, allocations: 3.938 kB / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1318, allocations: 0 / 479.1 MB, free: 4.98 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.1318, allocations: 7.922 kB / 479.1 MB, free: 4.973 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000751/0.1325, allocations: 0.5663 MB / 479.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1325, allocations: 0 / 479.7 MB, free: 4.344 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.387e-05/0.1326, allocations: 23.98 kB / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1326, allocations: 0 / 479.7 MB, free: 4.32 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.1327, allocations: 8 kB / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.1327, allocations: 0 / 479.7 MB, free: 4.312 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1327, allocations: 4.062 kB / 479.7 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.133, allocations: 280.5 kB / 480 MB, free: 4.012 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.1331, allocations: 112.5 kB / 480.1 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.59e-05/0.1332, allocations: 8 kB / 480.1 MB, free: 3.875 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001039/0.1333, allocations: 11.98 kB / 480.1 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.677e-05/0.1333, allocations: 7.984 kB / 480.1 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-06/0.1334, allocations: 8 kB / 480.1 MB, free: 3.848 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005466/0.1339, allocations: 0.6394 MB / 480.8 MB, free: 3.211 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1339, allocations: 3.938 kB / 480.8 MB, free: 3.207 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002927/0.1342, allocations: 35.98 kB / 480.8 MB, free: 3.172 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.0009984/0.1352, allocations: 462 kB / 481.3 MB, free: 2.902 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003115/0.1355, allocations: 103.9 kB / 481.4 MB, free: 2.801 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.1356, allocations: 4 kB / 481.4 MB, free: 2.797 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.1357, allocations: 59.84 kB / 481.4 MB, free: 2.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004252/0.1361, allocations: 29.89 kB / 481.4 MB, free: 2.711 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1372, allocations: 0.8516 MB / 482.3 MB, free: 1.82 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.1377, allocations: 0.8338 MB / 483.1 MB, free: 0.9609 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.351e-05/0.1377, allocations: 12.42 kB / 483.1 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.855e-05/0.1378, allocations: 15.44 kB / 483.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.1378, allocations: 0 / 483.2 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of Templates: time 0.005672/0.1435, allocations: 1.839 MB / 485 MB, free: 15.11 MB / 366.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test3/Test3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches