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.001119/0.001119, allocations: 112.2 kB / 17.09 MB, free: 5.98 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.001111/0.001111, allocations: 200.2 kB / 18.03 MB, free: 5.055 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.23 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.2014/0.2014, allocations: 43.52 MB / 314.8 MB, free: 456 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.001497/0.001497, allocations: 74.03 kB / 442.5 MB, free: 5.641 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09571/0.09721, allocations: 57.79 MB / 0.4886 GB, free: 11.78 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test22): time 0.003356/0.1006, allocations: 1.953 MB / 0.4905 GB, free: 9.812 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001753/0.1024, allocations: 1.057 MB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.1026, allocations: 4 kB / 0.4915 GB, free: 8.742 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002664/0.1028, allocations: 55.58 kB / 0.4916 GB, free: 8.688 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003907/0.1033, allocations: 139.4 kB / 0.4917 GB, free: 8.551 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.1045, allocations: 0.5574 MB / 0.4922 GB, free: 7.992 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003905/0.1049, allocations: 275.3 kB / 0.4925 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001715/0.1051, allocations: 80.67 kB / 0.4926 GB, free: 7.645 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000204/0.1053, allocations: 123.5 kB / 0.4927 GB, free: 7.523 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.1055, allocations: 183.3 kB / 0.4929 GB, free: 7.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.06e-05/0.1056, allocations: 12 kB / 0.4929 GB, free: 7.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.1057, allocations: 35.98 kB / 0.4929 GB, free: 7.297 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001486/0.1059, allocations: 147.6 kB / 0.4931 GB, free: 7.152 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001334/0.106, allocations: 162.7 kB / 0.4932 GB, free: 6.992 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003944/0.1064, allocations: 362.1 kB / 0.4936 GB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.1064, allocations: 0 / 0.4936 GB, free: 6.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1064, allocations: 0 / 0.4936 GB, free: 6.637 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1064, allocations: 0 / 0.4936 GB, free: 6.637 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.0008658/0.1073, allocations: 0.7691 MB / 0.4943 GB, free: 5.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1074, allocations: 11.89 kB / 0.4943 GB, free: 5.809 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.593e-05/0.1074, allocations: 52.61 kB / 0.4944 GB, free: 5.758 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004924/0.1079, allocations: 448.4 kB / 0.4948 GB, free: 5.277 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.108, allocations: 8.375 kB / 0.4948 GB, free: 5.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.67e-05/0.108, allocations: 20.08 kB / 0.4948 GB, free: 5.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002709/0.1083, allocations: 139.2 kB / 0.495 GB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/0.1083, allocations: 8 kB / 0.495 GB, free: 5.094 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.495e-05/0.1083, allocations: 4 kB / 0.495 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.313e-06/0.1083, allocations: 7.938 kB / 0.495 GB, free: 5.082 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.1086, allocations: 99.86 kB / 0.4951 GB, free: 4.984 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008768/0.1095, allocations: 0.6683 MB / 0.4957 GB, free: 4.262 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1097, allocations: 125.2 kB / 0.4958 GB, free: 4.121 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1098, allocations: 45.81 kB / 0.4959 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.695e-05/0.1098, allocations: 0 / 0.4959 GB, free: 4.07 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.1099, allocations: 42.5 kB / 0.4959 GB, free: 4.02 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.605e-06/0.1099, allocations: 4 kB / 0.4959 GB, free: 4.016 MB / 382.1 MB Notification: Performance of matching and sorting (n=16): time 0.001409/0.1113, allocations: 0.5463 MB / 0.4965 GB, free: 3.461 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.1114, allocations: 77.11 kB / 0.4965 GB, free: 3.367 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000905/0.1123, allocations: 0.8583 MB / 0.4974 GB, free: 2.496 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.705e-05/0.1123, allocations: 29.7 kB / 0.4974 GB, free: 2.461 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001789/0.1125, allocations: 256.2 kB / 0.4976 GB, free: 2.203 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.744e-05/0.1125, allocations: 47.53 kB / 0.4977 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.1126, allocations: 33.7 kB / 0.4977 GB, free: 2.117 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1128, allocations: 370.8 kB / 0.4981 GB, free: 1.746 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001713/0.113, allocations: 63.95 kB / 0.4981 GB, free: 1.684 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000172/0.1131, allocations: 81.66 kB / 0.4982 GB, free: 1.598 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003416/0.1135, allocations: 161.6 kB / 0.4984 GB, free: 1.434 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.1135, allocations: 0 / 0.4984 GB, free: 1.434 MB / 382.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004744/0.114, allocations: 245.2 kB / 0.4986 GB, free: 1.188 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.114, allocations: 8 kB / 0.4986 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.114, allocations: 0 / 0.4986 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.114, allocations: 0 / 0.4986 GB, free: 1.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000201/0.1142, allocations: 35.97 kB / 0.4986 GB, free: 1.145 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.1143, allocations: 3.938 kB / 0.4987 GB, free: 1.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.1144, allocations: 11.98 kB / 0.4987 GB, free: 1.129 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/0.1144, allocations: 8 kB / 0.4987 GB, free: 1.121 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.0001973/0.1146, allocations: 221.7 kB / 0.4989 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001088/0.1147, allocations: 59.61 kB / 0.4989 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000587/0.1153, allocations: 291.2 kB / 0.4992 GB, free: 0.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.259e-06/0.1153, allocations: 4 kB / 0.4992 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.1153, allocations: 0 / 0.4992 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000124/0.1155, allocations: 140.8 kB / 0.4994 GB, free: 392 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.652e-05/0.1155, allocations: 4 kB / 0.4994 GB, free: 388 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.1157, allocations: 11.98 kB / 0.4994 GB, free: 376 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.1158, allocations: 15.92 kB / 0.4994 GB, free: 360 kB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005628/0.1163, allocations: 372.1 kB / 0.4997 GB, free: 15.98 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005444/0.1169, allocations: 493.5 kB / 0.5002 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001865/0.1171, allocations: 83.94 kB / 0.5003 GB, free: 15.4 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0006734/0.1178, allocations: 0.6315 MB / 0.5009 GB, free: 14.77 MB / 398.1 MB Notification: Performance of Backend: time 6.01e-07/0.1178, allocations: 0 / 0.5009 GB, free: 14.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001567/0.1194, allocations: 0.5278 MB / 0.5014 GB, free: 14.27 MB / 398.1 MB Notification: Performance of SimCode: time 0.001484/0.1209, allocations: 1.322 MB / 0.5027 GB, free: 12.9 MB / 398.1 MB Notification: Performance of Templates: time 0.008708/0.1296, allocations: 4.598 MB / 0.5072 GB, free: 8.305 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