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.001389/0.00139, allocations: 108.4 kB / 17.09 MB, free: 6 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.001272/0.001272, allocations: 191.3 kB / 18.02 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.376/1.376, 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.2029/0.2029, allocations: 43.52 MB / 314.8 MB, free: 476 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.001545/0.001545, allocations: 71.89 kB / 442.5 MB, free: 5.668 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09733/0.09888, allocations: 57.78 MB / 0.4886 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003714/0.1026, allocations: 2.031 MB / 0.4905 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002044/0.1047, allocations: 1.085 MB / 0.4916 GB, free: 8.668 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001848/0.1049, allocations: 4 kB / 0.4916 GB, free: 8.664 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.1052, allocations: 47.59 kB / 0.4916 GB, free: 8.617 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004505/0.1057, allocations: 159.2 kB / 0.4918 GB, free: 8.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001265/0.107, allocations: 0.5575 MB / 0.4923 GB, free: 7.902 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005016/0.1075, allocations: 307.1 kB / 0.4926 GB, free: 7.602 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.1077, allocations: 76.55 kB / 0.4927 GB, free: 7.527 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002668/0.108, allocations: 135.5 kB / 0.4928 GB, free: 7.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002927/0.1083, allocations: 199.2 kB / 0.493 GB, free: 7.199 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.888e-05/0.1084, allocations: 16 kB / 0.493 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.1085, allocations: 36 kB / 0.4931 GB, free: 7.148 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001681/0.1087, allocations: 147.5 kB / 0.4932 GB, free: 7.004 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.1089, allocations: 162.7 kB / 0.4934 GB, free: 6.844 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005603/0.1094, allocations: 397.9 kB / 0.4938 GB, free: 6.453 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.787e-06/0.1095, allocations: 4 kB / 0.4938 GB, free: 6.449 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.1095, allocations: 4 kB / 0.4938 GB, free: 6.445 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.636e-05/0.1095, allocations: 0 / 0.4938 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.001346/0.1108, allocations: 0.7812 MB / 0.4945 GB, free: 5.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.1109, allocations: 15.89 kB / 0.4945 GB, free: 5.598 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.111, allocations: 56.56 kB / 0.4946 GB, free: 5.543 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005632/0.1116, allocations: 460.3 kB / 0.495 GB, free: 5.051 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.1116, allocations: 8.375 kB / 0.495 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.1117, allocations: 20.06 kB / 0.4951 GB, free: 5.023 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003308/0.112, allocations: 163.2 kB / 0.4952 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.112, allocations: 0 / 0.4952 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.112, allocations: 0 / 0.4952 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.112, allocations: 4 kB / 0.4952 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.1124, allocations: 123.8 kB / 0.4953 GB, free: 4.727 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001024/0.1134, allocations: 0.6958 MB / 0.496 GB, free: 3.977 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002943/0.1137, allocations: 129.2 kB / 0.4961 GB, free: 3.832 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1139, allocations: 73.8 kB / 0.4962 GB, free: 3.754 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.594e-05/0.1139, allocations: 7.984 kB / 0.4962 GB, free: 3.746 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.114, allocations: 30.56 kB / 0.4962 GB, free: 3.707 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.523e-06/0.114, allocations: 0 / 0.4962 GB, free: 3.707 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002097/0.1161, allocations: 0.7575 MB / 0.497 GB, free: 2.941 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.1161, allocations: 77.11 kB / 0.4971 GB, free: 2.848 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009173/0.117, allocations: 0.8546 MB / 0.4979 GB, free: 1.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.816e-05/0.1171, allocations: 29.7 kB / 0.4979 GB, free: 1.945 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001752/0.1173, allocations: 252.4 kB / 0.4982 GB, free: 1.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.1173, allocations: 75.36 kB / 0.4982 GB, free: 1.621 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.553e-05/0.1174, allocations: 41.69 kB / 0.4983 GB, free: 1.574 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000137/0.1176, allocations: 366.8 kB / 0.4986 GB, free: 1.207 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00028/0.1179, allocations: 115.9 kB / 0.4987 GB, free: 1.094 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002843/0.1181, allocations: 133 kB / 0.4989 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005633/0.1187, allocations: 257.6 kB / 0.4991 GB, free: 0.7031 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.1187, allocations: 4 kB / 0.4991 GB, free: 0.6992 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007332/0.1195, allocations: 337.2 kB / 0.4994 GB, free: 372 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.1195, allocations: 4 kB / 0.4994 GB, free: 368 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.876e-06/0.1195, allocations: 7.984 kB / 0.4994 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1195, allocations: 0 / 0.4994 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002896/0.1198, allocations: 55.95 kB / 0.4995 GB, free: 304 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.1198, allocations: 3.984 kB / 0.4995 GB, free: 300 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001908/0.12, allocations: 23.92 kB / 0.4995 GB, free: 276 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.155e-05/0.1201, allocations: 15.94 kB / 0.4995 GB, free: 260 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.0001973/0.1203, allocations: 217.7 kB / 0.4997 GB, free: 32 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.1204, allocations: 59.8 kB / 0.4998 GB, free: 15.97 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008422/0.1212, allocations: 389.8 kB / 0.5002 GB, free: 15.58 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.166e-06/0.1213, allocations: 3.984 kB / 0.5002 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.1213, allocations: 4 kB / 0.5002 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001184/0.1214, allocations: 136.8 kB / 0.5003 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.24e-05/0.1215, allocations: 4 kB / 0.5003 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002469/0.1217, allocations: 19.98 kB / 0.5003 GB, free: 15.39 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.9e-05/0.1218, allocations: 23.72 kB / 0.5004 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008653/0.1227, allocations: 480.2 kB / 0.5008 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007864/0.1235, allocations: 0.5835 MB / 0.5014 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003006/0.1238, allocations: 131.8 kB / 0.5015 GB, free: 14.17 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006302/0.1244, allocations: 0.6315 MB / 0.5021 GB, free: 13.54 MB / 398.1 MB Notification: Performance of Backend: time 5.21e-07/0.1244, allocations: 0 / 0.5021 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001652/0.1261, allocations: 0.591 MB / 0.5027 GB, free: 12.98 MB / 398.1 MB Notification: Performance of SimCode: time 0.001429/0.1275, allocations: 1.334 MB / 0.504 GB, free: 11.6 MB / 398.1 MB Notification: Performance of Templates: time 0.00973/0.1373, allocations: 5.323 MB / 0.5092 GB, free: 6.273 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