Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 90.95 kB / 17.35 MB, free: 6.027 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.001334/0.001334, allocations: 178.5 kB / 18.26 MB, free: 5.387 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.423/1.423, allocations: 223.2 MB / 242.3 MB, free: 188 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2026/0.2026, allocations: 44.25 MB / 337.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003322/0.0003323, allocations: 12 kB / 410.3 MB, free: 27.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1323, allocations: 61.92 MB / 472.3 MB, free: 13.34 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002254/0.1346, allocations: 1.376 MB / 473.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008439/0.1355, allocations: 435.2 kB / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.569e-05/0.1355, allocations: 0 / 474.1 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001918/0.1357, allocations: 23.91 kB / 474.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001583/0.1359, allocations: 27.86 kB / 474.1 MB, free: 11.47 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.1362, allocations: 126.7 kB / 474.2 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001624/0.1364, allocations: 79.7 kB / 474.3 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.1365, allocations: 20.2 kB / 474.3 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.602e-05/0.1366, allocations: 27.86 kB / 474.4 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.99e-05/0.1367, allocations: 31.84 kB / 474.4 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.1367, allocations: 7.938 kB / 474.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001083/0.1368, allocations: 51.97 kB / 474.4 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.1369, allocations: 19.92 kB / 474.5 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.478e-05/0.1369, allocations: 53.5 kB / 474.5 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000186/0.1371, allocations: 111.9 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.1371, allocations: 3.984 kB / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1371, allocations: 0 / 474.6 MB, free: 10.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.99e-06/0.1372, allocations: 0 / 474.6 MB, free: 10.94 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.0006048/0.1378, allocations: 407.2 kB / 475 MB, free: 10.49 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.1378, allocations: 8.031 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1378, allocations: 8.844 kB / 475 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.1381, allocations: 196.1 kB / 475.2 MB, free: 10.25 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.1381, allocations: 4.375 kB / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.1381, allocations: 4.375 kB / 475.2 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002905/0.1384, allocations: 107.4 kB / 475.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.036e-06/0.1384, allocations: 4 kB / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.302e-05/0.1384, allocations: 0 / 475.4 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.943e-06/0.1385, allocations: 3.984 kB / 475.4 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.1388, allocations: 91.92 kB / 475.4 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004568/0.1393, allocations: 304.8 kB / 475.7 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002515/0.1395, allocations: 82.47 kB / 475.8 MB, free: 9.586 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001745/0.1397, allocations: 56.94 kB / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.403e-05/0.1397, allocations: 0 / 475.9 MB, free: 9.527 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.1398, allocations: 34.56 kB / 475.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.1398, allocations: 0 / 475.9 MB, free: 9.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001729/0.1415, allocations: 484.9 kB / 476.4 MB, free: 9.004 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.1416, allocations: 85.03 kB / 476.5 MB, free: 8.902 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001404/0.1417, allocations: 140.4 kB / 476.6 MB, free: 8.754 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.1418, allocations: 29.7 kB / 476.6 MB, free: 8.719 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.436e-05/0.1418, allocations: 100.1 kB / 476.7 MB, free: 8.617 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.1418, allocations: 27.56 kB / 476.8 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.984e-05/0.1419, allocations: 21.7 kB / 476.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.142, allocations: 318.8 kB / 477.1 MB, free: 8.242 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/0.1423, allocations: 91.92 kB / 477.2 MB, free: 8.152 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.1427, allocations: 113.7 kB / 477.3 MB, free: 8.035 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006046/0.1433, allocations: 192.7 kB / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.81e-07/0.1433, allocations: 0 / 477.5 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0007087/0.144, allocations: 229.5 kB / 477.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.144, allocations: 10.81 kB / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.144, allocations: 0 / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.44e-05/0.1441, allocations: 0 / 477.7 MB, free: 7.605 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002429/0.1443, allocations: 56.27 kB / 477.8 MB, free: 7.551 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.1443, allocations: 3.938 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.1445, allocations: 47.89 kB / 477.8 MB, free: 7.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.247e-05/0.1445, allocations: 8 kB / 477.8 MB, free: 7.492 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.000108/0.1446, allocations: 114.4 kB / 477.9 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.592e-05/0.1447, allocations: 7.906 kB / 477.9 MB, free: 7.363 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007572/0.1454, allocations: 250.2 kB / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.1455, allocations: 0 / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.1455, allocations: 0 / 478.2 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.1455, allocations: 3.938 kB / 478.2 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.1465, allocations: 0.5376 MB / 478.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.1465, allocations: 0 / 478.7 MB, free: 6.516 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/0.1467, allocations: 43.95 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.1467, allocations: 3.938 kB / 478.8 MB, free: 6.469 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.453e-05/0.1467, allocations: 8 kB / 478.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/0.1468, allocations: 0 / 478.8 MB, free: 6.461 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.1468, allocations: 4 kB / 478.8 MB, free: 6.457 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007338/0.1475, allocations: 327.2 kB / 479.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.185e-05/0.1476, allocations: 88.95 kB / 479.2 MB, free: 6.016 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.1476, allocations: 4 kB / 479.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.1478, allocations: 39.95 kB / 479.2 MB, free: 5.973 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.669e-05/0.1479, allocations: 7.984 kB / 479.3 MB, free: 5.965 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-06/0.1479, allocations: 4 kB / 479.3 MB, free: 5.961 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.148, allocations: 110 kB / 479.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.148, allocations: 0 / 479.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000284/0.1483, allocations: 35.98 kB / 479.4 MB, free: 5.82 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.001017/0.1493, allocations: 452.3 kB / 479.8 MB, free: 5.547 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000711/0.15, allocations: 199.8 kB / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.15, allocations: 192 / 480 MB, free: 5.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003443/0.1504, allocations: 107.8 kB / 480.1 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003549/0.1508, allocations: 19.97 kB / 480.2 MB, free: 5.227 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005192/0.1513, allocations: 248.9 kB / 480.4 MB, free: 4.957 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.1516, allocations: 0.7004 MB / 481.1 MB, free: 4.23 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.105e-05/0.1517, allocations: 16.42 kB / 481.1 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.1518, allocations: 15.44 kB / 481.1 MB, free: 4.199 MB / 350.1 MB Notification: Performance of SimCode: time 2.415e-06/0.1518, allocations: 3.938 kB / 481.1 MB, free: 4.195 MB / 350.1 MB Notification: Performance of Templates: time 0.004782/0.1566, allocations: 1.9 MB / 483 MB, free: 2.309 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches