Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") translateModel(ModelicaTest.Tables.CombiTable2D.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|clock1.y|combiTable2D1D.y|combiTable2D1DT.y|combiTable1D.y.1.|combiTable2D.y|combiTable2DT.y|der1.y|der2.y|der3.y|der4.y|der5.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001107/0.001107, allocations: 111.3 kB / 17.04 MB, free: 5.812 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.001127/0.001127, allocations: 195 kB / 17.98 MB, free: 5.027 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.368/1.368, allocations: 205.1 MB / 223.8 MB, free: 12.27 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.2074/0.2074, allocations: 43.52 MB / 314.7 MB, free: 488 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.001421/0.001421, allocations: 73.02 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09963/0.1011, allocations: 57.78 MB / 442 MB, free: 6.133 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test21): time 0.003251/0.1044, allocations: 1.94 MB / 443.9 MB, free: 4.176 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1055, allocations: 0.6666 MB / 444.6 MB, free: 3.504 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001011/0.1056, allocations: 4 kB / 444.6 MB, free: 3.5 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004335/0.106, allocations: 255.2 kB / 444.8 MB, free: 3.25 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003119/0.1063, allocations: 199.3 kB / 445 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007569/0.1071, allocations: 441.6 kB / 445.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.1074, allocations: 271.3 kB / 445.7 MB, free: 2.371 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1075, allocations: 76.61 kB / 445.8 MB, free: 2.297 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.1076, allocations: 135.4 kB / 445.9 MB, free: 2.164 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001707/0.1078, allocations: 191.4 kB / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.422e-05/0.1078, allocations: 8 kB / 446.1 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/0.108, allocations: 71.91 kB / 446.2 MB, free: 1.898 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.374e-05/0.1081, allocations: 83.73 kB / 446.3 MB, free: 1.816 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.569e-05/0.1081, allocations: 111 kB / 446.4 MB, free: 1.707 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002694/0.1084, allocations: 294.9 kB / 446.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.1084, allocations: 0 / 446.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.015e-06/0.1084, allocations: 0 / 446.7 MB, free: 1.418 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.263e-05/0.1084, allocations: 7.938 kB / 446.7 MB, free: 1.41 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0005548/0.109, allocations: 0.6146 MB / 447.3 MB, free: 0.7461 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.109, allocations: 11.89 kB / 447.3 MB, free: 0.7344 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.435e-05/0.1091, allocations: 36.47 kB / 447.3 MB, free: 0.6992 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1094, allocations: 306.3 kB / 447.6 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.1094, allocations: 8.375 kB / 447.7 MB, free: 360 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.1094, allocations: 12.38 kB / 447.7 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1096, allocations: 114.5 kB / 447.8 MB, free: 228 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.34e-05/0.1097, allocations: 4 kB / 447.8 MB, free: 224 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.1097, allocations: 4 kB / 447.8 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.1097, allocations: 3.938 kB / 447.8 MB, free: 216 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.1099, allocations: 71.95 kB / 447.9 MB, free: 144 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006547/0.1105, allocations: 472.3 kB / 448.3 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001794/0.1107, allocations: 90.48 kB / 448.4 MB, free: 15.53 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.021e-05/0.1108, allocations: 36.84 kB / 448.4 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.524e-05/0.1108, allocations: 7.984 kB / 448.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1109, allocations: 34.56 kB / 448.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of pre-optimization done (n=11): time 2.926e-06/0.1109, allocations: 3.984 kB / 448.5 MB, free: 15.44 MB / 334.1 MB Notification: Performance of matching and sorting (n=17): time 0.0008853/0.1118, allocations: 372.1 kB / 448.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.433e-05/0.1118, allocations: 59.41 kB / 448.9 MB, free: 15 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004962/0.1123, allocations: 0.5171 MB / 449.4 MB, free: 14.47 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.754e-05/0.1124, allocations: 29.7 kB / 449.5 MB, free: 14.44 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.1125, allocations: 192.3 kB / 449.6 MB, free: 14.25 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.551e-05/0.1125, allocations: 59.11 kB / 449.7 MB, free: 14.19 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.262e-05/0.1126, allocations: 33.7 kB / 449.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1127, allocations: 346.8 kB / 450.1 MB, free: 13.8 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.1129, allocations: 51.97 kB / 450.1 MB, free: 13.75 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.113, allocations: 57 kB / 450.2 MB, free: 13.7 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002688/0.1132, allocations: 115.8 kB / 450.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1133, allocations: 3.938 kB / 450.3 MB, free: 13.58 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003198/0.1136, allocations: 197.1 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.329e-05/0.1136, allocations: 4 kB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.648e-06/0.1136, allocations: 0 / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1136, allocations: 4 kB / 450.5 MB, free: 13.37 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.1138, allocations: 43.84 kB / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1138, allocations: 0 / 450.5 MB, free: 13.33 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.395e-05/0.1139, allocations: 8 kB / 450.5 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.1139, allocations: 4 kB / 450.6 MB, free: 13.32 MB / 334.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 (17): * Single equations (assignments): 17 * 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.0001544/0.1141, allocations: 181.6 kB / 450.7 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.313e-05/0.1141, allocations: 35.53 kB / 450.8 MB, free: 13.09 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004296/0.1146, allocations: 244.1 kB / 451 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1146, allocations: 4 kB / 451 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.1146, allocations: 0 / 451 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1146, allocations: 0 / 451 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000744/0.1153, allocations: 0.6075 MB / 451.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.1154, allocations: 3.938 kB / 451.6 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001026/0.1155, allocations: 27.98 kB / 451.6 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1155, allocations: 8 kB / 451.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.1155, allocations: 4 kB / 451.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.1155, allocations: 0 / 451.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.1155, allocations: 7.938 kB / 451.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003715/0.1159, allocations: 290.9 kB / 452 MB, free: 11.83 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.782e-05/0.116, allocations: 100.7 kB / 452 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.116, allocations: 8 kB / 452.1 MB, free: 11.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.1e-05/0.1161, allocations: 12 kB / 452.1 MB, free: 11.7 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1162, allocations: 11.92 kB / 452.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1162, allocations: 4 kB / 452.1 MB, free: 11.68 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000386/0.1166, allocations: 395.1 kB / 452.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1166, allocations: 0 / 452.5 MB, free: 11.3 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002982/0.1169, allocations: 44 kB / 452.5 MB, free: 11.25 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 (17): * Single equations (assignments): 17 * 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.001683/0.1186, allocations: 0.705 MB / 453.2 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000315/0.1189, allocations: 131.8 kB / 453.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1189, allocations: 0 / 453.3 MB, free: 10.5 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.1191, allocations: 71.91 kB / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.1197, allocations: 75.41 kB / 453.5 MB, free: 10.36 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009562/0.1206, allocations: 0.6401 MB / 454.1 MB, free: 9.691 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.1211, allocations: 0.8061 MB / 454.9 MB, free: 8.859 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.1213, allocations: 49.88 kB / 455 MB, free: 8.809 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.842e-05/0.1213, allocations: 35.42 kB / 455 MB, free: 8.773 MB / 334.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1213, allocations: 0 / 455 MB, free: 8.773 MB / 334.1 MB Notification: Performance of Templates: time 0.007333/0.1287, allocations: 3.151 MB / 458.2 MB, free: 5.625 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test21/Test21.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches