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.001331/0.001331, allocations: 109.2 kB / 17.04 MB, free: 5.809 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.001336/0.001336, allocations: 195 kB / 17.97 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.449/1.449, allocations: 205.1 MB / 223.8 MB, free: 12.26 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.2107/0.2107, 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.00159/0.00159, allocations: 64.11 kB / 384.2 MB, free: 56.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1037, allocations: 57.79 MB / 442 MB, free: 6.16 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.00278/0.1065, allocations: 2.024 MB / 444 MB, free: 4.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001231/0.1077, allocations: 1.081 MB / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.469e-05/0.1078, allocations: 0 / 445.1 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.1081, allocations: 55.52 kB / 445.1 MB, free: 2.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002682/0.1084, allocations: 155.3 kB / 445.3 MB, free: 2.824 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.1092, allocations: 0.5639 MB / 445.8 MB, free: 2.273 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002545/0.1095, allocations: 303.1 kB / 446.1 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001517/0.1097, allocations: 68.72 kB / 446.2 MB, free: 1.91 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.1098, allocations: 135.4 kB / 446.3 MB, free: 1.777 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001744/0.11, allocations: 195.3 kB / 446.5 MB, free: 1.586 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.224e-05/0.11, allocations: 16 kB / 446.5 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.893e-05/0.1101, allocations: 36 kB / 446.6 MB, free: 1.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.1102, allocations: 155.5 kB / 446.7 MB, free: 1.383 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001002/0.1103, allocations: 158.7 kB / 446.9 MB, free: 1.227 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002721/0.1106, allocations: 394.4 kB / 447.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.1106, allocations: 0 / 447.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1106, allocations: 0 / 447.3 MB, free: 0.8398 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.1107, allocations: 0 / 447.3 MB, free: 0.8398 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0007926/0.1115, allocations: 0.7658 MB / 448 MB, free: 24 kB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.1115, allocations: 15.89 kB / 448.1 MB, free: 8 kB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.1116, allocations: 56.36 kB / 448.1 MB, free: 15.95 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006208/0.1122, allocations: 451.8 kB / 448.6 MB, free: 15.47 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.603e-05/0.1123, allocations: 12.31 kB / 448.6 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.878e-05/0.1123, allocations: 20.03 kB / 448.6 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003325/0.1126, allocations: 161.3 kB / 448.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.1127, allocations: 0 / 448.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.1127, allocations: 0 / 448.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1127, allocations: 4 kB / 448.7 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003213/0.113, allocations: 127.8 kB / 448.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.1141, allocations: 0.6956 MB / 449.6 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000297/0.1144, allocations: 125.2 kB / 449.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000153/0.1146, allocations: 73.73 kB / 449.8 MB, free: 14.17 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1146, allocations: 8 kB / 449.8 MB, free: 14.16 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.705e-05/0.1146, allocations: 34.5 kB / 449.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.263e-06/0.1147, allocations: 0 / 449.8 MB, free: 14.12 MB / 334.1 MB Notification: Performance of matching and sorting (n=20): time 0.001971/0.1166, allocations: 0.7329 MB / 450.5 MB, free: 13.38 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.08e-05/0.1167, allocations: 88.98 kB / 450.6 MB, free: 13.27 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/0.1177, allocations: 0.8544 MB / 451.5 MB, free: 12.41 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.619e-05/0.1177, allocations: 29.7 kB / 451.5 MB, free: 12.38 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001797/0.1179, allocations: 248.4 kB / 451.7 MB, free: 12.13 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.118, allocations: 67 kB / 451.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.561e-05/0.118, allocations: 41.7 kB / 451.9 MB, free: 12.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.1182, allocations: 370.7 kB / 452.2 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002754/0.1185, allocations: 115.7 kB / 452.3 MB, free: 11.54 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.1188, allocations: 131 kB / 452.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005504/0.1194, allocations: 253.7 kB / 452.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.142e-06/0.1194, allocations: 0 / 452.7 MB, free: 11.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007264/0.1201, allocations: 332.8 kB / 453 MB, free: 10.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.632e-05/0.1201, allocations: 13.23 kB / 453 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.1201, allocations: 4 kB / 453 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.1202, allocations: 0 / 453 MB, free: 10.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002998/0.1205, allocations: 55.89 kB / 453.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.772e-06/0.1205, allocations: 0 / 453.1 MB, free: 10.75 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001777/0.1207, allocations: 23.97 kB / 453.1 MB, free: 10.72 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.027e-05/0.1207, allocations: 4 kB / 453.1 MB, free: 10.72 MB / 334.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.0002314/0.1209, allocations: 233.5 kB / 453.4 MB, free: 10.48 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.1211, allocations: 55.33 kB / 453.4 MB, free: 10.43 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008057/0.1219, allocations: 389.7 kB / 453.8 MB, free: 10.04 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.992e-06/0.1219, allocations: 7.984 kB / 453.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1219, allocations: 0 / 453.8 MB, free: 10.03 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1219, allocations: 4 kB / 453.8 MB, free: 10.02 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001422/0.1233, allocations: 0.935 MB / 454.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.195e-06/0.1233, allocations: 0 / 454.7 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002455/0.1236, allocations: 55.95 kB / 454.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.716e-06/0.1236, allocations: 0 / 454.8 MB, free: 8.977 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/0.1236, allocations: 8 kB / 454.8 MB, free: 8.969 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.594e-06/0.1236, allocations: 11.86 kB / 454.8 MB, free: 8.957 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.1237, allocations: 4 kB / 454.8 MB, free: 8.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007669/0.1244, allocations: 0.5087 MB / 455.3 MB, free: 8.43 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001676/0.1246, allocations: 136.4 kB / 455.5 MB, free: 8.277 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.037e-05/0.1247, allocations: 8 kB / 455.5 MB, free: 8.27 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002352/0.1249, allocations: 19.92 kB / 455.5 MB, free: 8.25 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.782e-05/0.125, allocations: 23.97 kB / 455.5 MB, free: 8.227 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.125, allocations: 7.984 kB / 455.5 MB, free: 8.219 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000674/0.1257, allocations: 0.6237 MB / 456.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1257, allocations: 0 / 456.1 MB, free: 7.598 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003719/0.1261, allocations: 64 kB / 456.2 MB, free: 7.535 MB / 334.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.0009361/0.127, allocations: 409.6 kB / 456.6 MB, free: 7.207 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0006297/0.1277, allocations: 255.8 kB / 456.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.1277, allocations: 0 / 456.9 MB, free: 6.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000301/0.128, allocations: 147.8 kB / 457 MB, free: 6.812 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006376/0.1286, allocations: 86.88 kB / 457.1 MB, free: 6.727 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.13, allocations: 0.9547 MB / 458 MB, free: 5.734 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.1304, allocations: 0.8884 MB / 458.9 MB, free: 4.82 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.1306, allocations: 98.88 kB / 459 MB, free: 4.727 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.1308, allocations: 43.42 kB / 459.1 MB, free: 4.684 MB / 334.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1308, allocations: 3.938 kB / 459.1 MB, free: 4.68 MB / 334.1 MB Notification: Performance of Templates: time 0.008849/0.1396, allocations: 4.371 MB / 463.4 MB, free: 316 kB / 334.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 -s gbode -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