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.001083/0.001083, allocations: 107.7 kB / 17.33 MB, free: 6.02 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.001045/0.001045, allocations: 189.3 kB / 18.24 MB, free: 5.109 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.374/1.374, allocations: 222.9 MB / 241.9 MB, free: 15.39 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.2108/0.2108, allocations: 44.18 MB / 336.2 MB, free: 2.918 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001338/0.001339, allocations: 61.31 kB / 407.9 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1206/0.122, allocations: 60.82 MB / 468.7 MB, free: 14.71 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test4): time 0.003256/0.1253, allocations: 1.665 MB / 470.4 MB, free: 13.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.1261, allocations: 423.2 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.1262, allocations: 0 / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005941/0.1268, allocations: 447.2 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003902/0.1272, allocations: 247.5 kB / 471.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003671/0.1276, allocations: 114.8 kB / 471.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1278, allocations: 159.7 kB / 471.7 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.128, allocations: 16.17 kB / 471.8 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.1281, allocations: 103.8 kB / 471.9 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.1283, allocations: 223.6 kB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.1284, allocations: 4 kB / 472.1 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.1285, allocations: 35.97 kB / 472.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.1286, allocations: 83.62 kB / 472.2 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.959e-05/0.1287, allocations: 95.06 kB / 472.3 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003217/0.129, allocations: 251 kB / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.129, allocations: 0 / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.129, allocations: 0 / 472.5 MB, free: 10.87 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.129, allocations: 4 kB / 472.5 MB, free: 10.87 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.0007116/0.1298, allocations: 0.63 MB / 473.2 MB, free: 10.19 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.1298, allocations: 11.97 kB / 473.2 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.463e-05/0.1299, allocations: 44.38 kB / 473.2 MB, free: 10.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002814/0.1302, allocations: 292.2 kB / 473.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.524e-05/0.1302, allocations: 8.359 kB / 473.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.445e-05/0.1302, allocations: 4.375 kB / 473.5 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001507/0.1304, allocations: 57.61 kB / 473.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.1304, allocations: 0 / 473.6 MB, free: 9.734 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.1304, allocations: 4 kB / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.1304, allocations: 0 / 473.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.458e-05/0.1305, allocations: 27.97 kB / 473.6 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005334/0.1311, allocations: 384.6 kB / 474 MB, free: 9.277 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1313, allocations: 42.56 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.172e-05/0.1314, allocations: 16.86 kB / 474 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.352e-05/0.1314, allocations: 96 / 474 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.1315, allocations: 34.55 kB / 474.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.1315, allocations: 0 / 474.1 MB, free: 9.164 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006475/0.1321, allocations: 227.9 kB / 474.3 MB, free: 8.934 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1322, allocations: 55.41 kB / 474.3 MB, free: 8.867 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007812/0.133, allocations: 0.8574 MB / 475.2 MB, free: 8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.376e-05/0.133, allocations: 25.7 kB / 475.2 MB, free: 7.969 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001652/0.1331, allocations: 220.1 kB / 475.4 MB, free: 7.75 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.21e-05/0.1332, allocations: 19.66 kB / 475.5 MB, free: 7.73 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.585e-05/0.1332, allocations: 17.72 kB / 475.5 MB, free: 7.707 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001444/0.1334, allocations: 362.8 kB / 475.8 MB, free: 7.344 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.887e-05/0.1335, allocations: 19.98 kB / 475.9 MB, free: 7.324 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.822e-05/0.1335, allocations: 19.98 kB / 475.9 MB, free: 7.305 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001197/0.1337, allocations: 40.84 kB / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1337, allocations: 0 / 475.9 MB, free: 7.262 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000195/0.1339, allocations: 117.2 kB / 476 MB, free: 7.141 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.1339, allocations: 4 kB / 476 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.1339, allocations: 0 / 476 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.848e-06/0.1339, allocations: 4 kB / 476 MB, free: 7.133 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.218e-05/0.134, allocations: 11.94 kB / 476.1 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.134, allocations: 7.984 kB / 476.1 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.467e-05/0.1341, allocations: 7.922 kB / 476.1 MB, free: 7.105 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.265e-06/0.1341, allocations: 7.938 kB / 476.1 MB, free: 7.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.0002024/0.1343, allocations: 210.3 kB / 476.3 MB, free: 6.883 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.532e-05/0.1344, allocations: 43.42 kB / 476.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002719/0.1347, allocations: 133.4 kB / 476.5 MB, free: 6.699 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.1347, allocations: 4 kB / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1347, allocations: 0 / 476.5 MB, free: 6.695 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1347, allocations: 7.875 kB / 476.5 MB, free: 6.688 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005479/0.1352, allocations: 458.5 kB / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1353, allocations: 0 / 476.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.7e-05/0.1353, allocations: 15.98 kB / 476.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.1353, allocations: 0 / 476.9 MB, free: 6.168 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.444e-05/0.1353, allocations: 7.938 kB / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.1354, allocations: 0 / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1354, allocations: 0 / 476.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002655/0.1356, allocations: 214.9 kB / 477.1 MB, free: 5.934 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.796e-05/0.1357, allocations: 108.6 kB / 477.3 MB, free: 5.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.1358, allocations: 7.938 kB / 477.3 MB, free: 5.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.425e-05/0.1358, allocations: 4 kB / 477.3 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.197e-05/0.1359, allocations: 8.266 kB / 477.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1359, allocations: 0 / 477.3 MB, free: 5.789 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005808/0.1365, allocations: 0.6472 MB / 477.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1365, allocations: 0 / 477.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000265/0.1368, allocations: 24 kB / 477.9 MB, free: 5.121 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.0009641/0.1377, allocations: 411 kB / 478.3 MB, free: 4.867 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.138, allocations: 47.91 kB / 478.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.138, allocations: 0 / 478.4 MB, free: 4.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.241e-05/0.1381, allocations: 23.98 kB / 478.4 MB, free: 4.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.1385, allocations: 29.89 kB / 478.4 MB, free: 4.77 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1396, allocations: 0.8654 MB / 479.3 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000401/0.14, allocations: 0.8221 MB / 480.1 MB, free: 3.027 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.353e-05/0.1401, allocations: 4 kB / 480.1 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.329e-05/0.1401, allocations: 15.42 kB / 480.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1401, allocations: 0 / 480.1 MB, free: 3.008 MB / 350.1 MB Notification: Performance of Templates: time 0.004601/0.1447, allocations: 1.428 MB / 481.6 MB, free: 1.59 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test4/Test4.csv","/var/lib/jenkins/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