Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.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.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test5,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5",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.0007279/0.0007278, allocations: 96.02 kB / 17.35 MB, free: 6.367 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.0007539/0.0007539, allocations: 176.1 kB / 18.25 MB, free: 5.523 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.28/1.28, allocations: 223.3 MB / 242.3 MB, free: 14.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2018/0.2018, allocations: 44.25 MB / 337.7 MB, free: 2.418 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002892/0.0002892, allocations: 12 kB / 410.4 MB, free: 27.16 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1087/0.109, allocations: 61.92 MB / 472.4 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.002023/0.111, allocations: 1.452 MB / 473.8 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001303/0.1123, allocations: 0.8577 MB / 474.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.624e-05/0.1124, allocations: 4 kB / 474.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003145/0.1128, allocations: 99.73 kB / 474.8 MB, free: 10.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002201/0.113, allocations: 83.78 kB / 474.9 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002896/0.1133, allocations: 95.81 kB / 475 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001867/0.1135, allocations: 119.7 kB / 475.1 MB, free: 10.49 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.762e-05/0.1136, allocations: 19.97 kB / 475.1 MB, free: 10.47 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.1137, allocations: 51.72 kB / 475.1 MB, free: 10.42 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001088/0.1138, allocations: 71.73 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.1138, allocations: 4 kB / 475.2 MB, free: 10.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.114, allocations: 55.98 kB / 475.3 MB, free: 10.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.775e-05/0.114, allocations: 27.91 kB / 475.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.1141, allocations: 73.25 kB / 475.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.1143, allocations: 151.8 kB / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.1143, allocations: 0 / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1144, allocations: 0 / 475.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.1144, allocations: 0 / 475.5 MB, free: 10.04 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005027/0.1149, allocations: 437.1 kB / 475.9 MB, free: 9.566 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1149, allocations: 8.031 kB / 476 MB, free: 9.559 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.053e-05/0.115, allocations: 38.73 kB / 476 MB, free: 9.512 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.816e-05/0.115, allocations: 16.75 kB / 476 MB, free: 9.496 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002314/0.1152, allocations: 219.8 kB / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.539e-05/0.1153, allocations: 16.25 kB / 476.2 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.995e-05/0.1153, allocations: 7.938 kB / 476.2 MB, free: 9.219 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001518/0.1154, allocations: 69.66 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.1155, allocations: 0 / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/0.1155, allocations: 7.984 kB / 476.3 MB, free: 9.137 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1155, allocations: 8 kB / 476.3 MB, free: 9.129 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.638e-05/0.1156, allocations: 31.98 kB / 476.4 MB, free: 9.098 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004085/0.116, allocations: 332.5 kB / 476.7 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.1163, allocations: 74.55 kB / 476.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.795e-05/0.1164, allocations: 32.84 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.44e-05/0.1164, allocations: 4 kB / 476.8 MB, free: 8.602 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.1166, allocations: 79.31 kB / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.633e-06/0.1166, allocations: 0 / 476.9 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.000809/0.1174, allocations: 302.9 kB / 477.2 MB, free: 8.211 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.1175, allocations: 51.41 kB / 477.2 MB, free: 8.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002144/0.1177, allocations: 259 kB / 477.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1177, allocations: 29.7 kB / 477.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.1178, allocations: 112.1 kB / 477.6 MB, free: 7.734 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.696e-05/0.1179, allocations: 44.2 kB / 477.7 MB, free: 7.691 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.1179, allocations: 25.7 kB / 477.7 MB, free: 7.66 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.118, allocations: 322.8 kB / 478 MB, free: 7.336 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.129e-05/0.1181, allocations: 39.98 kB / 478 MB, free: 7.297 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.3e-05/0.1182, allocations: 61.69 kB / 478.1 MB, free: 7.23 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001611/0.1184, allocations: 93.7 kB / 478.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.102e-06/0.1184, allocations: 0 / 478.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002576/0.1186, allocations: 162.7 kB / 478.3 MB, free: 6.969 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1187, allocations: 4 kB / 478.3 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.518e-06/0.1187, allocations: 7.938 kB / 478.4 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1187, allocations: 3.938 kB / 478.4 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.075e-05/0.1188, allocations: 27.92 kB / 478.4 MB, free: 6.926 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.1188, allocations: 8.031 kB / 478.4 MB, free: 6.918 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.86e-05/0.1188, allocations: 4 kB / 478.4 MB, free: 6.914 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.1189, allocations: 4 kB / 478.4 MB, free: 6.91 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 (16): * Single equations (assignments): 16 * 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.0001112/0.119, allocations: 140.6 kB / 478.5 MB, free: 6.766 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.485e-05/0.119, allocations: 15.81 kB / 478.6 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.1191, allocations: 29.45 kB / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1191, allocations: 0 / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.1191, allocations: 0 / 478.6 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.1191, allocations: 3.984 kB / 478.6 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005727/0.1197, allocations: 0.5115 MB / 479.1 MB, free: 6.141 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-06/0.1197, allocations: 3.984 kB / 479.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.68e-05/0.1198, allocations: 16 kB / 479.1 MB, free: 6.121 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.1198, allocations: 4 kB / 479.1 MB, free: 6.117 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/0.1198, allocations: 4 kB / 479.1 MB, free: 6.113 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.1198, allocations: 4.062 kB / 479.1 MB, free: 6.109 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.1198, allocations: 3.984 kB / 479.1 MB, free: 6.105 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002885/0.1201, allocations: 260.9 kB / 479.4 MB, free: 5.828 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.1202, allocations: 92.92 kB / 479.5 MB, free: 5.719 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.1202, allocations: 4 kB / 479.5 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.88e-05/0.1203, allocations: 8 kB / 479.5 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.159e-05/0.1203, allocations: 11.98 kB / 479.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.798e-05/0.1203, allocations: 7.984 kB / 479.5 MB, free: 5.688 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001489/0.1205, allocations: 188.2 kB / 479.7 MB, free: 5.504 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1205, allocations: 3.938 kB / 479.7 MB, free: 5.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1208, allocations: 36 kB / 479.7 MB, free: 5.465 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 (14): * Single equations (assignments): 12 * 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.001614/0.1224, allocations: 1.206 MB / 480.9 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000222/0.1226, allocations: 103.5 kB / 481 MB, free: 4.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.1227, allocations: 8 kB / 481 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.546e-05/0.1228, allocations: 48.11 kB / 481.1 MB, free: 4.285 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003556/0.1231, allocations: 35.97 kB / 481.1 MB, free: 4.25 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002021/0.1251, allocations: 1.999 MB / 483.1 MB, free: 2.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.1254, allocations: 0.7398 MB / 483.9 MB, free: 1.383 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.538e-05/0.1255, allocations: 21.41 kB / 483.9 MB, free: 1.363 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.551e-05/0.1256, allocations: 47.42 kB / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1256, allocations: 0 / 483.9 MB, free: 1.316 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01486/0.1405, allocations: 3.782 MB / 487.7 MB, free: 13.66 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002285/0.1407, allocations: 245 kB / 488 MB, free: 13.4 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.913, allocations: 0 / 488 MB, free: 13.4 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test5.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test5/Test5.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,t_new.y[1],t_new.y[2],d_t_new.y,d_t_new2.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,d_t_new2.u,d_t_new2.y,der(d2_t_new.u),der(d_t_new.u),der(d_t_new2.u),der(der(t_new.timeScaled)),der(t_new.timeScaled),t_new.columns[1],t_new.columns[2],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],t_new.y[2],time