Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test54,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54",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.002032/0.002032, allocations: 106.6 kB / 16.46 MB, free: 6.402 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.002884/0.002884, allocations: 196.1 kB / 17.4 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.076/2.076, allocations: 207.6 MB / 225.8 MB, free: 11.5 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.2138/0.2138, allocations: 44.26 MB / 319.9 MB, free: 12.84 MB / 270.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.002231/0.002231, allocations: 75.89 kB / 453.6 MB, free: 9.105 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1192/0.1214, allocations: 61.01 MB / 0.5025 GB, free: 11.97 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test54): time 0.003407/0.1248, allocations: 1.7 MB / 0.5042 GB, free: 10.26 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001537/0.1264, allocations: 0.8155 MB / 0.505 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.83e-05/0.1265, allocations: 0 / 0.505 GB, free: 9.434 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003706/0.1268, allocations: 51.77 kB / 0.505 GB, free: 9.383 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002681/0.1271, allocations: 55.75 kB / 0.5051 GB, free: 9.328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003178/0.1274, allocations: 95.69 kB / 0.5052 GB, free: 9.234 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001888/0.1276, allocations: 91.77 kB / 0.5053 GB, free: 9.145 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000101/0.1277, allocations: 20.12 kB / 0.5053 GB, free: 9.125 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.1278, allocations: 35.86 kB / 0.5053 GB, free: 9.09 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.087e-05/0.1279, allocations: 27.8 kB / 0.5053 GB, free: 9.062 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.1279, allocations: 8 kB / 0.5054 GB, free: 9.055 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001253/0.128, allocations: 43.97 kB / 0.5054 GB, free: 9.012 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.367e-05/0.1281, allocations: 19.92 kB / 0.5054 GB, free: 8.992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.249e-05/0.1282, allocations: 43.67 kB / 0.5055 GB, free: 8.949 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002445/0.1284, allocations: 123.4 kB / 0.5056 GB, free: 8.828 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.1284, allocations: 0 / 0.5056 GB, free: 8.828 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.1284, allocations: 0 / 0.5056 GB, free: 8.828 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1284, allocations: 0 / 0.5056 GB, free: 8.828 MB / 398.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.0006402/0.1291, allocations: 422.7 kB / 0.506 GB, free: 8.367 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.215e-05/0.1291, allocations: 19.89 kB / 0.506 GB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1292, allocations: 34.75 kB / 0.506 GB, free: 8.305 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.1292, allocations: 16.83 kB / 0.506 GB, free: 8.289 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1295, allocations: 212.1 kB / 0.5062 GB, free: 8.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.1296, allocations: 4.312 kB / 0.5062 GB, free: 8.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.437e-05/0.1296, allocations: 7.922 kB / 0.5063 GB, free: 8.031 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.1297, allocations: 57.67 kB / 0.5063 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.1298, allocations: 0 / 0.5063 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/0.1298, allocations: 0 / 0.5063 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.1298, allocations: 0 / 0.5063 GB, free: 7.969 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.989e-05/0.1299, allocations: 31.98 kB / 0.5063 GB, free: 7.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004765/0.1303, allocations: 288.8 kB / 0.5066 GB, free: 7.605 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1305, allocations: 58.55 kB / 0.5067 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.274e-05/0.1306, allocations: 16.86 kB / 0.5067 GB, free: 7.52 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.926e-05/0.1306, allocations: 8 kB / 0.5067 GB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1308, allocations: 63.39 kB / 0.5068 GB, free: 7.438 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.634e-06/0.1308, allocations: 3.938 kB / 0.5068 GB, free: 7.434 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005853/0.1314, allocations: 185.3 kB / 0.5069 GB, free: 7.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.1314, allocations: 51.41 kB / 0.507 GB, free: 7.184 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002574/0.1317, allocations: 234.5 kB / 0.5072 GB, free: 6.941 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.772e-05/0.1317, allocations: 25.7 kB / 0.5072 GB, free: 6.91 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.574e-05/0.1318, allocations: 112.1 kB / 0.5073 GB, free: 6.797 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.048e-05/0.1318, allocations: 27.78 kB / 0.5074 GB, free: 6.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.073e-05/0.1319, allocations: 21.72 kB / 0.5074 GB, free: 6.742 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001804/0.132, allocations: 322.8 kB / 0.5077 GB, free: 6.418 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.797e-05/0.1321, allocations: 27.92 kB / 0.5077 GB, free: 6.391 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.975e-05/0.1322, allocations: 33.7 kB / 0.5078 GB, free: 6.352 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.1323, allocations: 61.72 kB / 0.5078 GB, free: 6.285 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.1323, allocations: 0 / 0.5078 GB, free: 6.285 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002128/0.1325, allocations: 105.5 kB / 0.5079 GB, free: 6.176 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/0.1325, allocations: 8 kB / 0.5079 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1325, allocations: 0 / 0.5079 GB, free: 6.168 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.673e-05/0.1325, allocations: 3.984 kB / 0.5079 GB, free: 6.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.386e-05/0.1326, allocations: 15.98 kB / 0.5079 GB, free: 6.148 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1327, allocations: 4 kB / 0.5079 GB, free: 6.145 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.318e-05/0.1327, allocations: 11.97 kB / 0.508 GB, free: 6.133 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.407e-06/0.1327, allocations: 7.938 kB / 0.508 GB, free: 6.125 MB / 398.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.000131/0.1328, allocations: 137.6 kB / 0.5081 GB, free: 5.984 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1329, allocations: 7.953 kB / 0.5081 GB, free: 5.977 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.678e-05/0.1329, allocations: 21.41 kB / 0.5081 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.1329, allocations: 0 / 0.5081 GB, free: 5.949 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/0.1329, allocations: 3.984 kB / 0.5081 GB, free: 5.945 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.1329, allocations: 3.938 kB / 0.5081 GB, free: 5.941 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005225/0.1335, allocations: 399.3 kB / 0.5085 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.1335, allocations: 384 / 0.5085 GB, free: 5.492 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.394e-05/0.1335, allocations: 8 kB / 0.5085 GB, free: 5.484 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.41e-06/0.1335, allocations: 3.938 kB / 0.5085 GB, free: 5.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.424e-05/0.1335, allocations: 11.92 kB / 0.5085 GB, free: 5.469 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.627e-06/0.1335, allocations: 4 kB / 0.5085 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.1335, allocations: 0 / 0.5085 GB, free: 5.465 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002682/0.1338, allocations: 212.2 kB / 0.5087 GB, free: 5.238 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.986e-05/0.1339, allocations: 85.06 kB / 0.5088 GB, free: 5.137 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.492e-05/0.1339, allocations: 4.125 kB / 0.5088 GB, free: 5.133 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.134, allocations: 7.984 kB / 0.5088 GB, free: 5.125 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.134, allocations: 11.94 kB / 0.5088 GB, free: 5.113 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.134, allocations: 4 kB / 0.5089 GB, free: 5.109 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001617/0.1342, allocations: 167.2 kB / 0.509 GB, free: 4.945 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1342, allocations: 0 / 0.509 GB, free: 4.945 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002687/0.1344, allocations: 27.94 kB / 0.509 GB, free: 4.918 MB / 398.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.002295/0.1367, allocations: 1.088 MB / 0.5101 GB, free: 3.852 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.1369, allocations: 55.86 kB / 0.5102 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1369, allocations: 0 / 0.5102 GB, free: 3.797 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.708e-05/0.137, allocations: 31.97 kB / 0.5102 GB, free: 3.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.1374, allocations: 31.61 kB / 0.5102 GB, free: 3.734 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.1394, allocations: 1.727 MB / 0.5119 GB, free: 1.922 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004237/0.1399, allocations: 0.7041 MB / 0.5126 GB, free: 1.191 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.462e-05/0.1399, allocations: 21.19 kB / 0.5126 GB, free: 1.172 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.14, allocations: 39.42 kB / 0.5126 GB, free: 1.133 MB / 398.1 MB Notification: Performance of SimCode: time 9.52e-07/0.14, allocations: 0 / 0.5126 GB, free: 1.133 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02954/0.1695, allocations: 3.552 MB / 0.5161 GB, free: 13.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.32/12.49, allocations: 0 / 0.5161 GB, free: 13.56 MB / 414.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test54.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test54/Test54.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test54.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time