Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_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 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 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 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.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001428/0.001428, allocations: 110.4 kB / 16.41 MB, free: 6.488 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.001493/0.001493, allocations: 190.1 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.226/0.226, allocations: 43.52 MB / 314.1 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001966/0.001966, allocations: 67.91 kB / 441.8 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1142/0.1162, allocations: 57.79 MB / 499.6 MB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test25_usertab): time 0.003602/0.1198, allocations: 1.554 MB / 0.4894 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007716/0.1206, allocations: 347.3 kB / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.514e-05/0.1207, allocations: 0 / 0.4897 GB, free: 9.875 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003123/0.1211, allocations: 27.84 kB / 0.4898 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.1213, allocations: 31.86 kB / 0.4898 GB, free: 9.816 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002875/0.1216, allocations: 79.77 kB / 0.4899 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001738/0.1218, allocations: 63.83 kB / 0.4899 GB, free: 9.676 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.122, allocations: 16.17 kB / 0.49 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.122, allocations: 23.86 kB / 0.49 GB, free: 9.637 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.127e-05/0.1221, allocations: 27.84 kB / 0.49 GB, free: 9.609 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.186e-05/0.1222, allocations: 8 kB / 0.49 GB, free: 9.602 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1223, allocations: 47.98 kB / 0.4901 GB, free: 9.555 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.824e-05/0.1224, allocations: 15.97 kB / 0.4901 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.402e-05/0.1224, allocations: 23.81 kB / 0.4901 GB, free: 9.516 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000235/0.1227, allocations: 103.6 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.1227, allocations: 0 / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.1227, allocations: 0 / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1227, allocations: 0 / 0.4902 GB, free: 9.414 MB / 382.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.0005632/0.1233, allocations: 390.4 kB / 0.4906 GB, free: 8.988 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.1233, allocations: 8.031 kB / 0.4906 GB, free: 8.98 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.08e-05/0.1234, allocations: 12.89 kB / 0.4906 GB, free: 8.969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002043/0.1236, allocations: 196.2 kB / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.1236, allocations: 384 / 0.4908 GB, free: 8.738 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.45e-05/0.1236, allocations: 4.375 kB / 0.4908 GB, free: 8.734 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001937/0.1238, allocations: 79.25 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.1239, allocations: 4 kB / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1239, allocations: 0 / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1239, allocations: 0 / 0.4909 GB, free: 8.641 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000112/0.124, allocations: 39.97 kB / 0.4909 GB, free: 8.602 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004449/0.1245, allocations: 296.8 kB / 0.4912 GB, free: 8.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001356/0.1246, allocations: 58.48 kB / 0.4912 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.1247, allocations: 16.98 kB / 0.4913 GB, free: 8.176 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.1247, allocations: 11.98 kB / 0.4913 GB, free: 8.164 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.349e-05/0.1247, allocations: 34.56 kB / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.443e-06/0.1247, allocations: 0 / 0.4913 GB, free: 8.121 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006185/0.1254, allocations: 165.6 kB / 0.4915 GB, free: 7.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/0.1254, allocations: 81.11 kB / 0.4915 GB, free: 7.855 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001669/0.1256, allocations: 141.6 kB / 0.4917 GB, free: 7.711 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.1256, allocations: 37.69 kB / 0.4917 GB, free: 7.668 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.619e-05/0.1257, allocations: 88.14 kB / 0.4918 GB, free: 7.578 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.619e-05/0.1257, allocations: 19.81 kB / 0.4918 GB, free: 7.559 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.203e-05/0.1258, allocations: 25.7 kB / 0.4918 GB, free: 7.527 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001212/0.1259, allocations: 322.8 kB / 0.4921 GB, free: 7.203 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.004e-05/0.126, allocations: 27.98 kB / 0.4922 GB, free: 7.176 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.226e-05/0.1261, allocations: 37.7 kB / 0.4922 GB, free: 7.133 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1262, allocations: 68.73 kB / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1263, allocations: 0 / 0.4923 GB, free: 7.062 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002036/0.1265, allocations: 97.61 kB / 0.4924 GB, free: 6.961 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.1265, allocations: 4 kB / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.1265, allocations: 0 / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.229e-05/0.1265, allocations: 0 / 0.4924 GB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.1266, allocations: 15.98 kB / 0.4924 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.1266, allocations: 4 kB / 0.4924 GB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.186e-05/0.1267, allocations: 7.938 kB / 0.4924 GB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.79e-05/0.1267, allocations: 7.938 kB / 0.4924 GB, free: 6.922 MB / 382.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 (7): * Single equations (assignments): 7 * 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 9.352e-05/0.1268, allocations: 125.7 kB / 0.4925 GB, free: 6.789 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.1269, allocations: 7.953 kB / 0.4925 GB, free: 6.781 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002627/0.1271, allocations: 110.3 kB / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.1271, allocations: 0 / 0.4926 GB, free: 6.664 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.1272, allocations: 8 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.1272, allocations: 0 / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006001/0.1278, allocations: 374.5 kB / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1278, allocations: 0 / 0.493 GB, free: 6.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.1279, allocations: 15.98 kB / 0.493 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1279, allocations: 4 kB / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/0.1279, allocations: 0 / 0.493 GB, free: 6.215 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.1279, allocations: 3.938 kB / 0.493 GB, free: 6.211 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1279, allocations: 4 kB / 0.493 GB, free: 6.207 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000279/0.1282, allocations: 191.5 kB / 0.4932 GB, free: 6.004 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.211e-05/0.1282, allocations: 89 kB / 0.4933 GB, free: 5.898 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.084e-05/0.1283, allocations: 4.188 kB / 0.4933 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.524e-05/0.1283, allocations: 11.94 kB / 0.4933 GB, free: 5.883 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.945e-05/0.1284, allocations: 7.984 kB / 0.4933 GB, free: 5.875 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1284, allocations: 4 kB / 0.4933 GB, free: 5.871 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.913e-05/0.1285, allocations: 107.2 kB / 0.4934 GB, free: 5.766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1285, allocations: 4 kB / 0.4934 GB, free: 5.762 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002755/0.1288, allocations: 27.88 kB / 0.4934 GB, free: 5.734 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001059/0.1299, allocations: 448.2 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002481/0.1301, allocations: 59.95 kB / 0.4939 GB, free: 5.273 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.1301, allocations: 4 kB / 0.4939 GB, free: 5.27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.529e-05/0.1302, allocations: 31.92 kB / 0.494 GB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000289/0.1305, allocations: 19.84 kB / 0.494 GB, free: 5.219 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004411/0.131, allocations: 181.9 kB / 0.4942 GB, free: 5.016 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.1314, allocations: 0.6885 MB / 0.4948 GB, free: 4.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.521e-05/0.1315, allocations: 24.27 kB / 0.4949 GB, free: 4.277 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.125e-05/0.1315, allocations: 15.42 kB / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1315, allocations: 0 / 0.4949 GB, free: 4.262 MB / 382.1 MB Notification: Performance of Templates: time 0.00434/0.1359, allocations: 1.486 MB / 0.4963 GB, free: 2.773 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1Ds/Test25_usertab/Test25_usertab.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test25_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches