Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001304/0.001304, allocations: 100.6 kB / 16.94 MB, free: 6.184 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.001342/0.001342, allocations: 191.4 kB / 17.86 MB, free: 5.289 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.506/1.506, allocations: 205.1 MB / 223.7 MB, free: 12.3 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.2117/0.2117, allocations: 43.52 MB / 314.6 MB, free: 0.5273 MB / 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.001556/0.001556, allocations: 66.52 kB / 383.4 MB, free: 56.71 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1065/0.1081, allocations: 57.8 MB / 441.2 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002688/0.1108, allocations: 1.644 MB / 442.8 MB, free: 5.234 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005514/0.1114, allocations: 355.4 kB / 443.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.268e-05/0.1115, allocations: 0 / 443.2 MB, free: 4.883 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002077/0.1117, allocations: 15.86 kB / 443.2 MB, free: 4.867 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.1119, allocations: 47.72 kB / 443.3 MB, free: 4.82 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002676/0.1122, allocations: 127.5 kB / 443.4 MB, free: 4.699 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.1123, allocations: 75.77 kB / 443.4 MB, free: 4.625 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1124, allocations: 20.44 kB / 443.5 MB, free: 4.605 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.113e-05/0.1125, allocations: 31.86 kB / 443.5 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.217e-05/0.1126, allocations: 39.83 kB / 443.5 MB, free: 4.535 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.1126, allocations: 4 kB / 443.5 MB, free: 4.531 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001074/0.1127, allocations: 63.91 kB / 443.6 MB, free: 4.469 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.975e-05/0.1128, allocations: 23.91 kB / 443.6 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.133e-05/0.1128, allocations: 23.81 kB / 443.7 MB, free: 4.422 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001711/0.113, allocations: 107.7 kB / 443.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.113, allocations: 0 / 443.8 MB, free: 4.316 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.113, allocations: 4 kB / 443.8 MB, free: 4.312 MB / 318.1 MB Notification: Performance of Transformations before backend: time 5.15e-06/0.113, allocations: 0 / 443.8 MB, free: 4.312 MB / 318.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.0005166/0.1135, allocations: 411.1 kB / 444.2 MB, free: 3.863 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.1136, allocations: 12.03 kB / 444.2 MB, free: 3.852 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.1136, allocations: 12.75 kB / 444.2 MB, free: 3.84 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001519/0.1138, allocations: 196.1 kB / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.1138, allocations: 384 / 444.4 MB, free: 3.609 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.141e-05/0.1138, allocations: 4.375 kB / 444.4 MB, free: 3.605 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002482/0.1141, allocations: 99.48 kB / 444.5 MB, free: 3.496 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.1141, allocations: 3.984 kB / 444.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.1141, allocations: 0 / 444.5 MB, free: 3.492 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1141, allocations: 3.938 kB / 444.5 MB, free: 3.488 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002802/0.1144, allocations: 71.92 kB / 444.6 MB, free: 3.418 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002983/0.1147, allocations: 308.6 kB / 444.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.1149, allocations: 70.52 kB / 444.9 MB, free: 2.988 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001436/0.1151, allocations: 44.94 kB / 445 MB, free: 2.941 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1151, allocations: 4 kB / 445 MB, free: 2.938 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1151, allocations: 34.56 kB / 445 MB, free: 2.895 MB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.663e-06/0.1151, allocations: 0 / 445 MB, free: 2.895 MB / 318.1 MB Notification: Performance of matching and sorting (n=8): time 0.001469/0.1166, allocations: 368.9 kB / 445.4 MB, free: 2.527 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.726e-05/0.1167, allocations: 89.05 kB / 445.5 MB, free: 2.422 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.1168, allocations: 141.7 kB / 445.6 MB, free: 2.277 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1168, allocations: 25.7 kB / 445.6 MB, free: 2.246 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.572e-05/0.1168, allocations: 96.12 kB / 445.7 MB, free: 2.148 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.1169, allocations: 35.61 kB / 445.8 MB, free: 2.113 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.1169, allocations: 21.72 kB / 445.8 MB, free: 2.086 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.117, allocations: 318.8 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002606/0.1172, allocations: 71.92 kB / 446.2 MB, free: 1.695 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002513/0.1175, allocations: 77.64 kB / 446.2 MB, free: 1.613 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004919/0.118, allocations: 144.8 kB / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.118, allocations: 0 / 446.4 MB, free: 1.469 MB / 318.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005534/0.1186, allocations: 181.4 kB / 446.5 MB, free: 1.285 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1186, allocations: 4 kB / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.1186, allocations: 0 / 446.6 MB, free: 1.281 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.594e-05/0.1186, allocations: 4 kB / 446.6 MB, free: 1.277 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002006/0.1188, allocations: 35.89 kB / 446.6 MB, free: 1.242 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.1188, allocations: 4 kB / 446.6 MB, free: 1.238 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000137/0.119, allocations: 31.91 kB / 446.6 MB, free: 1.207 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.119, allocations: 7.984 kB / 446.6 MB, free: 1.199 MB / 318.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 7.151e-05/0.1191, allocations: 117.8 kB / 446.7 MB, free: 1.074 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.1191, allocations: 7.906 kB / 446.8 MB, free: 1.066 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006066/0.1197, allocations: 202.2 kB / 447 MB, free: 0.8594 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.1198, allocations: 4 kB / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1198, allocations: 0 / 447 MB, free: 0.8555 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1198, allocations: 3.938 kB / 447 MB, free: 0.8516 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000766/0.1205, allocations: 470.4 kB / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1206, allocations: 0 / 447.4 MB, free: 344 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001679/0.1207, allocations: 35.89 kB / 447.5 MB, free: 308 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.389e-06/0.1207, allocations: 8 kB / 447.5 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.1208, allocations: 3.938 kB / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.1208, allocations: 480 / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1208, allocations: 0 / 447.5 MB, free: 296 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005865/0.1214, allocations: 283.6 kB / 447.7 MB, free: 15.99 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.654e-05/0.1214, allocations: 84.98 kB / 447.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.562e-05/0.1214, allocations: 7.938 kB / 447.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001761/0.1216, allocations: 27.97 kB / 447.9 MB, free: 15.86 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.869e-05/0.1217, allocations: 11.98 kB / 447.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.1217, allocations: 4 kB / 447.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.1218, allocations: 115.2 kB / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1218, allocations: 0 / 448 MB, free: 15.73 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002783/0.1221, allocations: 28 kB / 448 MB, free: 15.7 MB / 334.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.001085/0.1232, allocations: 450.9 kB / 448.5 MB, free: 15.34 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006446/0.1239, allocations: 155.8 kB / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1239, allocations: 0 / 448.6 MB, free: 15.19 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002915/0.1242, allocations: 87.86 kB / 448.7 MB, free: 15.1 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003932/0.1246, allocations: 19.92 kB / 448.7 MB, free: 15.08 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004662/0.1251, allocations: 215.7 kB / 448.9 MB, free: 14.84 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.1254, allocations: 0.6963 MB / 449.6 MB, free: 14.12 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.1256, allocations: 19.44 kB / 449.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.1256, allocations: 0 / 449.6 MB, free: 14.1 MB / 334.1 MB Notification: Performance of Templates: time 0.004222/0.1298, allocations: 2.111 MB / 451.8 MB, free: 12 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches