Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.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.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001172/0.001172, allocations: 104.1 kB / 16.4 MB, free: 6.406 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.001259/0.001259, allocations: 190.5 kB / 17.34 MB, free: 5.699 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.534/1.534, allocations: 205.1 MB / 223.2 MB, free: 12.22 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.2216/0.2216, allocations: 43.53 MB / 314.1 MB, free: 448 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.00147/0.00147, allocations: 69.83 kB / 441.8 MB, free: 5.656 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1207, allocations: 57.8 MB / 499.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test1): time 0.003169/0.1239, allocations: 1.603 MB / 0.4895 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007048/0.1246, allocations: 351.5 kB / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.686e-05/0.1247, allocations: 0 / 0.4898 GB, free: 9.828 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005524/0.1253, allocations: 459.1 kB / 0.4902 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003539/0.1257, allocations: 247.5 kB / 0.4905 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004568/0.1261, allocations: 155.6 kB / 0.4906 GB, free: 8.984 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.1264, allocations: 163.7 kB / 0.4908 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1265, allocations: 24.16 kB / 0.4908 GB, free: 8.801 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001508/0.1267, allocations: 103.8 kB / 0.4909 GB, free: 8.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002389/0.1269, allocations: 215.6 kB / 0.4911 GB, free: 8.488 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.07e-05/0.1269, allocations: 4 kB / 0.4911 GB, free: 8.484 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.127, allocations: 35.98 kB / 0.4911 GB, free: 8.449 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.429e-05/0.1271, allocations: 83.67 kB / 0.4912 GB, free: 8.367 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.291e-05/0.1272, allocations: 99 kB / 0.4913 GB, free: 8.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002932/0.1275, allocations: 259 kB / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.1275, allocations: 0 / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.377e-06/0.1275, allocations: 0 / 0.4916 GB, free: 8.016 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.975e-06/0.1276, allocations: 3.938 kB / 0.4916 GB, free: 8.012 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.0006992/0.1283, allocations: 0.6336 MB / 0.4922 GB, free: 7.328 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1283, allocations: 11.89 kB / 0.4922 GB, free: 7.316 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.947e-05/0.1284, allocations: 44.38 kB / 0.4922 GB, free: 7.273 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002882/0.1287, allocations: 292.2 kB / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1287, allocations: 384 / 0.4925 GB, free: 6.945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.1287, allocations: 4.375 kB / 0.4925 GB, free: 6.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.1289, allocations: 65.59 kB / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1289, allocations: 0 / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.129, allocations: 0 / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.129, allocations: 0 / 0.4926 GB, free: 6.871 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.1291, allocations: 39.91 kB / 0.4926 GB, free: 6.832 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.1296, allocations: 396.6 kB / 0.493 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000212/0.1298, allocations: 46.5 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.214e-05/0.1299, allocations: 16.94 kB / 0.4931 GB, free: 6.32 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.024e-05/0.1299, allocations: 8 kB / 0.4931 GB, free: 6.312 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.955e-05/0.1299, allocations: 30.56 kB / 0.4931 GB, free: 6.273 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.1299, allocations: 0 / 0.4931 GB, free: 6.273 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006445/0.1306, allocations: 231.9 kB / 0.4933 GB, free: 6.039 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.245e-05/0.1306, allocations: 55.41 kB / 0.4934 GB, free: 5.973 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008204/0.1315, allocations: 0.8613 MB / 0.4942 GB, free: 5.098 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.685e-05/0.1315, allocations: 33.7 kB / 0.4942 GB, free: 5.059 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001579/0.1317, allocations: 216.1 kB / 0.4944 GB, free: 4.844 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.632e-05/0.1317, allocations: 19.66 kB / 0.4945 GB, free: 4.824 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.1318, allocations: 21.7 kB / 0.4945 GB, free: 4.797 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1319, allocations: 358.8 kB / 0.4948 GB, free: 4.438 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.132, allocations: 23.92 kB / 0.4949 GB, free: 4.414 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.042e-05/0.1321, allocations: 19.98 kB / 0.4949 GB, free: 4.395 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001363/0.1323, allocations: 60.81 kB / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.1323, allocations: 192 / 0.4949 GB, free: 4.332 MB / 382.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002125/0.1325, allocations: 121.1 kB / 0.495 GB, free: 4.207 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.54e-05/0.1325, allocations: 4 kB / 0.4951 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.1325, allocations: 4 kB / 0.4951 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/0.1325, allocations: 0 / 0.4951 GB, free: 4.199 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.408e-05/0.1326, allocations: 11.98 kB / 0.4951 GB, free: 4.188 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/0.1326, allocations: 4 kB / 0.4951 GB, free: 4.184 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.711e-05/0.1327, allocations: 7.938 kB / 0.4951 GB, free: 4.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.206e-06/0.1327, allocations: 3.984 kB / 0.4951 GB, free: 4.172 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 (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.0001806/0.1329, allocations: 217.7 kB / 0.4953 GB, free: 3.949 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.683e-05/0.133, allocations: 43.38 kB / 0.4953 GB, free: 3.906 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002911/0.1333, allocations: 145 kB / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.1333, allocations: 0 / 0.4955 GB, free: 3.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.1333, allocations: 4 kB / 0.4955 GB, free: 3.754 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.1333, allocations: 3.938 kB / 0.4955 GB, free: 3.75 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005382/0.1338, allocations: 458.5 kB / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.1339, allocations: 0 / 0.4959 GB, free: 3.246 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.533e-05/0.1339, allocations: 11.94 kB / 0.4959 GB, free: 3.234 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/0.1339, allocations: 7.984 kB / 0.4959 GB, free: 3.227 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.134, allocations: 7.938 kB / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.134, allocations: 0 / 0.4959 GB, free: 3.219 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.134, allocations: 4 kB / 0.4959 GB, free: 3.215 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.1342, allocations: 223.1 kB / 0.4962 GB, free: 2.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.437e-05/0.1343, allocations: 104.6 kB / 0.4963 GB, free: 2.859 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.556e-05/0.1343, allocations: 3.938 kB / 0.4963 GB, free: 2.855 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.1344, allocations: 8 kB / 0.4963 GB, free: 2.848 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.869e-05/0.1345, allocations: 3.984 kB / 0.4963 GB, free: 2.844 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.1345, allocations: 8 kB / 0.4963 GB, free: 2.836 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006029/0.1351, allocations: 0.6472 MB / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1351, allocations: 0 / 0.4969 GB, free: 2.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002534/0.1354, allocations: 20 kB / 0.4969 GB, free: 2.172 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 (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.0009276/0.1363, allocations: 410.7 kB / 0.4973 GB, free: 1.805 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002008/0.1365, allocations: 55.95 kB / 0.4974 GB, free: 1.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1365, allocations: 4 kB / 0.4974 GB, free: 1.746 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.617e-05/0.1366, allocations: 27.98 kB / 0.4974 GB, free: 1.719 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003508/0.137, allocations: 25.81 kB / 0.4974 GB, free: 1.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000994/0.138, allocations: 0.7872 MB / 0.4982 GB, free: 0.875 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006447/0.1386, allocations: 0.8221 MB / 0.499 GB, free: 28 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.75e-05/0.1387, allocations: 19.98 kB / 0.499 GB, free: 8 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.175e-05/0.1387, allocations: 11.48 kB / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1387, allocations: 0 / 0.499 GB, free: 15.99 MB / 398.1 MB Notification: Performance of Templates: time 0.004859/0.1436, allocations: 1.483 MB / 0.5005 GB, free: 14.51 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test1/Test1.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches