Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 119.4 kB / 17.09 MB, free: 6.008 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.001521/0.001521, allocations: 193.3 kB / 18.01 MB, free: 5.094 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.48/1.48, allocations: 205.1 MB / 223.9 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.2056/0.2056, allocations: 43.53 MB / 314.8 MB, free: 464 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.001678/0.001678, allocations: 67.89 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1148, allocations: 57.79 MB / 0.4886 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test18_usertab): time 0.003526/0.1183, allocations: 1.659 MB / 0.4902 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007883/0.1192, allocations: 383.4 kB / 0.4905 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.07e-05/0.1193, allocations: 0 / 0.4905 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002793/0.1196, allocations: 31.78 kB / 0.4906 GB, free: 9.719 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002526/0.1199, allocations: 47.72 kB / 0.4906 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004456/0.1203, allocations: 155.7 kB / 0.4908 GB, free: 9.52 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.1205, allocations: 83.77 kB / 0.4908 GB, free: 9.438 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001349/0.1207, allocations: 20.22 kB / 0.4909 GB, free: 9.418 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.028e-05/0.1208, allocations: 39.83 kB / 0.4909 GB, free: 9.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.1209, allocations: 35.84 kB / 0.4909 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.283e-05/0.1209, allocations: 11.94 kB / 0.4909 GB, free: 9.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000149/0.121, allocations: 55.97 kB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.096e-05/0.1211, allocations: 15.98 kB / 0.491 GB, free: 9.262 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.313e-05/0.1212, allocations: 39.73 kB / 0.4911 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002683/0.1214, allocations: 111.7 kB / 0.4912 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.1215, allocations: 0 / 0.4912 GB, free: 9.113 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1215, allocations: 0 / 0.4912 GB, free: 9.113 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.1215, allocations: 0 / 0.4912 GB, free: 9.113 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006867/0.1222, allocations: 419 kB / 0.4916 GB, free: 8.656 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.1222, allocations: 12.03 kB / 0.4916 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.1223, allocations: 12.83 kB / 0.4916 GB, free: 8.633 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.1225, allocations: 192.1 kB / 0.4918 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.1225, allocations: 8.375 kB / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.1226, allocations: 384 / 0.4918 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003023/0.1229, allocations: 107.5 kB / 0.4919 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.1229, allocations: 4 kB / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.1229, allocations: 0 / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.1229, allocations: 0 / 0.4919 GB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003082/0.1232, allocations: 79.91 kB / 0.492 GB, free: 8.199 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.1238, allocations: 332.6 kB / 0.4923 GB, free: 7.824 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002453/0.1241, allocations: 70.53 kB / 0.4923 GB, free: 7.746 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001547/0.1243, allocations: 48.94 kB / 0.4924 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.612e-05/0.1243, allocations: 0 / 0.4924 GB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.452e-05/0.1243, allocations: 34.56 kB / 0.4924 GB, free: 7.652 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 2.645e-06/0.1243, allocations: 7.984 kB / 0.4924 GB, free: 7.645 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.001608/0.1259, allocations: 385 kB / 0.4928 GB, free: 7.262 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.126, allocations: 77.11 kB / 0.4929 GB, free: 7.168 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.1262, allocations: 153.5 kB / 0.493 GB, free: 7.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.1262, allocations: 29.7 kB / 0.493 GB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.384e-05/0.1263, allocations: 96.05 kB / 0.4931 GB, free: 6.875 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.018e-05/0.1263, allocations: 27.64 kB / 0.4932 GB, free: 6.848 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.068e-05/0.1264, allocations: 25.66 kB / 0.4932 GB, free: 6.816 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001107/0.1265, allocations: 322.8 kB / 0.4935 GB, free: 6.492 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/0.1268, allocations: 75.92 kB / 0.4936 GB, free: 6.418 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002813/0.1271, allocations: 89.62 kB / 0.4937 GB, free: 6.324 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005043/0.1276, allocations: 152.7 kB / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.1276, allocations: 0 / 0.4938 GB, free: 6.172 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005736/0.1282, allocations: 197.4 kB / 0.494 GB, free: 5.973 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.1282, allocations: 10.59 kB / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1282, allocations: 0 / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.1282, allocations: 0 / 0.494 GB, free: 5.965 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002136/0.1284, allocations: 39.95 kB / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.1285, allocations: 0 / 0.494 GB, free: 5.926 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001475/0.1286, allocations: 32.28 kB / 0.4941 GB, free: 5.895 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.1286, allocations: 0 / 0.4941 GB, free: 5.895 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 (8): * Single equations (assignments): 8 * 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.702e-05/0.1287, allocations: 125.8 kB / 0.4942 GB, free: 5.762 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.106e-05/0.1288, allocations: 7.906 kB / 0.4942 GB, free: 5.754 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006569/0.1294, allocations: 222.4 kB / 0.4944 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1295, allocations: 0 / 0.4944 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.1295, allocations: 0 / 0.4944 GB, free: 5.527 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.1295, allocations: 11.92 kB / 0.4944 GB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.1304, allocations: 490.4 kB / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1304, allocations: 0 / 0.4949 GB, free: 4.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001816/0.1306, allocations: 43.89 kB / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1306, allocations: 0 / 0.4949 GB, free: 4.938 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.267e-05/0.1306, allocations: 3.938 kB / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1306, allocations: 0 / 0.4949 GB, free: 4.934 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1306, allocations: 4 kB / 0.4949 GB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006329/0.1313, allocations: 287.3 kB / 0.4952 GB, free: 4.633 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.638e-05/0.1313, allocations: 85.02 kB / 0.4953 GB, free: 4.531 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.414e-05/0.1314, allocations: 3.938 kB / 0.4953 GB, free: 4.527 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001726/0.1315, allocations: 27.97 kB / 0.4953 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.841e-05/0.1316, allocations: 7.984 kB / 0.4953 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.1316, allocations: 0 / 0.4953 GB, free: 4.492 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.459e-05/0.1317, allocations: 115.2 kB / 0.4954 GB, free: 4.379 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1317, allocations: 0 / 0.4954 GB, free: 4.379 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.132, allocations: 35.98 kB / 0.4955 GB, free: 4.344 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 (8): * Single equations (assignments): 8 * 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.001051/0.1331, allocations: 456.6 kB / 0.4959 GB, free: 3.934 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006125/0.1337, allocations: 163.8 kB / 0.4961 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1337, allocations: 0 / 0.4961 GB, free: 3.773 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002969/0.134, allocations: 87.84 kB / 0.4961 GB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.1344, allocations: 35.22 kB / 0.4962 GB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004744/0.1349, allocations: 227.7 kB / 0.4964 GB, free: 3.402 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002534/0.1352, allocations: 0.6963 MB / 0.4971 GB, free: 2.68 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.586e-05/0.1352, allocations: 19.44 kB / 0.4971 GB, free: 2.66 MB / 382.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1353, allocations: 8 kB / 0.4971 GB, free: 2.652 MB / 382.1 MB Notification: Performance of Templates: time 0.004654/0.1399, allocations: 2.183 MB / 0.4992 GB, free: 484 kB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches