Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test28,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28",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.001095/0.001095, allocations: 113.4 kB / 17.78 MB, free: 5.266 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.001146/0.001146, allocations: 188.9 kB / 18.71 MB, free: 4.344 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.335/1.335, allocations: 222.9 MB / 242.4 MB, free: 15.05 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.2108/0.2108, allocations: 44.18 MB / 336.7 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 63.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3561, allocations: 60.82 MB / 0.5185 GB, free: 3.297 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test28): time 0.002999/0.3592, allocations: 1.705 MB / 0.5202 GB, free: 2.109 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001474/0.3607, allocations: 0.8679 MB / 0.521 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.174e-05/0.3608, allocations: 1.125 kB / 0.521 GB, free: 1.516 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003221/0.3611, allocations: 38.33 kB / 0.5211 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002141/0.3613, allocations: 59.69 kB / 0.5211 GB, free: 1.461 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002905/0.3616, allocations: 109.5 kB / 0.5212 GB, free: 1.406 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.3618, allocations: 104.2 kB / 0.5213 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000108/0.3619, allocations: 15.73 kB / 0.5213 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.673e-05/0.362, allocations: 37.5 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.544e-05/0.3621, allocations: 33.78 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.061e-05/0.3621, allocations: 3.562 kB / 0.5214 GB, free: 1.309 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/0.3623, allocations: 50.25 kB / 0.5215 GB, free: 1.289 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.3623, allocations: 18.31 kB / 0.5215 GB, free: 1.281 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.098e-05/0.3624, allocations: 34.11 kB / 0.5215 GB, free: 1.258 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.3626, allocations: 109 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.3626, allocations: 2.031 kB / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.395e-06/0.3626, allocations: 0 / 0.5216 GB, free: 1.215 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.849e-06/0.3626, allocations: 0 / 0.5216 GB, free: 1.215 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.0004982/0.3631, allocations: 407 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3632, allocations: 9.812 kB / 0.522 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.906e-05/0.3632, allocations: 36.44 kB / 0.522 GB, free: 0.7695 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.3633, allocations: 13.19 kB / 0.5221 GB, free: 0.7617 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002599/0.3635, allocations: 215 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.3635, allocations: 1.281 kB / 0.5223 GB, free: 0.5391 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.546e-05/0.3636, allocations: 7.047 kB / 0.5223 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001486/0.3637, allocations: 58.08 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3637, allocations: 1.188 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.659e-06/0.3638, allocations: 0.75 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3638, allocations: 1 kB / 0.5223 GB, free: 0.4922 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.924e-05/0.3639, allocations: 18.58 kB / 0.5223 GB, free: 500 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003316/0.3642, allocations: 289 kB / 0.5226 GB, free: 200 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001581/0.3644, allocations: 57.27 kB / 0.5227 GB, free: 164 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.1e-05/0.3644, allocations: 19.55 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.439e-05/0.3645, allocations: 2.219 kB / 0.5227 GB, free: 152 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.3646, allocations: 77.33 kB / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.3646, allocations: 0 / 0.5228 GB, free: 84 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005645/0.3652, allocations: 176.4 kB / 0.5229 GB, free: 15.99 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.3652, allocations: 57.11 kB / 0.523 GB, free: 15.92 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000218/0.3655, allocations: 191 kB / 0.5232 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.029e-05/0.3655, allocations: 30.31 kB / 0.5232 GB, free: 15.75 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.3656, allocations: 103.8 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.008e-05/0.3656, allocations: 25.66 kB / 0.5233 GB, free: 15.64 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.3657, allocations: 21.75 kB / 0.5233 GB, free: 15.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.3658, allocations: 322.5 kB / 0.5237 GB, free: 15.3 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.98e-05/0.3658, allocations: 22.2 kB / 0.5237 GB, free: 15.29 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.807e-05/0.3659, allocations: 39.3 kB / 0.5237 GB, free: 15.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000115/0.366, allocations: 69.19 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.3661, allocations: 1.125 kB / 0.5238 GB, free: 15.22 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001812/0.3662, allocations: 96.89 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3663, allocations: 4.719 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.3663, allocations: 1.719 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.3663, allocations: 1.156 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.542e-05/0.3664, allocations: 19.98 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.3664, allocations: 0.5625 kB / 0.5239 GB, free: 15.16 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.774e-05/0.3665, allocations: 10.48 kB / 0.5239 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.137e-06/0.3665, allocations: 8 kB / 0.5239 GB, free: 15.15 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.000101/0.3666, allocations: 120.7 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.359e-05/0.3666, allocations: 10.5 kB / 0.524 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.396e-05/0.3667, allocations: 14.34 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.3667, allocations: 2.078 kB / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3667, allocations: 0 / 0.5241 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.3667, allocations: 9.844 kB / 0.5241 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000451/0.3671, allocations: 392.3 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3672, allocations: 1.125 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.315e-05/0.3672, allocations: 8.469 kB / 0.5244 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/0.3672, allocations: 10.19 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.285e-05/0.3672, allocations: 2.484 kB / 0.5245 GB, free: 14.66 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.3672, allocations: 5.016 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3673, allocations: 1.25 kB / 0.5245 GB, free: 14.65 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000235/0.3675, allocations: 208.3 kB / 0.5247 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.396e-05/0.3676, allocations: 85.33 kB / 0.5247 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.032e-05/0.3676, allocations: 14.12 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.3677, allocations: 3.203 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.3677, allocations: 5.375 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.3677, allocations: 4.188 kB / 0.5248 GB, free: 14.37 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001231/0.3679, allocations: 143.4 kB / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3679, allocations: 0 / 0.5249 GB, free: 14.28 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002672/0.3681, allocations: 27.23 kB / 0.5249 GB, free: 14.27 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.001405/0.3695, allocations: 1.092 MB / 0.526 GB, free: 13.45 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3697, allocations: 61.06 kB / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3697, allocations: 0 / 0.5261 GB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.657e-05/0.3698, allocations: 32.66 kB / 0.5261 GB, free: 13.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.3702, allocations: 37.92 kB / 0.5261 GB, free: 13.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001689/0.3719, allocations: 1.634 MB / 0.5277 GB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/0.3722, allocations: 0.701 MB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.442e-05/0.3722, allocations: 13.47 kB / 0.5284 GB, free: 11.34 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.469e-05/0.3723, allocations: 38.39 kB / 0.5285 GB, free: 11.32 MB / 398.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3723, allocations: 0 / 0.5285 GB, free: 11.32 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02214/0.3945, allocations: 3.406 MB / 0.5318 GB, free: 9.852 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.841, allocations: 9.734 kB / 0.5318 GB, free: 9.844 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test28.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test28.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time