Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 103.1 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.001136/0.001136, allocations: 188 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.371/1.371, 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.194/0.194, allocations: 44.18 MB / 337.4 MB, free: 2.715 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001425, allocations: 59.12 kB / 409.9 MB, free: 26.55 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1167, allocations: 60.83 MB / 470.7 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003227/0.12, allocations: 1.601 MB / 472.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008308/0.1209, allocations: 427.1 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.283e-05/0.1209, allocations: 4 kB / 472.7 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005195/0.1215, allocations: 447.1 kB / 473.2 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003749/0.1219, allocations: 259.4 kB / 473.4 MB, free: 10.94 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000379/0.1223, allocations: 115.7 kB / 473.5 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002587/0.1225, allocations: 159.7 kB / 473.7 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1227, allocations: 24.17 kB / 473.7 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001501/0.1228, allocations: 103.8 kB / 473.8 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002551/0.1231, allocations: 211.6 kB / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.946e-05/0.1231, allocations: 0 / 474 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001017/0.1232, allocations: 31.98 kB / 474.1 MB, free: 10.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.1234, allocations: 91.67 kB / 474.1 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000113/0.1235, allocations: 99 kB / 474.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003282/0.1238, allocations: 251 kB / 474.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1238, allocations: 0 / 474.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.528e-06/0.1238, allocations: 0 / 474.5 MB, free: 9.871 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.434e-06/0.1238, allocations: 3.938 kB / 474.5 MB, free: 9.867 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.0008249/0.1247, allocations: 0.6297 MB / 475.1 MB, free: 9.188 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.1247, allocations: 8.031 kB / 475.1 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.806e-05/0.1248, allocations: 40.38 kB / 475.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002739/0.1251, allocations: 300.2 kB / 475.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.709e-06/0.1251, allocations: 384 / 475.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.224e-05/0.1251, allocations: 384 / 475.5 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.1253, allocations: 61.61 kB / 475.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.1253, allocations: 0 / 475.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.1253, allocations: 0 / 475.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1253, allocations: 0 / 475.5 MB, free: 8.738 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.208e-05/0.1254, allocations: 35.89 kB / 475.6 MB, free: 8.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004822/0.1259, allocations: 380.7 kB / 475.9 MB, free: 8.281 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.1261, allocations: 50.48 kB / 476 MB, free: 8.223 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.1262, allocations: 16.8 kB / 476 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.1262, allocations: 0 / 476 MB, free: 8.203 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.94e-05/0.1263, allocations: 30.56 kB / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 9.02e-07/0.1263, allocations: 0 / 476 MB, free: 8.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006531/0.1269, allocations: 228 kB / 476.2 MB, free: 7.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.127, allocations: 59.39 kB / 476.3 MB, free: 7.863 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008171/0.1278, allocations: 0.8535 MB / 477.2 MB, free: 7 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.584e-05/0.1278, allocations: 25.7 kB / 477.2 MB, free: 6.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001602/0.128, allocations: 224 kB / 477.4 MB, free: 6.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.013e-05/0.128, allocations: 19.7 kB / 477.4 MB, free: 6.727 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.161e-05/0.1281, allocations: 17.72 kB / 477.4 MB, free: 6.703 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1282, allocations: 362.8 kB / 477.8 MB, free: 6.34 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.914e-05/0.1283, allocations: 15.98 kB / 477.8 MB, free: 6.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.1284, allocations: 20.17 kB / 477.8 MB, free: 6.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.1285, allocations: 48.83 kB / 477.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.051e-06/0.1285, allocations: 0 / 477.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002139/0.1288, allocations: 117.1 kB / 478 MB, free: 6.133 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.1288, allocations: 8 kB / 478 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.1288, allocations: 0 / 478 MB, free: 6.125 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.1288, allocations: 3.984 kB / 478 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.642e-05/0.1289, allocations: 8 kB / 478 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1289, allocations: 0 / 478 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.55e-05/0.129, allocations: 11.92 kB / 478 MB, free: 6.102 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.129, allocations: 4 kB / 478 MB, free: 6.098 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 (5): * Single equations (assignments): 5 * 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.0001819/0.1292, allocations: 213.8 kB / 478.2 MB, free: 5.879 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.685e-05/0.1292, allocations: 39.44 kB / 478.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002934/0.1295, allocations: 137 kB / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.1295, allocations: 0 / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1295, allocations: 0 / 478.4 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.1296, allocations: 3.938 kB / 478.4 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005362/0.1301, allocations: 458.5 kB / 478.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1301, allocations: 0 / 478.9 MB, free: 5.188 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.431e-05/0.1302, allocations: 15.92 kB / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1302, allocations: 0 / 478.9 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.436e-06/0.1302, allocations: 4.125 kB / 478.9 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1302, allocations: 8 kB / 478.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1302, allocations: 0 / 478.9 MB, free: 5.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002193/0.1304, allocations: 207 kB / 479.1 MB, free: 4.941 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.083e-05/0.1305, allocations: 112.6 kB / 479.2 MB, free: 4.812 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.71e-05/0.1306, allocations: 8.203 kB / 479.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.1306, allocations: 4 kB / 479.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.362e-05/0.1307, allocations: 0 / 479.2 MB, free: 4.801 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.1307, allocations: 7.938 kB / 479.2 MB, free: 4.793 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005436/0.1312, allocations: 0.651 MB / 479.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.1313, allocations: 0 / 479.9 MB, free: 4.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002782/0.1315, allocations: 28 kB / 479.9 MB, free: 4.117 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 (5): * Single equations (assignments): 5 * 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.0009184/0.1325, allocations: 419.2 kB / 480.3 MB, free: 3.859 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002071/0.1327, allocations: 43.97 kB / 480.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1327, allocations: 0 / 480.4 MB, free: 3.816 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-05/0.1328, allocations: 23.98 kB / 480.4 MB, free: 3.793 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003865/0.1332, allocations: 29.19 kB / 480.4 MB, free: 3.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.1342, allocations: 0.7833 MB / 481.2 MB, free: 2.961 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003846/0.1346, allocations: 0.8259 MB / 482 MB, free: 2.109 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.48e-05/0.1346, allocations: 7.984 kB / 482 MB, free: 2.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.1347, allocations: 11.44 kB / 482 MB, free: 2.09 MB / 350.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1347, allocations: 4 kB / 482 MB, free: 2.086 MB / 350.1 MB Notification: Performance of Templates: time 0.005106/0.1398, allocations: 1.446 MB / 483.5 MB, free: 0.6484 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches