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.001061/0.001061, allocations: 113.8 kB / 17.08 MB, free: 5.945 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.001105/0.001105, allocations: 194.5 kB / 18.01 MB, free: 5.031 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.263/1.263, allocations: 205.1 MB / 223.9 MB, free: 12.27 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.1951/0.1951, allocations: 43.52 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.001363/0.001363, allocations: 69.94 kB / 442.5 MB, free: 5.633 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1098, allocations: 57.78 MB / 0.4885 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test27): time 0.002869/0.1127, allocations: 1.612 MB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006151/0.1133, allocations: 347.5 kB / 0.4905 GB, free: 9.809 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.731e-05/0.1134, allocations: 3.938 kB / 0.4905 GB, free: 9.805 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.1136, allocations: 63.8 kB / 0.4905 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.1139, allocations: 55.81 kB / 0.4906 GB, free: 9.688 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003871/0.1143, allocations: 151.6 kB / 0.4907 GB, free: 9.539 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.1144, allocations: 71.83 kB / 0.4908 GB, free: 9.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.877e-05/0.1145, allocations: 23.91 kB / 0.4908 GB, free: 9.445 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.005e-05/0.1146, allocations: 31.91 kB / 0.4908 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.137e-05/0.1147, allocations: 51.83 kB / 0.4909 GB, free: 9.363 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.596e-05/0.1147, allocations: 4 kB / 0.4909 GB, free: 9.359 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.925e-05/0.1148, allocations: 31.98 kB / 0.4909 GB, free: 9.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.1149, allocations: 23.91 kB / 0.4909 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.1149, allocations: 27.75 kB / 0.491 GB, free: 9.277 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1151, allocations: 95.7 kB / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.1151, allocations: 0 / 0.4911 GB, free: 9.184 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1151, allocations: 3.938 kB / 0.4911 GB, free: 9.18 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.1151, allocations: 4 kB / 0.4911 GB, free: 9.176 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.0004575/0.1156, allocations: 399.1 kB / 0.4915 GB, free: 8.738 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.1156, allocations: 11.89 kB / 0.4915 GB, free: 8.727 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.011e-05/0.1157, allocations: 8.844 kB / 0.4915 GB, free: 8.719 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001585/0.1158, allocations: 192.7 kB / 0.4917 GB, free: 8.492 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/0.1159, allocations: 8.359 kB / 0.4917 GB, free: 8.484 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.1159, allocations: 3.938 kB / 0.4917 GB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1161, allocations: 65.61 kB / 0.4917 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.1161, allocations: 0 / 0.4917 GB, free: 8.41 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1161, allocations: 3.984 kB / 0.4917 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1161, allocations: 0 / 0.4917 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.1162, allocations: 43.97 kB / 0.4918 GB, free: 8.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004185/0.1167, allocations: 308.6 kB / 0.4921 GB, free: 8.012 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001279/0.1168, allocations: 54.48 kB / 0.4921 GB, free: 7.949 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.363e-05/0.1169, allocations: 32.94 kB / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.994e-05/0.1169, allocations: 0 / 0.4922 GB, free: 7.914 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.353e-05/0.1169, allocations: 30.56 kB / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.52e-07/0.1169, allocations: 0 / 0.4922 GB, free: 7.875 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007682/0.1177, allocations: 233.1 kB / 0.4924 GB, free: 7.641 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.018e-05/0.1178, allocations: 55.34 kB / 0.4925 GB, free: 7.574 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001728/0.118, allocations: 178.3 kB / 0.4926 GB, free: 7.391 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.118, allocations: 29.7 kB / 0.4927 GB, free: 7.355 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.251e-05/0.118, allocations: 100.1 kB / 0.4928 GB, free: 7.254 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.785e-05/0.1181, allocations: 27.58 kB / 0.4928 GB, free: 7.227 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.1181, allocations: 21.72 kB / 0.4928 GB, free: 7.199 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001138/0.1182, allocations: 330.8 kB / 0.4931 GB, free: 6.867 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001252/0.1184, allocations: 36.05 kB / 0.4931 GB, free: 6.832 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.1185, allocations: 43.95 kB / 0.4932 GB, free: 6.789 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.1187, allocations: 84.8 kB / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.72e-07/0.1187, allocations: 0 / 0.4933 GB, free: 6.703 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002815/0.119, allocations: 133.5 kB / 0.4934 GB, free: 6.566 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.119, allocations: 4 kB / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.119, allocations: 0 / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.526e-05/0.1191, allocations: 0 / 0.4934 GB, free: 6.562 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001194/0.1192, allocations: 19.98 kB / 0.4934 GB, free: 6.543 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1192, allocations: 3.938 kB / 0.4934 GB, free: 6.539 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.799e-05/0.1193, allocations: 11.98 kB / 0.4934 GB, free: 6.527 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.674e-06/0.1193, allocations: 4 kB / 0.4934 GB, free: 6.523 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.74e-05/0.1194, allocations: 125.8 kB / 0.4936 GB, free: 6.391 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.342e-05/0.1194, allocations: 15.81 kB / 0.4936 GB, free: 6.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.1198, allocations: 142.3 kB / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1198, allocations: 0 / 0.4937 GB, free: 6.227 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1198, allocations: 7.938 kB / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1198, allocations: 0 / 0.4937 GB, free: 6.219 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005182/0.1203, allocations: 406.4 kB / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.1203, allocations: 0 / 0.4941 GB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.971e-05/0.1204, allocations: 19.98 kB / 0.4941 GB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.817e-06/0.1204, allocations: 3.938 kB / 0.4941 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.1204, allocations: 0 / 0.4941 GB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.1204, allocations: 8 kB / 0.4941 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1205, allocations: 0 / 0.4941 GB, free: 5.734 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003193/0.1208, allocations: 219.8 kB / 0.4943 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.1208, allocations: 84.95 kB / 0.4944 GB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.1209, allocations: 7.984 kB / 0.4944 GB, free: 5.395 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.348e-05/0.1209, allocations: 8 kB / 0.4944 GB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.292e-05/0.121, allocations: 15.92 kB / 0.4945 GB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.041e-06/0.121, allocations: 0 / 0.4945 GB, free: 5.371 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.415e-05/0.1211, allocations: 147.2 kB / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1211, allocations: 0 / 0.4946 GB, free: 5.227 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1214, allocations: 12 kB / 0.4946 GB, free: 5.215 MB / 382.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.0008718/0.1222, allocations: 416.9 kB / 0.495 GB, free: 4.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002926/0.1225, allocations: 91.92 kB / 0.4951 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1226, allocations: 0 / 0.4951 GB, free: 4.754 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.1227, allocations: 51.89 kB / 0.4951 GB, free: 4.703 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003315/0.123, allocations: 13.42 kB / 0.4952 GB, free: 4.691 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004668/0.1235, allocations: 268 kB / 0.4954 GB, free: 4.398 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002894/0.1238, allocations: 0.7002 MB / 0.4961 GB, free: 3.672 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.102e-05/0.1238, allocations: 15.44 kB / 0.4961 GB, free: 3.656 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1239, allocations: 0 / 0.4961 GB, free: 3.656 MB / 382.1 MB Notification: Performance of Templates: time 0.003385/0.1272, allocations: 1.684 MB / 0.4978 GB, free: 1.977 MB / 382.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 -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