Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7",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.0009904/0.0009904, allocations: 96.2 kB / 17.35 MB, free: 6.344 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.001026/0.001026, allocations: 171.2 kB / 18.25 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.373/1.373, allocations: 223.2 MB / 242.3 MB, free: 224 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1899/0.1899, allocations: 44.24 MB / 337.7 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002823/0.0002823, allocations: 12 kB / 410.4 MB, free: 27.21 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1026, allocations: 61.92 MB / 472.4 MB, free: 13.26 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.001806/0.1044, allocations: 1.437 MB / 473.8 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001265/0.1057, allocations: 0.8421 MB / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.1057, allocations: 0 / 474.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002573/0.106, allocations: 115.7 kB / 474.7 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.1062, allocations: 75.78 kB / 474.8 MB, free: 10.78 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002505/0.1065, allocations: 98.69 kB / 474.9 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001532/0.1066, allocations: 111.6 kB / 475 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.663e-05/0.1067, allocations: 19.97 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.744e-05/0.1068, allocations: 51.77 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.883e-05/0.1069, allocations: 59.75 kB / 475.2 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.1069, allocations: 4 kB / 475.2 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.642e-05/0.107, allocations: 51.98 kB / 475.2 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.1071, allocations: 27.91 kB / 475.2 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.521e-05/0.1072, allocations: 69.31 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.1073, allocations: 131.8 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.1074, allocations: 0 / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1074, allocations: 4 kB / 475.4 MB, free: 10.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.878e-06/0.1074, allocations: 4 kB / 475.4 MB, free: 10.15 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004374/0.1078, allocations: 415 kB / 475.8 MB, free: 9.699 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.1079, allocations: 8.031 kB / 475.9 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.1079, allocations: 34.75 kB / 475.9 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.1079, allocations: 12.75 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001994/0.1081, allocations: 232.6 kB / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.344e-06/0.1082, allocations: 384 / 476.1 MB, free: 9.367 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.964e-05/0.1082, allocations: 7.938 kB / 476.1 MB, free: 9.359 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1083, allocations: 61.66 kB / 476.2 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.1083, allocations: 4 kB / 476.2 MB, free: 9.289 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.368e-06/0.1084, allocations: 4 kB / 476.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.1084, allocations: 0 / 476.2 MB, free: 9.285 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.1084, allocations: 19.98 kB / 476.2 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.1088, allocations: 304.7 kB / 476.5 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001941/0.109, allocations: 70.48 kB / 476.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.622e-05/0.109, allocations: 24.97 kB / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.1091, allocations: 0 / 476.6 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001737/0.1092, allocations: 71.33 kB / 476.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.292e-06/0.1093, allocations: 0 / 476.7 MB, free: 8.73 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.0007581/0.11, allocations: 252.9 kB / 476.9 MB, free: 8.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.1101, allocations: 59.34 kB / 477 MB, free: 8.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.1103, allocations: 230.3 kB / 477.2 MB, free: 8.172 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.1103, allocations: 33.7 kB / 477.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.814e-05/0.1104, allocations: 112 kB / 477.4 MB, free: 8.02 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.1105, allocations: 39.61 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.1105, allocations: 17.72 kB / 477.4 MB, free: 7.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1106, allocations: 322.8 kB / 477.7 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.553e-05/0.1107, allocations: 31.98 kB / 477.8 MB, free: 7.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.145e-05/0.1108, allocations: 49.69 kB / 477.8 MB, free: 7.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001356/0.1109, allocations: 81.7 kB / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1109, allocations: 0 / 477.9 MB, free: 7.461 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000207/0.1112, allocations: 125.4 kB / 478 MB, free: 7.332 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.732e-05/0.1112, allocations: 4 kB / 478 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1112, allocations: 4 kB / 478 MB, free: 7.324 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.115e-05/0.1112, allocations: 4.031 kB / 478 MB, free: 7.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.881e-05/0.1113, allocations: 27.86 kB / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1113, allocations: 0 / 478 MB, free: 7.293 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.193e-05/0.1114, allocations: 12 kB / 478.1 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1114, allocations: 4 kB / 478.1 MB, free: 7.277 MB / 350.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 (13): * Single equations (assignments): 13 * 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.0001087/0.1115, allocations: 133.8 kB / 478.2 MB, free: 7.137 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.207e-05/0.1115, allocations: 11.81 kB / 478.2 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.723e-05/0.1116, allocations: 25.39 kB / 478.2 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.58e-06/0.1116, allocations: 11.94 kB / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.1116, allocations: 0 / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1116, allocations: 0 / 478.2 MB, free: 7.09 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005325/0.1122, allocations: 452 kB / 478.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.1122, allocations: 0 / 478.7 MB, free: 6.586 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.97e-05/0.1122, allocations: 23.92 kB / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1122, allocations: 0 / 478.7 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.1123, allocations: 8.062 kB / 478.7 MB, free: 6.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1123, allocations: 3.938 kB / 478.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1123, allocations: 0 / 478.7 MB, free: 6.551 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002553/0.1125, allocations: 233 kB / 478.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.307e-05/0.1126, allocations: 96.91 kB / 479 MB, free: 6.188 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.379e-05/0.1126, allocations: 4 kB / 479 MB, free: 6.184 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.1127, allocations: 4 kB / 479 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.989e-05/0.1128, allocations: 15.92 kB / 479.1 MB, free: 6.164 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.479e-05/0.1128, allocations: 4 kB / 479.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001469/0.1129, allocations: 184.3 kB / 479.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.113, allocations: 0 / 479.2 MB, free: 5.98 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002613/0.1132, allocations: 35.98 kB / 479.3 MB, free: 5.945 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 9 * 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.001656/0.1149, allocations: 1.191 MB / 480.5 MB, free: 4.934 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000184/0.1151, allocations: 79.91 kB / 480.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1151, allocations: 0 / 480.6 MB, free: 4.855 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.1152, allocations: 43.98 kB / 480.6 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003522/0.1155, allocations: 27.61 kB / 480.6 MB, free: 4.789 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002037/0.1176, allocations: 1.878 MB / 482.5 MB, free: 2.809 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.1179, allocations: 0.7236 MB / 483.2 MB, free: 2.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.002e-05/0.118, allocations: 20.58 kB / 483.2 MB, free: 2.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.715e-05/0.1181, allocations: 43.41 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1181, allocations: 0 / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01306/0.1311, allocations: 3.49 MB / 486.8 MB, free: 14.62 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002171/0.1314, allocations: 239.9 kB / 487 MB, free: 14.36 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.904/2.035, allocations: 0 / 487 MB, free: 14.36 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test7.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],d_t_new.y,d2_t_new.y Variables in the result:d2_t_new.u,d2_t_new.y,d_t_new.u,d_t_new.y,der(d2_t_new.u),der(d_t_new.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time