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.001487/0.001487, allocations: 109.9 kB / 17.08 MB, free: 6.004 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.001637/0.001637, allocations: 199 kB / 18.01 MB, free: 5.086 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.398/1.398, 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.1923/0.1923, allocations: 43.52 MB / 314.8 MB, free: 464 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.001404/0.001404, allocations: 75.89 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09744/0.09885, allocations: 57.79 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003184/0.1021, allocations: 2.033 MB / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.1037, allocations: 1.081 MB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.309e-05/0.1038, allocations: 4 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1041, allocations: 51.58 kB / 0.4916 GB, free: 8.598 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000365/0.1045, allocations: 155.2 kB / 0.4918 GB, free: 8.445 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001181/0.1057, allocations: 0.5614 MB / 0.4923 GB, free: 7.883 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003761/0.1061, allocations: 307.1 kB / 0.4926 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001778/0.1063, allocations: 72.56 kB / 0.4927 GB, free: 7.512 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001976/0.1065, allocations: 139.4 kB / 0.4928 GB, free: 7.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002523/0.1067, allocations: 187.3 kB / 0.493 GB, free: 7.191 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.606e-05/0.1068, allocations: 15.98 kB / 0.493 GB, free: 7.176 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1069, allocations: 47.94 kB / 0.4931 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1071, allocations: 147.5 kB / 0.4932 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1073, allocations: 158.7 kB / 0.4934 GB, free: 6.828 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003958/0.1077, allocations: 390.4 kB / 0.4937 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.1077, allocations: 0 / 0.4937 GB, free: 6.445 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.1077, allocations: 0 / 0.4937 GB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.613e-06/0.1077, allocations: 0 / 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.000987/0.1087, allocations: 0.7658 MB / 0.4945 GB, free: 5.629 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1087, allocations: 19.89 kB / 0.4945 GB, free: 5.609 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.136e-05/0.1088, allocations: 56.19 kB / 0.4946 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.1094, allocations: 451.8 kB / 0.495 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.388e-05/0.1094, allocations: 12.36 kB / 0.495 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.1094, allocations: 20.03 kB / 0.495 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003261/0.1098, allocations: 167.1 kB / 0.4952 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.1098, allocations: 0 / 0.4952 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.1098, allocations: 0 / 0.4952 GB, free: 4.863 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.1098, allocations: 8 kB / 0.4952 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003037/0.1101, allocations: 119.8 kB / 0.4953 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009643/0.1111, allocations: 0.6995 MB / 0.496 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002874/0.1114, allocations: 133.2 kB / 0.4961 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001581/0.1116, allocations: 65.8 kB / 0.4962 GB, free: 3.766 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.019e-05/0.1116, allocations: 8 kB / 0.4962 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.1116, allocations: 34.56 kB / 0.4962 GB, free: 3.715 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.322e-06/0.1117, allocations: 3.938 kB / 0.4962 GB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002103/0.1138, allocations: 0.7282 MB / 0.4969 GB, free: 2.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.1138, allocations: 81.11 kB / 0.497 GB, free: 2.875 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009008/0.1147, allocations: 0.8582 MB / 0.4978 GB, free: 2.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.426e-05/0.1148, allocations: 29.92 kB / 0.4979 GB, free: 1.969 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/0.115, allocations: 252.4 kB / 0.4981 GB, free: 1.719 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.987e-05/0.115, allocations: 66.95 kB / 0.4982 GB, free: 1.652 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001321/0.1152, allocations: 45.69 kB / 0.4982 GB, free: 1.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.1154, allocations: 370.7 kB / 0.4986 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003067/0.1157, allocations: 107.9 kB / 0.4987 GB, free: 1.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002849/0.116, allocations: 137.1 kB / 0.4988 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005691/0.1165, allocations: 245.5 kB / 0.499 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-06/0.1166, allocations: 4 kB / 0.499 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007607/0.1173, allocations: 336.9 kB / 0.4994 GB, free: 412 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.1173, allocations: 4 kB / 0.4994 GB, free: 408 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.1174, allocations: 7.984 kB / 0.4994 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1174, allocations: 0 / 0.4994 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002819/0.1177, allocations: 55.95 kB / 0.4994 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.1177, allocations: 0 / 0.4994 GB, free: 344 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001788/0.1179, allocations: 23.97 kB / 0.4995 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.1179, allocations: 4 kB / 0.4995 GB, free: 316 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.0002147/0.1181, allocations: 225.6 kB / 0.4997 GB, free: 80 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.1182, allocations: 55.33 kB / 0.4997 GB, free: 24 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008693/0.1191, allocations: 398.6 kB / 0.5001 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.963e-06/0.1191, allocations: 4 kB / 0.5001 GB, free: 15.62 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.173e-06/0.1191, allocations: 3.984 kB / 0.5001 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1191, allocations: 0 / 0.5001 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00146/0.1206, allocations: 0.9389 MB / 0.501 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.1206, allocations: 0 / 0.501 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.1209, allocations: 55.89 kB / 0.5011 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.1209, allocations: 4 kB / 0.5011 GB, free: 14.56 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/0.1209, allocations: 11.98 kB / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.1209, allocations: 3.938 kB / 0.5011 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.1209, allocations: 3.984 kB / 0.5011 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007872/0.1217, allocations: 0.5057 MB / 0.5016 GB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.1219, allocations: 136.4 kB / 0.5017 GB, free: 13.87 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.814e-05/0.1219, allocations: 8 kB / 0.5017 GB, free: 13.86 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002439/0.1222, allocations: 19.92 kB / 0.5018 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.621e-05/0.1223, allocations: 27.84 kB / 0.5018 GB, free: 13.81 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.1223, allocations: 7.984 kB / 0.5018 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000652/0.1229, allocations: 0.6276 MB / 0.5024 GB, free: 13.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1229, allocations: 0 / 0.5024 GB, free: 13.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003784/0.1233, 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.0009522/0.1243, allocations: 403 kB / 0.5028 GB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006824/0.125, allocations: 259.7 kB / 0.5031 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.125, allocations: 0 / 0.5031 GB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.1253, allocations: 143.8 kB / 0.5032 GB, free: 12.36 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000636/0.126, allocations: 81.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.001437/0.1274, allocations: 0.9681 MB / 0.5043 GB, free: 11.28 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.1279, 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.0001456/0.128, allocations: 47.42 kB / 0.5051 GB, free: 10.34 MB / 398.1 MB Notification: Performance of SimCode: time 2.7e-07/0.128, allocations: 0 / 0.5051 GB, free: 10.34 MB / 398.1 MB Notification: Performance of Templates: time 0.008519/0.1366, allocations: 6.184 MB / 0.5112 GB, free: 4.152 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