Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.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.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test22,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D_1R.y.1.|der_1R.y|combiTable2D_2R.y.1.|der_2R.y|sine_R.y|const_R.y|combiTable2D_1L.y.1.|der_1L.y|combiTable2D_2L.y.1.|der_2L.y|sine_L.y|const_L.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 109.3 kB / 17.09 MB, free: 5.984 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.0009828/0.0009828, allocations: 199.3 kB / 18.02 MB, free: 5.066 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.277/1.277, 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.213/0.213, allocations: 43.53 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.001495/0.001495, allocations: 65.47 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1043, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003695/0.108, allocations: 1.957 MB / 0.4905 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001799/0.1098, allocations: 1.057 MB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.11, allocations: 0 / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002668/0.1103, allocations: 55.56 kB / 0.4916 GB, free: 8.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003636/0.1107, allocations: 139.4 kB / 0.4917 GB, free: 8.555 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001175/0.1118, allocations: 0.5614 MB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004348/0.1123, allocations: 267.3 kB / 0.4925 GB, free: 7.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002243/0.1125, allocations: 76.55 kB / 0.4926 GB, free: 7.656 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002454/0.1128, allocations: 127.5 kB / 0.4927 GB, free: 7.531 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002731/0.1131, allocations: 183.3 kB / 0.4929 GB, free: 7.352 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.1131, allocations: 12 kB / 0.4929 GB, free: 7.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001197/0.1132, allocations: 39.98 kB / 0.4929 GB, free: 7.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1134, allocations: 143.6 kB / 0.493 GB, free: 7.16 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1136, allocations: 158.7 kB / 0.4932 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004337/0.114, allocations: 366.6 kB / 0.4935 GB, free: 6.645 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.114, allocations: 0 / 0.4935 GB, free: 6.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.114, allocations: 0 / 0.4935 GB, free: 6.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.13e-05/0.114, allocations: 4 kB / 0.4936 GB, free: 6.641 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.00102/0.1151, allocations: 0.7419 MB / 0.4943 GB, free: 5.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.1151, allocations: 11.89 kB / 0.4943 GB, free: 5.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001111/0.1152, allocations: 52.28 kB / 0.4943 GB, free: 5.789 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005874/0.1158, allocations: 451.8 kB / 0.4948 GB, free: 5.305 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1159, allocations: 8.375 kB / 0.4948 GB, free: 5.297 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.008e-05/0.1159, allocations: 12.12 kB / 0.4948 GB, free: 5.285 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002846/0.1162, allocations: 143.2 kB / 0.4949 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.1162, allocations: 7.844 kB / 0.4949 GB, free: 5.125 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1162, allocations: 8 kB / 0.4949 GB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1163, allocations: 4 kB / 0.4949 GB, free: 5.113 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002359/0.1165, allocations: 91.92 kB / 0.495 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009014/0.1174, allocations: 0.676 MB / 0.4957 GB, free: 4.293 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002223/0.1176, allocations: 121.1 kB / 0.4958 GB, free: 4.156 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.917e-05/0.1177, allocations: 49.81 kB / 0.4959 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.1178, allocations: 0 / 0.4959 GB, free: 4.102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.1178, allocations: 38.5 kB / 0.4959 GB, free: 4.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 3.156e-06/0.1178, allocations: 4 kB / 0.4959 GB, free: 4.051 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001429/0.1193, allocations: 0.5294 MB / 0.4964 GB, free: 3.512 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.077e-05/0.1193, allocations: 77.11 kB / 0.4965 GB, free: 3.418 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009303/0.1203, allocations: 0.8622 MB / 0.4973 GB, free: 2.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.1203, allocations: 37.7 kB / 0.4974 GB, free: 2.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.1205, allocations: 240.3 kB / 0.4976 GB, free: 2.258 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.842e-05/0.1205, allocations: 55.2 kB / 0.4976 GB, free: 2.203 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.736e-05/0.1206, allocations: 33.7 kB / 0.4977 GB, free: 2.164 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1208, allocations: 366.8 kB / 0.498 GB, free: 1.797 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.1209, allocations: 59.95 kB / 0.4981 GB, free: 1.738 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001621/0.1211, allocations: 93.45 kB / 0.4982 GB, free: 1.645 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003195/0.1214, allocations: 157.6 kB / 0.4983 GB, free: 1.484 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1214, allocations: 0 / 0.4983 GB, free: 1.484 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004516/0.1219, allocations: 248.9 kB / 0.4986 GB, free: 1.234 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.1219, allocations: 4 kB / 0.4986 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.728e-06/0.1219, allocations: 0 / 0.4986 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.1219, allocations: 0 / 0.4986 GB, free: 1.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001958/0.1221, allocations: 39.91 kB / 0.4986 GB, free: 1.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1222, allocations: 4 kB / 0.4986 GB, free: 1.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001209/0.1223, allocations: 11.98 kB / 0.4986 GB, free: 1.176 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.1223, allocations: 8 kB / 0.4986 GB, free: 1.168 MB / 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 (16): * Single equations (assignments): 16 * 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.0001951/0.1225, allocations: 217.7 kB / 0.4988 GB, free: 0.9453 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.913e-05/0.1226, allocations: 59.23 kB / 0.4989 GB, free: 0.8867 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005674/0.1232, allocations: 287 kB / 0.4992 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.1232, allocations: 0 / 0.4992 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.1232, allocations: 3.938 kB / 0.4992 GB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001103/0.1233, allocations: 136.5 kB / 0.4993 GB, free: 452 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.502e-05/0.1234, allocations: 4 kB / 0.4993 GB, free: 448 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001834/0.1236, allocations: 15.98 kB / 0.4993 GB, free: 432 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.252e-05/0.1236, allocations: 11.92 kB / 0.4993 GB, free: 420 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005377/0.1242, allocations: 384 kB / 0.4997 GB, free: 28 kB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005482/0.1247, allocations: 481.3 kB / 0.5002 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001741/0.1249, allocations: 75.94 kB / 0.5002 GB, free: 15.46 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006636/0.1256, allocations: 0.6355 MB / 0.5008 GB, free: 14.83 MB / 398.1 MB Notification: Performance of Backend: time 2e-07/0.1256, allocations: 0 / 0.5008 GB, free: 14.83 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001469/0.1271, allocations: 0.5312 MB / 0.5014 GB, free: 14.34 MB / 398.1 MB Notification: Performance of SimCode: time 0.001473/0.1286, allocations: 1.308 MB / 0.5026 GB, free: 12.98 MB / 398.1 MB Notification: Performance of Templates: time 0.008947/0.1375, allocations: 4.715 MB / 0.5072 GB, free: 8.266 MB / 398.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test22/Test22.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test22.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches