Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 114.8 kB / 17.09 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.001747/0.001747, allocations: 194.2 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.33/1.33, 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.2046/0.2046, 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.001642/0.001642, allocations: 67.89 kB / 442.5 MB, free: 5.648 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09866/0.1003, allocations: 57.79 MB / 0.4886 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test12): time 0.002878/0.1032, allocations: 1.609 MB / 0.4901 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001315/0.1046, allocations: 0.9705 MB / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.794e-05/0.1047, allocations: 0 / 0.4911 GB, free: 9.191 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002172/0.1049, allocations: 23.86 kB / 0.4911 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001986/0.1051, allocations: 43.78 kB / 0.4911 GB, free: 9.125 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000412/0.1055, allocations: 159.6 kB / 0.4913 GB, free: 8.969 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.1057, allocations: 67.83 kB / 0.4914 GB, free: 8.902 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001049/0.1058, allocations: 15.98 kB / 0.4914 GB, free: 8.887 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.593e-05/0.1059, allocations: 31.91 kB / 0.4914 GB, free: 8.855 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001307/0.106, allocations: 31.78 kB / 0.4914 GB, free: 8.824 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.987e-05/0.106, allocations: 4 kB / 0.4914 GB, free: 8.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001249/0.1062, allocations: 59.97 kB / 0.4915 GB, free: 8.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.818e-05/0.1062, allocations: 15.92 kB / 0.4915 GB, free: 8.746 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.1063, allocations: 23.81 kB / 0.4915 GB, free: 8.723 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002036/0.1065, allocations: 99.62 kB / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1065, allocations: 0 / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1065, allocations: 0 / 0.4916 GB, free: 8.625 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.1065, allocations: 0 / 0.4916 GB, free: 8.625 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000462/0.107, allocations: 398.4 kB / 0.492 GB, free: 8.191 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.107, allocations: 11.89 kB / 0.492 GB, free: 8.18 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.157e-05/0.1071, allocations: 12.89 kB / 0.492 GB, free: 8.168 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001976/0.1073, allocations: 188.2 kB / 0.4922 GB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.1073, allocations: 4.375 kB / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.084e-05/0.1073, allocations: 384 / 0.4922 GB, free: 7.941 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001932/0.1075, allocations: 87.48 kB / 0.4923 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.1075, allocations: 3.984 kB / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1076, allocations: 0 / 0.4923 GB, free: 7.84 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1076, allocations: 4 kB / 0.4923 GB, free: 7.836 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.1077, allocations: 39.91 kB / 0.4923 GB, free: 7.797 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.1081, allocations: 308.7 kB / 0.4926 GB, free: 7.445 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001199/0.1083, allocations: 46.55 kB / 0.4927 GB, free: 7.391 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.669e-05/0.1084, allocations: 24.94 kB / 0.4927 GB, free: 7.363 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.377e-05/0.1084, allocations: 11.88 kB / 0.4927 GB, free: 7.352 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.1084, allocations: 34.56 kB / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.432e-06/0.1084, allocations: 0 / 0.4928 GB, free: 7.309 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007429/0.1092, allocations: 217.3 kB / 0.493 GB, free: 7.09 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.042e-05/0.1092, allocations: 85.11 kB / 0.493 GB, free: 6.988 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.1094, allocations: 129.8 kB / 0.4932 GB, free: 6.852 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.1094, allocations: 33.7 kB / 0.4932 GB, free: 6.812 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.211e-05/0.1094, allocations: 88.09 kB / 0.4933 GB, free: 6.723 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.1095, allocations: 23.84 kB / 0.4933 GB, free: 6.699 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.1095, allocations: 21.72 kB / 0.4933 GB, free: 6.672 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1096, allocations: 322.8 kB / 0.4936 GB, free: 6.348 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001187/0.1097, allocations: 44.03 kB / 0.4937 GB, free: 6.305 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001176/0.1099, allocations: 53.67 kB / 0.4937 GB, free: 6.246 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002142/0.1101, allocations: 84.8 kB / 0.4938 GB, free: 6.16 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1101, allocations: 4.031 kB / 0.4938 GB, free: 6.156 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002778/0.1104, allocations: 121.5 kB / 0.4939 GB, free: 6.031 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.1104, allocations: 8 kB / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1104, allocations: 0 / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1104, allocations: 0 / 0.4939 GB, free: 6.023 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.1106, allocations: 23.97 kB / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1106, allocations: 0 / 0.494 GB, free: 6 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.949e-05/0.1106, allocations: 11.94 kB / 0.494 GB, free: 5.988 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1107, allocations: 11.92 kB / 0.494 GB, free: 5.977 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 7 * 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 8.421e-05/0.1107, allocations: 117.8 kB / 0.4941 GB, free: 5.852 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.59e-05/0.1108, allocations: 7.953 kB / 0.4941 GB, free: 5.844 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003377/0.1111, allocations: 145.9 kB / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1111, allocations: 0 / 0.4942 GB, free: 5.691 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1112, allocations: 4 kB / 0.4942 GB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.707e-05/0.1112, allocations: 85.06 kB / 0.4943 GB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.1112, allocations: 7.938 kB / 0.4943 GB, free: 5.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.1113, allocations: 7.984 kB / 0.4943 GB, free: 5.57 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.1114, allocations: 11.97 kB / 0.4944 GB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003293/0.1117, allocations: 205.3 kB / 0.4945 GB, free: 5.352 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003349/0.112, allocations: 306.6 kB / 0.4948 GB, free: 5.035 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001196/0.1122, allocations: 43.97 kB / 0.4949 GB, free: 4.992 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.625e-05/0.1123, allocations: 107.2 kB / 0.495 GB, free: 4.887 MB / 382.1 MB Notification: Performance of Backend: time 6.22e-07/0.1123, allocations: 4 kB / 0.495 GB, free: 4.883 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001372/0.1136, allocations: 472.4 kB / 0.4954 GB, free: 4.461 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005693/0.1142, allocations: 0.6386 MB / 0.4961 GB, free: 3.773 MB / 382.1 MB Notification: Performance of Templates: time 0.005927/0.1202, allocations: 1.752 MB / 0.4978 GB, free: 2.02 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test12/Test12.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test12.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches