Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.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.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test47,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47",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.001335/0.001335, allocations: 100.5 kB / 16.4 MB, free: 6.5 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.001895/0.001895, allocations: 192.1 kB / 17.34 MB, free: 5.766 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.467/1.467, allocations: 205.1 MB / 223.2 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.2055/0.2055, allocations: 43.53 MB / 314.1 MB, free: 480 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.001341/0.001341, allocations: 79.89 kB / 441.4 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1158, allocations: 57.79 MB / 499.2 MB, free: 12.26 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003523/0.1194, allocations: 1.697 MB / 0.4891 GB, free: 10.55 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001405/0.1208, allocations: 0.7961 MB / 0.4899 GB, free: 9.742 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001018/0.1209, allocations: 7.938 kB / 0.4899 GB, free: 9.734 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003426/0.1213, allocations: 55.75 kB / 0.49 GB, free: 9.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002487/0.1216, allocations: 59.75 kB / 0.49 GB, free: 9.621 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000326/0.1219, allocations: 99.62 kB / 0.4901 GB, free: 9.523 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001704/0.1221, allocations: 91.7 kB / 0.4902 GB, free: 9.434 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.1222, allocations: 20.2 kB / 0.4902 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.1223, allocations: 43.78 kB / 0.4903 GB, free: 9.371 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.943e-05/0.1224, allocations: 23.86 kB / 0.4903 GB, free: 9.348 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.1224, allocations: 4 kB / 0.4903 GB, free: 9.344 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001212/0.1226, allocations: 43.97 kB / 0.4903 GB, free: 9.301 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.355e-05/0.1226, allocations: 31.86 kB / 0.4904 GB, free: 9.27 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.1227, allocations: 47.67 kB / 0.4904 GB, free: 9.223 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.1229, allocations: 127.6 kB / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.123, allocations: 0 / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.123, allocations: 0 / 0.4905 GB, free: 9.098 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.895e-06/0.123, allocations: 4 kB / 0.4905 GB, free: 9.094 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006108/0.1236, allocations: 442.1 kB / 0.491 GB, free: 8.617 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1237, allocations: 11.89 kB / 0.491 GB, free: 8.605 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.1237, allocations: 38.75 kB / 0.491 GB, free: 8.559 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.1238, allocations: 8.844 kB / 0.491 GB, free: 8.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.1241, allocations: 227.6 kB / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1241, allocations: 384 / 0.4912 GB, free: 8.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.1241, allocations: 7.938 kB / 0.4912 GB, free: 8.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.1243, allocations: 61.61 kB / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.1243, allocations: 0 / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.1243, allocations: 0 / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1243, allocations: 0 / 0.4913 GB, free: 8.215 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.1244, allocations: 19.98 kB / 0.4913 GB, free: 8.195 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003989/0.1248, allocations: 296.8 kB / 0.4916 GB, free: 7.855 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.125, allocations: 66.61 kB / 0.4917 GB, free: 7.781 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.081e-05/0.1251, allocations: 20.8 kB / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.1251, allocations: 0 / 0.4917 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001676/0.1253, allocations: 67.39 kB / 0.4917 GB, free: 7.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 3.356e-06/0.1253, allocations: 3.984 kB / 0.4917 GB, free: 7.676 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005677/0.1258, allocations: 181.1 kB / 0.4919 GB, free: 7.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.053e-05/0.1259, allocations: 55.41 kB / 0.492 GB, free: 7.426 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.1262, allocations: 266.5 kB / 0.4922 GB, free: 7.148 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/0.1262, allocations: 25.7 kB / 0.4922 GB, free: 7.117 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.727e-05/0.1263, allocations: 116 kB / 0.4924 GB, free: 7 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.383e-05/0.1263, allocations: 27.64 kB / 0.4924 GB, free: 6.973 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.813e-05/0.1264, allocations: 21.72 kB / 0.4924 GB, free: 6.945 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1265, allocations: 326.8 kB / 0.4927 GB, free: 6.617 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.833e-05/0.1266, allocations: 31.92 kB / 0.4927 GB, free: 6.586 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.427e-05/0.1266, allocations: 37.64 kB / 0.4928 GB, free: 6.543 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1268, allocations: 57.7 kB / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1268, allocations: 0 / 0.4928 GB, free: 6.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001821/0.127, allocations: 101.5 kB / 0.4929 GB, free: 6.375 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.127, allocations: 8 kB / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.127, allocations: 0 / 0.4929 GB, free: 6.367 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.127, allocations: 4.031 kB / 0.4929 GB, free: 6.363 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.066e-05/0.1271, allocations: 16.36 kB / 0.493 GB, free: 6.348 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.1271, allocations: 4 kB / 0.493 GB, free: 6.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.1272, allocations: 3.938 kB / 0.493 GB, free: 6.34 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.1272, allocations: 8 kB / 0.493 GB, free: 6.332 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 (10): * Single equations (assignments): 10 * 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.0001239/0.1273, allocations: 145.4 kB / 0.4931 GB, free: 6.184 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1273, allocations: 15.81 kB / 0.4931 GB, free: 6.168 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.1274, allocations: 21.39 kB / 0.4932 GB, free: 6.145 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1274, allocations: 8 kB / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.459e-06/0.1274, allocations: 0 / 0.4932 GB, free: 6.137 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.1274, allocations: 3.938 kB / 0.4932 GB, free: 6.133 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.1279, allocations: 399.2 kB / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.1279, allocations: 0 / 0.4935 GB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.216e-05/0.1279, allocations: 8 kB / 0.4936 GB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.1279, allocations: 3.938 kB / 0.4936 GB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.46e-05/0.1279, allocations: 7.984 kB / 0.4936 GB, free: 5.664 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.128, allocations: 3.938 kB / 0.4936 GB, free: 5.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.128, allocations: 4.031 kB / 0.4936 GB, free: 5.656 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002336/0.1282, allocations: 208.1 kB / 0.4938 GB, free: 5.434 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.732e-05/0.1283, allocations: 85.02 kB / 0.4939 GB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.758e-05/0.1283, allocations: 11.94 kB / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.639e-05/0.1284, allocations: 0 / 0.4939 GB, free: 5.32 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1284, allocations: 7.984 kB / 0.4939 GB, free: 5.312 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.547e-05/0.1284, allocations: 8 kB / 0.4939 GB, free: 5.305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000157/0.1286, allocations: 196.5 kB / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1286, allocations: 0 / 0.4941 GB, free: 5.113 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000267/0.1289, allocations: 27.98 kB / 0.4941 GB, free: 5.086 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * 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.001424/0.1303, allocations: 1.088 MB / 0.4952 GB, free: 4.016 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1305, allocations: 55.97 kB / 0.4952 GB, free: 3.961 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1305, allocations: 3.938 kB / 0.4952 GB, free: 3.957 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.96e-05/0.1306, allocations: 39.97 kB / 0.4953 GB, free: 3.918 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.1309, allocations: 31.92 kB / 0.4953 GB, free: 3.887 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002019/0.133, allocations: 1.804 MB / 0.497 GB, free: 1.984 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003001/0.1333, allocations: 0.7274 MB / 0.4978 GB, free: 1.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.415e-05/0.1333, allocations: 17.19 kB / 0.4978 GB, free: 1.215 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.402e-05/0.1334, allocations: 43.41 kB / 0.4978 GB, free: 1.176 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1334, allocations: 0 / 0.4978 GB, free: 1.176 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.1581, allocations: 3.73 MB / 0.5015 GB, free: 13.42 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.311/7.469, allocations: 19.83 kB / 0.5015 GB, free: 13.4 MB / 398.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test47.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test47.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),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.table[4,1],t_new.table[4,2],t_new.table[5,1],t_new.table[5,2],t_new.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time