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.001514/0.001514, allocations: 104.2 kB / 17.63 MB, free: 5.523 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.00207/0.00207, allocations: 191.9 kB / 18.56 MB, free: 4.605 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.391/1.391, allocations: 222.9 MB / 242.2 MB, free: 15.23 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.2289/0.2289, allocations: 44.18 MB / 336.6 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001404/0.001404, allocations: 64.73 kB / 408.5 MB, free: 27.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1163, allocations: 60.83 MB / 469.4 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test5): time 0.003256/0.1196, allocations: 1.738 MB / 471.1 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00156/0.1211, allocations: 0.8886 MB / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.833e-05/0.1212, allocations: 0 / 472 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003513/0.1216, allocations: 115.6 kB / 472.1 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002715/0.1219, allocations: 75.72 kB / 472.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003545/0.1223, allocations: 115.6 kB / 472.3 MB, free: 11.31 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002083/0.1225, allocations: 135.6 kB / 472.4 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001248/0.1226, allocations: 23.97 kB / 472.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.1228, allocations: 59.77 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.1229, allocations: 71.73 kB / 472.6 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1229, allocations: 4 kB / 472.6 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001312/0.1231, allocations: 63.92 kB / 472.6 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.161e-05/0.1231, allocations: 27.91 kB / 472.7 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.163e-05/0.1232, allocations: 55.61 kB / 472.7 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002416/0.1235, allocations: 151.8 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.1235, allocations: 0 / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1235, allocations: 0 / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.169e-06/0.1235, allocations: 0 / 472.9 MB, free: 10.73 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.0006397/0.1241, allocations: 450.7 kB / 473.3 MB, free: 10.24 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.1242, allocations: 12.03 kB / 473.3 MB, free: 10.23 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.1242, allocations: 34.75 kB / 473.4 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/0.1243, allocations: 16.75 kB / 473.4 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.1246, allocations: 231.8 kB / 473.6 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.525e-05/0.1246, allocations: 8.375 kB / 473.6 MB, free: 9.898 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1246, allocations: 7.938 kB / 473.6 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001794/0.1248, allocations: 73.66 kB / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.1249, allocations: 0 / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.1249, allocations: 0 / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.1249, allocations: 0 / 473.7 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001088/0.125, allocations: 39.91 kB / 473.7 MB, free: 9.773 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004261/0.1254, allocations: 340.6 kB / 474.1 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.1257, allocations: 74.55 kB / 474.1 MB, free: 9.309 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.117e-05/0.1258, allocations: 24.84 kB / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.367e-05/0.1258, allocations: 0 / 474.2 MB, free: 9.281 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002139/0.126, allocations: 79.33 kB / 474.2 MB, free: 9.191 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.1261, allocations: 4 kB / 474.2 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008582/0.1269, allocations: 304 kB / 474.5 MB, free: 8.887 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.127, allocations: 51.41 kB / 474.6 MB, free: 8.824 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002246/0.1272, allocations: 255.1 kB / 474.8 MB, free: 8.562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.129e-05/0.1272, allocations: 29.7 kB / 474.9 MB, free: 8.527 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.1273, allocations: 112.2 kB / 475 MB, free: 8.414 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.1273, allocations: 47.44 kB / 475 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.442e-05/0.1274, allocations: 37.7 kB / 475.1 MB, free: 8.324 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.1275, allocations: 326.8 kB / 475.4 MB, free: 7.996 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.232e-05/0.1276, allocations: 35.98 kB / 475.4 MB, free: 7.961 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.055e-05/0.1277, allocations: 53.7 kB / 475.5 MB, free: 7.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001716/0.1279, allocations: 105.6 kB / 475.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1279, allocations: 0 / 475.6 MB, free: 7.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002631/0.1282, allocations: 161.5 kB / 475.7 MB, free: 7.629 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1282, allocations: 8 kB / 475.7 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.1282, allocations: 4 kB / 475.7 MB, free: 7.617 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.1282, allocations: 3.938 kB / 475.7 MB, free: 7.613 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001227/0.1283, allocations: 31.92 kB / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1284, allocations: 0 / 475.8 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.342e-05/0.1284, allocations: 7.906 kB / 475.8 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.1284, allocations: 8 kB / 475.8 MB, free: 7.566 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.000129/0.1286, allocations: 133.9 kB / 475.9 MB, free: 7.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.248e-05/0.1286, allocations: 15.81 kB / 475.9 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6e-05/0.1287, allocations: 37.39 kB / 476 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.1287, allocations: 0 / 476 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.054e-06/0.1287, allocations: 112 / 476 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.1287, allocations: 3.938 kB / 476 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005765/0.1293, allocations: 0.4922 MB / 476.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.1293, allocations: 4 kB / 476.5 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.294e-05/0.1294, allocations: 27.92 kB / 476.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/0.1294, allocations: 0 / 476.5 MB, free: 6.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.1294, allocations: 7.984 kB / 476.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.1294, allocations: 0 / 476.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1294, allocations: 0 / 476.5 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1297, allocations: 268.4 kB / 476.8 MB, free: 6.492 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.809e-05/0.1298, allocations: 92.91 kB / 476.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/0.1298, allocations: 8 kB / 476.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.719e-05/0.1299, allocations: 0 / 476.9 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.1299, allocations: 19.86 kB / 476.9 MB, free: 6.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.13, allocations: 8 kB / 476.9 MB, free: 6.348 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001473/0.1301, allocations: 192.2 kB / 477.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1301, allocations: 0 / 477.1 MB, free: 6.16 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002844/0.1304, allocations: 39.98 kB / 477.1 MB, free: 6.121 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.001595/0.132, allocations: 1.196 MB / 478.3 MB, free: 5.105 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002436/0.1323, allocations: 115.8 kB / 478.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.215e-06/0.1323, allocations: 0 / 478.4 MB, free: 4.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.702e-05/0.1324, allocations: 47.92 kB / 478.5 MB, free: 4.945 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.1328, allocations: 31.97 kB / 478.5 MB, free: 4.914 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002158/0.1349, allocations: 1.973 MB / 480.5 MB, free: 2.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.1353, allocations: 0.7279 MB / 481.2 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.148e-05/0.1354, allocations: 21.41 kB / 481.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.106e-05/0.1355, allocations: 51.42 kB / 481.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of SimCode: time 2.415e-06/0.1355, allocations: 0 / 481.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.1575, allocations: 4.173 MB / 485.5 MB, free: 13.92 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.57/7.728, allocations: 10.28 kB / 485.5 MB, free: 13.91 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