Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test27,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.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001496/0.001496, allocations: 108.2 kB / 17.03 MB, free: 5.664 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.001529/0.001529, allocations: 192.1 kB / 17.96 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.55/1.55, allocations: 205.1 MB / 223.8 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.202/0.202, allocations: 43.52 MB / 314.7 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.002393/0.002393, allocations: 75.23 kB / 384.2 MB, free: 56.44 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1034, allocations: 57.79 MB / 442 MB, free: 6.141 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002608/0.1061, allocations: 1.604 MB / 443.6 MB, free: 4.523 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005173/0.1066, allocations: 343.4 kB / 443.9 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.056e-05/0.1067, allocations: 4 kB / 443.9 MB, free: 4.18 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002296/0.1069, allocations: 63.78 kB / 444 MB, free: 4.117 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001901/0.1071, allocations: 59.75 kB / 444 MB, free: 4.059 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003323/0.1075, allocations: 155.1 kB / 444.2 MB, free: 3.91 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.000142/0.1076, allocations: 75.77 kB / 444.3 MB, free: 3.836 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.69e-05/0.1077, allocations: 23.92 kB / 444.3 MB, free: 3.812 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.55e-05/0.1078, allocations: 27.91 kB / 444.3 MB, free: 3.785 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.768e-05/0.1079, allocations: 47.83 kB / 444.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.429e-05/0.1079, allocations: 0 / 444.3 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.402e-05/0.108, allocations: 39.98 kB / 444.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.32e-05/0.108, allocations: 23.86 kB / 444.4 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 3.128e-05/0.1081, allocations: 23.81 kB / 444.4 MB, free: 3.652 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.1082, allocations: 103.7 kB / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1082, allocations: 0 / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.1082, allocations: 0 / 444.5 MB, free: 3.551 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.1082, allocations: 0 / 444.5 MB, free: 3.551 MB / 318.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.0003568/0.1086, allocations: 395 kB / 444.9 MB, free: 3.117 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.149e-05/0.1086, allocations: 15.89 kB / 444.9 MB, free: 3.102 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.491e-05/0.1087, allocations: 8.844 kB / 444.9 MB, free: 3.094 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001299/0.1088, allocations: 200.6 kB / 445.1 MB, free: 2.859 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.1088, allocations: 8.375 kB / 445.1 MB, free: 2.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.428e-05/0.1089, allocations: 7.938 kB / 445.2 MB, free: 2.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.109, allocations: 57.67 kB / 445.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.109, allocations: 3.984 kB / 445.2 MB, free: 2.777 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/0.109, allocations: 4 kB / 445.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.109, allocations: 0 / 445.2 MB, free: 2.773 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.1092, allocations: 35.95 kB / 445.3 MB, free: 2.738 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.1095, allocations: 316.7 kB / 445.6 MB, free: 2.379 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001021/0.1096, allocations: 42.56 kB / 445.6 MB, free: 2.328 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.546e-05/0.1097, allocations: 24.94 kB / 445.6 MB, free: 2.301 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1097, allocations: 4 kB / 445.6 MB, free: 2.297 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.512e-05/0.1097, allocations: 34.55 kB / 445.7 MB, free: 2.254 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.1097, allocations: 7.938 kB / 445.7 MB, free: 2.246 MB / 318.1 MB Notification: Performance of matching and sorting (n=7): time 0.0006226/0.1104, allocations: 229.1 kB / 445.9 MB, free: 2.016 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.921e-05/0.1104, allocations: 59.33 kB / 446 MB, free: 1.945 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1105, allocations: 176.5 kB / 446.1 MB, free: 1.766 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.1105, allocations: 29.7 kB / 446.2 MB, free: 1.73 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.077e-05/0.1105, allocations: 100.1 kB / 446.3 MB, free: 1.629 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.946e-05/0.1106, allocations: 23.66 kB / 446.3 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.1106, allocations: 17.72 kB / 446.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.1107, allocations: 322.8 kB / 446.6 MB, free: 1.258 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.347e-05/0.1108, allocations: 43.95 kB / 446.7 MB, free: 1.215 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.3e-05/0.1108, allocations: 39.91 kB / 446.7 MB, free: 1.176 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.111, allocations: 89.02 kB / 446.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.111, allocations: 0 / 446.8 MB, free: 1.086 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002142/0.1112, allocations: 117.5 kB / 446.9 MB, free: 0.9648 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/0.1113, allocations: 7.984 kB / 446.9 MB, free: 0.957 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1113, allocations: 8 kB / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1113, allocations: 0 / 446.9 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.799e-05/0.1114, allocations: 19.98 kB / 446.9 MB, free: 0.9297 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/0.1114, allocations: 15.81 kB / 446.9 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.707e-05/0.1115, allocations: 7.984 kB / 447 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-06/0.1115, allocations: 0 / 447 MB, free: 0.9062 MB / 318.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 5.34e-05/0.1115, allocations: 125.8 kB / 447.1 MB, free: 0.7734 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.1116, allocations: 15.81 kB / 447.1 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002647/0.1118, allocations: 142.3 kB / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1119, allocations: 0 / 447.2 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1119, allocations: 7.938 kB / 447.2 MB, free: 0.6016 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.1119, allocations: 3.984 kB / 447.2 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.1123, allocations: 414.4 kB / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.1123, allocations: 0 / 447.6 MB, free: 140 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.751e-05/0.1123, allocations: 19.98 kB / 447.7 MB, free: 120 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.1124, allocations: 3.938 kB / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.544e-06/0.1124, allocations: 0 / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1124, allocations: 0 / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1124, allocations: 0 / 447.7 MB, free: 116 kB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002812/0.1127, allocations: 223.3 kB / 447.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.22e-05/0.1127, allocations: 88.95 kB / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1127, allocations: 0 / 448 MB, free: 15.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.965e-05/0.1128, allocations: 11.98 kB / 448 MB, free: 15.76 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.184e-05/0.1129, allocations: 7.984 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1129, allocations: 4 kB / 448 MB, free: 15.75 MB / 334.1 MB Notification: Performance of sorting global known variables: time 9.508e-05/0.113, allocations: 135.9 kB / 448.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.113, allocations: 4 kB / 448.1 MB, free: 15.61 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002362/0.1132, allocations: 23.94 kB / 448.2 MB, free: 15.59 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0008248/0.1141, allocations: 397.5 kB / 448.5 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002588/0.1143, allocations: 95.84 kB / 448.6 MB, free: 15.18 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-05/0.1144, allocations: 12 kB / 448.7 MB, free: 15.17 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1145, allocations: 43.97 kB / 448.7 MB, free: 15.13 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000312/0.1148, allocations: 19.58 kB / 448.7 MB, free: 15.11 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.1152, allocations: 246.4 kB / 449 MB, free: 14.85 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1155, allocations: 0.708 MB / 449.7 MB, free: 14.11 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 8.146e-05/0.1156, allocations: 23.92 kB / 449.7 MB, free: 14.09 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.1156, allocations: 15.42 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1156, allocations: 3.938 kB / 449.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of Templates: time 0.003481/0.1191, allocations: 1.282 MB / 451 MB, free: 12.8 MB / 334.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test27/Test27.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches