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.001089/0.001089, allocations: 114 kB / 17.09 MB, free: 5.965 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.001136/0.001136, allocations: 194.1 kB / 18.02 MB, free: 5.047 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.295/1.295, allocations: 205.1 MB / 223.9 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.191/0.191, allocations: 43.53 MB / 314.8 MB, free: 452 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.001445/0.001445, allocations: 74.02 kB / 442.5 MB, free: 5.652 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1016, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.003309/0.1049, allocations: 2.039 MB / 0.4905 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001709/0.1067, allocations: 1.073 MB / 0.4916 GB, free: 8.652 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1068, allocations: 4 kB / 0.4916 GB, free: 8.648 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002756/0.1071, allocations: 63.5 kB / 0.4917 GB, free: 8.586 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003779/0.1075, allocations: 147.3 kB / 0.4918 GB, free: 8.441 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001188/0.1087, allocations: 0.5614 MB / 0.4923 GB, free: 7.879 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.1092, allocations: 303.1 kB / 0.4926 GB, free: 7.582 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001733/0.1093, allocations: 76.55 kB / 0.4927 GB, free: 7.508 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002163/0.1096, allocations: 131.5 kB / 0.4928 GB, free: 7.379 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002704/0.1098, allocations: 199.2 kB / 0.493 GB, free: 7.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.1099, allocations: 12 kB / 0.493 GB, free: 7.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001241/0.11, allocations: 43.98 kB / 0.4931 GB, free: 7.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001481/0.1102, allocations: 147.5 kB / 0.4932 GB, free: 6.984 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001603/0.1103, allocations: 166.6 kB / 0.4934 GB, free: 6.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000443/0.1108, allocations: 394.4 kB / 0.4938 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.1108, allocations: 0 / 0.4938 GB, free: 6.434 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1108, allocations: 0 / 0.4938 GB, free: 6.434 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.085e-05/0.1108, allocations: 4 kB / 0.4938 GB, free: 6.43 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.00103/0.1119, allocations: 0.7542 MB / 0.4945 GB, free: 5.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.758e-05/0.1119, allocations: 11.89 kB / 0.4945 GB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.866e-05/0.112, allocations: 60.12 kB / 0.4946 GB, free: 5.555 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.1125, allocations: 451.8 kB / 0.495 GB, free: 5.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.1126, allocations: 12.31 kB / 0.495 GB, free: 5.059 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.1126, allocations: 20.03 kB / 0.495 GB, free: 5.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003216/0.1129, allocations: 171.1 kB / 0.4952 GB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.113, allocations: 4 kB / 0.4952 GB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.113, allocations: 4 kB / 0.4952 GB, free: 4.852 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.593e-06/0.113, allocations: 4 kB / 0.4952 GB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003105/0.1133, allocations: 111.9 kB / 0.4953 GB, free: 4.738 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009831/0.1143, allocations: 0.6995 MB / 0.496 GB, free: 3.984 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.1146, allocations: 133.2 kB / 0.4961 GB, free: 3.836 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.1148, allocations: 73.8 kB / 0.4962 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1148, allocations: 0 / 0.4962 GB, free: 3.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.295e-05/0.1148, allocations: 38.5 kB / 0.4962 GB, free: 3.711 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.272e-06/0.1148, allocations: 0 / 0.4962 GB, free: 3.711 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001941/0.1168, allocations: 0.7282 MB / 0.4969 GB, free: 2.973 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.418e-05/0.1168, allocations: 85.33 kB / 0.497 GB, free: 2.871 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008615/0.1177, allocations: 0.8544 MB / 0.4978 GB, free: 2.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.604e-05/0.1177, allocations: 37.62 kB / 0.4979 GB, free: 1.961 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001817/0.1179, allocations: 252.4 kB / 0.4981 GB, free: 1.711 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.955e-05/0.118, allocations: 67 kB / 0.4982 GB, free: 1.645 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.761e-05/0.1181, allocations: 37.69 kB / 0.4982 GB, free: 1.602 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.1182, allocations: 370.8 kB / 0.4986 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002849/0.1185, allocations: 115.9 kB / 0.4987 GB, free: 1.117 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002725/0.1188, allocations: 129.6 kB / 0.4988 GB, free: 0.9844 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005238/0.1193, allocations: 249.5 kB / 0.4991 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.1193, allocations: 3.938 kB / 0.4991 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006828/0.12, allocations: 336.9 kB / 0.4994 GB, free: 404 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.12, allocations: 4 kB / 0.4994 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-06/0.12, allocations: 0 / 0.4994 GB, free: 400 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.1201, allocations: 4 kB / 0.4994 GB, free: 396 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002846/0.1204, allocations: 59.88 kB / 0.4994 GB, free: 336 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.1204, allocations: 4 kB / 0.4994 GB, free: 332 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001733/0.1206, allocations: 11.98 kB / 0.4995 GB, free: 320 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.168e-05/0.1206, allocations: 19.98 kB / 0.4995 GB, free: 300 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.0002076/0.1208, allocations: 217.7 kB / 0.4997 GB, free: 72 kB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.844e-05/0.1209, allocations: 51.34 kB / 0.4997 GB, free: 20 kB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008397/0.1218, allocations: 406.5 kB / 0.5001 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.143e-06/0.1218, allocations: 3.984 kB / 0.5001 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.1218, allocations: 0 / 0.5001 GB, free: 15.61 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001312/0.1219, allocations: 136.4 kB / 0.5003 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.245e-05/0.122, allocations: 4 kB / 0.5003 GB, free: 15.45 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002397/0.1222, allocations: 15.98 kB / 0.5003 GB, free: 15.44 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.1223, allocations: 31.89 kB / 0.5003 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008265/0.1231, allocations: 480.2 kB / 0.5008 GB, free: 14.93 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000736/0.1239, allocations: 0.5753 MB / 0.5013 GB, free: 14.34 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002689/0.1242, allocations: 127.9 kB / 0.5014 GB, free: 14.21 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006285/0.1248, allocations: 0.6276 MB / 0.5021 GB, free: 13.59 MB / 398.1 MB Notification: Performance of Backend: time 3.61e-07/0.1248, allocations: 4 kB / 0.5021 GB, free: 13.58 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.1265, allocations: 0.598 MB / 0.5026 GB, free: 13.02 MB / 398.1 MB Notification: Performance of SimCode: time 0.001617/0.1281, allocations: 1.319 MB / 0.5039 GB, free: 11.64 MB / 398.1 MB Notification: Performance of Templates: time 0.01108/0.1392, allocations: 5.448 MB / 0.5093 GB, free: 6.195 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