Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.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.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|cosine_R.y|sine_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|cosine_L.y|sine_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 115.4 kB / 17.08 MB, free: 5.996 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.001614/0.001614, allocations: 194.4 kB / 18.01 MB, free: 5.082 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.546/1.546, 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.2161/0.2161, allocations: 43.52 MB / 314.8 MB, free: 468 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.001442/0.001442, allocations: 75.83 kB / 442.5 MB, free: 5.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09667/0.09812, allocations: 57.79 MB / 0.4885 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003386/0.1015, allocations: 2.037 MB / 0.4905 GB, free: 9.75 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001706/0.1033, allocations: 1.077 MB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001491/0.1034, allocations: 7.938 kB / 0.4916 GB, free: 8.656 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000263/0.1037, allocations: 51.58 kB / 0.4916 GB, free: 8.605 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003723/0.1041, allocations: 151.3 kB / 0.4918 GB, free: 8.457 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001196/0.1053, allocations: 0.5691 MB / 0.4923 GB, free: 7.887 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000439/0.1058, allocations: 303.1 kB / 0.4926 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001788/0.106, allocations: 72.56 kB / 0.4927 GB, free: 7.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000228/0.1062, allocations: 135.4 kB / 0.4928 GB, free: 7.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002619/0.1065, allocations: 199.3 kB / 0.493 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.052e-05/0.1065, allocations: 12 kB / 0.493 GB, free: 7.18 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000121/0.1067, allocations: 43.94 kB / 0.4931 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.1068, allocations: 147.5 kB / 0.4932 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001408/0.107, allocations: 158.7 kB / 0.4934 GB, free: 6.836 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004039/0.1074, allocations: 394.4 kB / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1074, allocations: 0 / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1074, allocations: 0 / 0.4937 GB, free: 6.449 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.544e-05/0.1074, allocations: 4 kB / 0.4937 GB, free: 6.445 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001032/0.1084, allocations: 0.7619 MB / 0.4945 GB, free: 5.633 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.1085, allocations: 11.89 kB / 0.4945 GB, free: 5.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.1086, allocations: 56.19 kB / 0.4946 GB, free: 5.566 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005197/0.1091, allocations: 459.8 kB / 0.495 GB, free: 5.074 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.1092, allocations: 8.375 kB / 0.495 GB, free: 5.066 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.1092, allocations: 16.03 kB / 0.495 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.1095, allocations: 167.1 kB / 0.4952 GB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.1096, allocations: 8 kB / 0.4952 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.1096, allocations: 0 / 0.4952 GB, free: 4.867 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.1096, allocations: 4 kB / 0.4952 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.1099, allocations: 119.8 kB / 0.4953 GB, free: 4.746 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009988/0.1109, allocations: 0.6995 MB / 0.496 GB, free: 3.992 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002944/0.1112, allocations: 129.2 kB / 0.4961 GB, free: 3.848 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/0.1114, allocations: 73.73 kB / 0.4962 GB, free: 3.77 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.358e-05/0.1115, allocations: 8 kB / 0.4962 GB, free: 3.762 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.676e-05/0.1115, allocations: 30.56 kB / 0.4962 GB, free: 3.723 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.433e-06/0.1115, allocations: 0 / 0.4962 GB, free: 3.723 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.00206/0.1136, allocations: 0.7283 MB / 0.4969 GB, free: 2.984 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.1136, allocations: 89.05 kB / 0.497 GB, free: 2.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008984/0.1145, allocations: 0.8582 MB / 0.4978 GB, free: 2.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.602e-05/0.1146, allocations: 29.92 kB / 0.4979 GB, free: 1.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000181/0.1148, allocations: 248.4 kB / 0.4981 GB, free: 1.727 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.171e-05/0.1148, allocations: 70.94 kB / 0.4982 GB, free: 1.656 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.355e-05/0.1149, allocations: 37.7 kB / 0.4982 GB, free: 1.613 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1151, allocations: 374.7 kB / 0.4986 GB, free: 1.238 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002861/0.1154, allocations: 111.9 kB / 0.4987 GB, free: 1.129 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002834/0.1156, allocations: 133.1 kB / 0.4988 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005751/0.1162, allocations: 249.5 kB / 0.499 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.1162, allocations: 0 / 0.499 GB, free: 0.7461 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007346/0.117, allocations: 340.9 kB / 0.4994 GB, free: 416 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.117, allocations: 7.984 kB / 0.4994 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.117, allocations: 0 / 0.4994 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.117, allocations: 4 kB / 0.4994 GB, free: 404 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002804/0.1173, allocations: 47.95 kB / 0.4994 GB, free: 356 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.1173, allocations: 4 kB / 0.4994 GB, free: 352 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001851/0.1175, allocations: 23.97 kB / 0.4995 GB, free: 328 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.1176, allocations: 8 kB / 0.4995 GB, free: 320 kB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.000213/0.1178, allocations: 225.6 kB / 0.4997 GB, free: 84 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.1179, allocations: 55.33 kB / 0.4997 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008543/0.1188, allocations: 398.5 kB / 0.5001 GB, free: 15.63 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.1188, allocations: 7.984 kB / 0.5001 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1188, allocations: 0 / 0.5001 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.1188, allocations: 0 / 0.5001 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001375/0.1202, allocations: 0.9347 MB / 0.501 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1202, allocations: 0 / 0.501 GB, free: 14.63 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002484/0.1204, allocations: 51.89 kB / 0.5011 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.1205, allocations: 8.453 kB / 0.5011 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.1205, allocations: 4 kB / 0.5011 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.1205, allocations: 11.92 kB / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1205, allocations: 0 / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007798/0.1213, allocations: 0.5095 MB / 0.5016 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001148/0.1214, allocations: 136.4 kB / 0.5017 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.432e-05/0.1215, allocations: 4 kB / 0.5017 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.1217, allocations: 23.92 kB / 0.5018 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.065e-05/0.1218, allocations: 23.91 kB / 0.5018 GB, free: 13.82 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.1218, allocations: 15.92 kB / 0.5018 GB, free: 13.81 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006439/0.1225, allocations: 0.6237 MB / 0.5024 GB, free: 13.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1225, allocations: 0 / 0.5024 GB, free: 13.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003601/0.1228, allocations: 64 kB / 0.5025 GB, free: 13.12 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0009056/0.1238, allocations: 403.8 kB / 0.5028 GB, free: 12.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006736/0.1244, allocations: 259.7 kB / 0.5031 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1245, allocations: 0 / 0.5031 GB, free: 12.51 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003396/0.1248, allocations: 147.8 kB / 0.5032 GB, free: 12.37 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006285/0.1254, allocations: 77.48 kB / 0.5033 GB, free: 12.29 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.1269, allocations: 0.9681 MB / 0.5043 GB, free: 11.29 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004777/0.1274, allocations: 0.8653 MB / 0.5051 GB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001488/0.1275, allocations: 47.41 kB / 0.5051 GB, free: 10.35 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1275, allocations: 0 / 0.5051 GB, free: 10.35 MB / 398.1 MB Notification: Performance of Templates: time 0.009284/0.1368, allocations: 6.109 MB / 0.5111 GB, free: 4.234 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test23/Test23.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches