Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.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: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test39,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 104.6 kB / 16.4 MB, free: 5.984 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.001286/0.001286, allocations: 188.6 kB / 17.33 MB, free: 5.586 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.448/1.448, allocations: 205.1 MB / 223.2 MB, free: 12.21 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.2002/0.2002, allocations: 43.52 MB / 314.1 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.001658/0.001658, allocations: 65.47 kB / 441.4 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1091, allocations: 57.8 MB / 499.2 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test39): time 0.003026/0.1122, allocations: 1.665 MB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001243/0.1135, allocations: 0.7767 MB / 0.4898 GB, free: 9.762 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.061e-05/0.1136, allocations: 4 kB / 0.4899 GB, free: 9.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003407/0.114, allocations: 67.66 kB / 0.4899 GB, free: 9.691 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.1142, allocations: 67.73 kB / 0.49 GB, free: 9.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1145, allocations: 83.77 kB / 0.4901 GB, free: 9.543 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001915/0.1147, allocations: 95.69 kB / 0.4902 GB, free: 9.449 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.136e-05/0.1148, allocations: 19.91 kB / 0.4902 GB, free: 9.43 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001096/0.1149, allocations: 43.78 kB / 0.4902 GB, free: 9.387 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001072/0.115, allocations: 43.83 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.115, allocations: 8 kB / 0.4903 GB, free: 9.336 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001009/0.1151, allocations: 31.94 kB / 0.4903 GB, free: 9.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.966e-05/0.1152, allocations: 23.91 kB / 0.4903 GB, free: 9.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.22e-05/0.1153, allocations: 27.8 kB / 0.4903 GB, free: 9.254 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002053/0.1155, allocations: 91.72 kB / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1155, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1155, allocations: 0 / 0.4904 GB, free: 9.164 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.865e-06/0.1155, allocations: 4 kB / 0.4904 GB, free: 9.16 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005826/0.1161, allocations: 406.9 kB / 0.4908 GB, free: 8.715 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.1162, allocations: 15.89 kB / 0.4908 GB, free: 8.699 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.537e-05/0.1162, allocations: 38.73 kB / 0.4909 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.1162, allocations: 8.844 kB / 0.4909 GB, free: 8.645 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.1165, allocations: 211.9 kB / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.1166, allocations: 384 / 0.4911 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.666e-05/0.1166, allocations: 7.922 kB / 0.4911 GB, free: 8.391 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001425/0.1167, allocations: 49.69 kB / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1168, allocations: 0 / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.208e-06/0.1168, allocations: 0 / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.989e-06/0.1168, allocations: 0 / 0.4911 GB, free: 8.336 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.703e-05/0.1168, allocations: 19.98 kB / 0.4912 GB, free: 8.316 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.117, allocations: 177.7 kB / 0.4913 GB, free: 8.094 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.1172, allocations: 62.47 kB / 0.4914 GB, free: 8.023 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.713e-05/0.1172, allocations: 16.86 kB / 0.4914 GB, free: 8.004 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.699e-05/0.1173, allocations: 4 kB / 0.4914 GB, free: 8 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001414/0.1174, allocations: 71.38 kB / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.1174, allocations: 0 / 0.4915 GB, free: 7.918 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.000276/0.1177, allocations: 93.52 kB / 0.4916 GB, free: 7.82 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.1177, allocations: 55.41 kB / 0.4916 GB, free: 7.754 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.1179, allocations: 178.2 kB / 0.4918 GB, free: 7.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.1179, allocations: 33.69 kB / 0.4918 GB, free: 7.531 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.451e-05/0.118, allocations: 96.14 kB / 0.4919 GB, free: 7.434 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.844e-05/0.118, allocations: 15.89 kB / 0.4919 GB, free: 7.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.435e-05/0.1181, allocations: 17.72 kB / 0.4919 GB, free: 7.395 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001028/0.1182, allocations: 326.8 kB / 0.4923 GB, free: 7.066 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.058e-05/0.1182, allocations: 15.98 kB / 0.4923 GB, free: 7.051 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.076e-05/0.1183, allocations: 29.64 kB / 0.4923 GB, free: 7.016 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.079e-05/0.1184, allocations: 49.89 kB / 0.4923 GB, free: 6.961 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1184, allocations: 7.938 kB / 0.4924 GB, free: 6.953 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001457/0.1185, allocations: 77.59 kB / 0.4924 GB, free: 6.871 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.1186, allocations: 8 kB / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.1186, allocations: 0 / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.1186, allocations: 0 / 0.4924 GB, free: 6.863 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.1187, allocations: 15.92 kB / 0.4925 GB, free: 6.848 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1187, allocations: 4 kB / 0.4925 GB, free: 6.844 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.542e-05/0.1187, allocations: 7.844 kB / 0.4925 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/0.1187, allocations: 4 kB / 0.4925 GB, free: 6.832 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: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 9.396e-05/0.1188, allocations: 137.7 kB / 0.4926 GB, free: 6.688 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.025e-05/0.1189, allocations: 7.906 kB / 0.4926 GB, free: 6.68 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.545e-05/0.1189, allocations: 16.41 kB / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.1189, allocations: 0 / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.586e-06/0.1189, allocations: 0 / 0.4926 GB, free: 6.66 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1189, allocations: 4 kB / 0.4926 GB, free: 6.656 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.1191, allocations: 181.6 kB / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1191, allocations: 0 / 0.4928 GB, free: 6.43 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.23e-05/0.1191, allocations: 4 kB / 0.4928 GB, free: 6.426 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.1191, allocations: 4 kB / 0.4928 GB, free: 6.422 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.1191, allocations: 8 kB / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1191, allocations: 0 / 0.4928 GB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.1191, allocations: 3.984 kB / 0.4928 GB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1193, allocations: 112.9 kB / 0.4929 GB, free: 6.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.774e-05/0.1194, allocations: 88.92 kB / 0.493 GB, free: 6.176 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.267e-05/0.1194, allocations: 4 kB / 0.493 GB, free: 6.172 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.518e-05/0.1194, allocations: 3.984 kB / 0.493 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.1195, allocations: 8 kB / 0.493 GB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1195, allocations: 0 / 0.493 GB, free: 6.16 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001031/0.1196, allocations: 148 kB / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1196, allocations: 0 / 0.4932 GB, free: 6.016 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002097/0.1198, allocations: 16 kB / 0.4932 GB, free: 6 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001283/0.1211, allocations: 0.9436 MB / 0.4941 GB, free: 5.07 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001422/0.1213, allocations: 35.98 kB / 0.4941 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.1213, allocations: 0 / 0.4941 GB, free: 5.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.1213, allocations: 27.92 kB / 0.4942 GB, free: 5.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.1216, allocations: 36.16 kB / 0.4942 GB, free: 4.973 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001441/0.123, allocations: 1.493 MB / 0.4957 GB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.1233, allocations: 0.6963 MB / 0.4963 GB, free: 2.664 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.775e-05/0.1233, allocations: 8.562 kB / 0.4963 GB, free: 2.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.1234, allocations: 27.42 kB / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of SimCode: time 1.663e-06/0.1234, allocations: 0 / 0.4964 GB, free: 2.629 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.1429, allocations: 3.102 MB / 0.4994 GB, free: 15.51 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.285/7.428, allocations: 3.984 kB / 0.4994 GB, free: 15.51 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test39.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test39/Test39.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test39.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1] Variables in the result:t_new.columns[1],t_new.extrapolation,t_new.nout,t_new.offset[1],t_new.shiftTime,t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time