Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.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 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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 110.1 kB / 17.86 MB, free: 5.504 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.001039/0.001039, allocations: 201.9 kB / 18.78 MB, free: 4.586 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.319/1.319, allocations: 222.9 MB / 242.5 MB, free: 13.75 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.2092/0.2092, allocations: 44.17 MB / 336.8 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001256/0.001256, allocations: 66.08 kB / 408.3 MB, free: 27.67 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.113, allocations: 60.83 MB / 469.2 MB, free: 14.82 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test18_usertab): time 0.002945/0.116, allocations: 1.723 MB / 470.9 MB, free: 13.08 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007714/0.1168, allocations: 451.1 kB / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.226e-05/0.1168, allocations: 0 / 471.3 MB, free: 12.64 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002124/0.1171, allocations: 27.91 kB / 471.4 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001694/0.1173, allocations: 35.8 kB / 471.4 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.1176, allocations: 123.7 kB / 471.5 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001525/0.1178, allocations: 75.77 kB / 471.6 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001079/0.1179, allocations: 20.22 kB / 471.6 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.903e-05/0.118, allocations: 27.86 kB / 471.6 MB, free: 12.33 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.82e-05/0.118, allocations: 35.84 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.982e-05/0.1181, allocations: 4 kB / 471.7 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001177/0.1182, allocations: 55.95 kB / 471.7 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.621e-05/0.1182, allocations: 19.86 kB / 471.8 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.436e-05/0.1183, allocations: 31.8 kB / 471.8 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.1185, allocations: 80.09 kB / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1185, allocations: 0 / 471.9 MB, free: 12.11 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.22e-07/0.1185, allocations: 8 kB / 471.9 MB, free: 12.1 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.204e-06/0.1185, allocations: 0 / 471.9 MB, free: 12.1 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.0006225/0.1191, allocations: 411.1 kB / 472.3 MB, free: 11.65 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1192, allocations: 8.031 kB / 472.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.832e-05/0.1192, allocations: 12.84 kB / 472.3 MB, free: 11.63 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001926/0.1194, allocations: 188.2 kB / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.801e-06/0.1194, allocations: 384 / 472.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.477e-05/0.1195, allocations: 4.375 kB / 472.5 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002892/0.1198, allocations: 107.4 kB / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1198, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.1198, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1198, allocations: 0 / 472.6 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003153/0.1201, allocations: 71.92 kB / 472.7 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.1206, allocations: 308.6 kB / 473 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000256/0.1208, allocations: 62.53 kB / 473 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.121, allocations: 48.95 kB / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.515e-05/0.1211, allocations: 0 / 473.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.1211, allocations: 38.55 kB / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.133e-06/0.1211, allocations: 0 / 473.1 MB, free: 10.7 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.001593/0.1227, allocations: 381.1 kB / 473.5 MB, free: 10.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.391e-05/0.1228, allocations: 81.11 kB / 473.6 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001403/0.1229, allocations: 146 kB / 473.7 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.69e-05/0.1229, allocations: 25.7 kB / 473.7 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.3e-05/0.123, allocations: 100.1 kB / 473.8 MB, free: 9.934 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.417e-05/0.123, allocations: 35.61 kB / 473.9 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/0.1231, allocations: 21.72 kB / 473.9 MB, free: 9.871 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1232, allocations: 322.8 kB / 474.2 MB, free: 9.547 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002813/0.1235, allocations: 67.98 kB / 474.3 MB, free: 9.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002782/0.1238, allocations: 89.64 kB / 474.3 MB, free: 9.387 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005093/0.1243, allocations: 156.6 kB / 474.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1243, allocations: 0 / 474.5 MB, free: 9.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005869/0.1249, allocations: 189.4 kB / 474.7 MB, free: 9.039 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1249, allocations: 8 kB / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.125, allocations: 0 / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.125, allocations: 0 / 474.7 MB, free: 9.031 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.1252, allocations: 43.95 kB / 474.7 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1252, allocations: 4.375 kB / 474.7 MB, free: 8.984 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.1254, allocations: 23.91 kB / 474.8 MB, free: 8.961 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1254, allocations: 4 kB / 474.8 MB, free: 8.957 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 (10): * Single equations (assignments): 10 * 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.26e-05/0.1255, allocations: 122.4 kB / 474.9 MB, free: 8.828 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.717e-05/0.1255, allocations: 11.84 kB / 474.9 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006342/0.1262, allocations: 202.2 kB / 475.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.1262, allocations: 0 / 475.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.1262, allocations: 0 / 475.1 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.1262, allocations: 11.94 kB / 475.1 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009082/0.1271, allocations: 490.2 kB / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1271, allocations: 0 / 475.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001855/0.1273, allocations: 39.95 kB / 475.6 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1273, allocations: 3.938 kB / 475.6 MB, free: 8.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.938e-06/0.1274, allocations: 4 kB / 475.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1274, allocations: 0 / 475.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.1274, allocations: 0 / 475.6 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006185/0.128, allocations: 279.2 kB / 475.9 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.128, allocations: 92.94 kB / 476 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.669e-05/0.1281, allocations: 7.984 kB / 476 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001824/0.1283, allocations: 27.97 kB / 476 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.999e-05/0.1283, allocations: 11.98 kB / 476 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.304e-06/0.1283, allocations: 0 / 476 MB, free: 7.574 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.397e-05/0.1284, allocations: 113.7 kB / 476.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1284, allocations: 0 / 476.2 MB, free: 7.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1287, allocations: 32 kB / 476.2 MB, free: 7.434 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 (9): * Single equations (assignments): 9 * 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.001025/0.1298, allocations: 457.3 kB / 476.6 MB, free: 7.156 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006455/0.1304, allocations: 159.8 kB / 476.8 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1304, allocations: 0 / 476.8 MB, free: 7 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003058/0.1307, allocations: 79.86 kB / 476.9 MB, free: 6.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.1311, allocations: 21.81 kB / 476.9 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004866/0.1316, allocations: 253.3 kB / 477.1 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1319, allocations: 0.7004 MB / 477.8 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.978e-05/0.132, allocations: 23.36 kB / 477.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.132, allocations: 0 / 477.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of Templates: time 0.00404/0.1361, allocations: 2.131 MB / 480 MB, free: 3.754 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches