Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test49,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49",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.00112/0.00112, allocations: 114.4 kB / 17.78 MB, free: 5.27 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.001103/0.001103, allocations: 187.8 kB / 18.71 MB, free: 4.348 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.36/1.36, allocations: 222.9 MB / 242.4 MB, free: 15.18 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.2053/0.2053, allocations: 44.18 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 63.91 kB / 470.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3759, allocations: 60.81 MB / 0.5185 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test49): time 0.003013/0.3789, allocations: 1.712 MB / 0.5202 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001331/0.3803, allocations: 0.8695 MB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.06e-05/0.3804, allocations: 1.156 kB / 0.521 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.3807, allocations: 50.25 kB / 0.5211 GB, free: 1.508 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002264/0.3809, allocations: 64.66 kB / 0.5211 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002925/0.3812, allocations: 105.3 kB / 0.5212 GB, free: 1.418 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001873/0.3814, allocations: 96.53 kB / 0.5213 GB, free: 1.375 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.3815, allocations: 11 kB / 0.5213 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.597e-05/0.3816, allocations: 45.7 kB / 0.5214 GB, free: 1.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.3817, allocations: 25.92 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.927e-05/0.3818, allocations: 4.406 kB / 0.5214 GB, free: 1.332 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3819, allocations: 51.02 kB / 0.5215 GB, free: 1.312 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.672e-05/0.382, allocations: 31.53 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.884e-05/0.382, allocations: 33.56 kB / 0.5215 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002296/0.3823, allocations: 135.9 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3823, allocations: 0.7969 kB / 0.5217 GB, free: 1.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.3823, allocations: 9.094 kB / 0.5217 GB, free: 1.207 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.29e-05/0.3823, allocations: 0 / 0.5217 GB, free: 1.207 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.0005533/0.3828, allocations: 431.3 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.3829, allocations: 10.12 kB / 0.5221 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.3829, allocations: 32.41 kB / 0.5221 GB, free: 0.75 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.694e-05/0.383, allocations: 15.14 kB / 0.5221 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3833, allocations: 223 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.3833, allocations: 2.266 kB / 0.5223 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.3833, allocations: 10.19 kB / 0.5224 GB, free: 0.5078 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001713/0.3835, allocations: 62.62 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.3835, allocations: 0 / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.3835, allocations: 1.062 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3836, allocations: 1.031 kB / 0.5224 GB, free: 472 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.556e-05/0.3837, allocations: 17.94 kB / 0.5224 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003721/0.384, allocations: 292.8 kB / 0.5227 GB, free: 172 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001778/0.3842, allocations: 65.77 kB / 0.5228 GB, free: 128 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.58e-05/0.3843, allocations: 19.62 kB / 0.5228 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.3843, allocations: 1.984 kB / 0.5228 GB, free: 116 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/0.3845, allocations: 68.7 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.793e-06/0.3845, allocations: 1.062 kB / 0.5229 GB, free: 56 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006154/0.3851, allocations: 182.2 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.672e-05/0.3852, allocations: 60.84 kB / 0.5231 GB, free: 15.89 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003255/0.3855, allocations: 263.3 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/0.3855, allocations: 30.8 kB / 0.5234 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.807e-05/0.3856, allocations: 110.8 kB / 0.5235 GB, free: 15.61 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.444e-05/0.3857, allocations: 26.56 kB / 0.5235 GB, free: 15.59 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.3857, allocations: 21.95 kB / 0.5235 GB, free: 15.57 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3858, allocations: 328.8 kB / 0.5238 GB, free: 15.25 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.938e-05/0.3859, allocations: 25.45 kB / 0.5239 GB, free: 15.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.278e-05/0.386, allocations: 42.84 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.3861, allocations: 53.73 kB / 0.524 GB, free: 15.17 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.22e-07/0.3861, allocations: 192 / 0.524 GB, free: 15.17 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001945/0.3863, allocations: 110.6 kB / 0.5241 GB, free: 15.11 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.3863, allocations: 12.06 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.3863, allocations: 6.094 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.3864, allocations: 1.5 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.782e-05/0.3865, allocations: 15.2 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.3865, allocations: 0.6562 kB / 0.5241 GB, free: 15.1 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.702e-05/0.3865, allocations: 7.656 kB / 0.5241 GB, free: 15.09 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.3865, allocations: 2.969 kB / 0.5241 GB, free: 15.09 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.0001078/0.3866, allocations: 140.9 kB / 0.5242 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.617e-05/0.3867, allocations: 13.56 kB / 0.5243 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.393e-05/0.3867, allocations: 20.12 kB / 0.5243 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.3867, allocations: 5.031 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.3868, allocations: 1.844 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.402e-06/0.3868, allocations: 3.938 kB / 0.5243 GB, free: 14.94 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005004/0.3873, allocations: 407.6 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.3873, allocations: 0 / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.24e-05/0.3873, allocations: 8.609 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.93e-06/0.3873, allocations: 5.75 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3874, allocations: 2.438 kB / 0.5247 GB, free: 14.58 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.3874, allocations: 4.031 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3874, allocations: 2.531 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.3876, allocations: 206.8 kB / 0.5249 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.873e-05/0.3877, allocations: 92.16 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.573e-05/0.3877, allocations: 6.219 kB / 0.525 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.176e-05/0.3878, allocations: 6.969 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.711e-05/0.3878, allocations: 10.84 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.3878, allocations: 2.891 kB / 0.525 GB, free: 14.29 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.388, allocations: 204.5 kB / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.388, allocations: 0 / 0.5252 GB, free: 14.18 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002696/0.3883, allocations: 22.31 kB / 0.5252 GB, free: 14.17 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.0015/0.3898, allocations: 1.105 MB / 0.5263 GB, free: 13.34 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001853/0.39, allocations: 59.98 kB / 0.5264 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.39, allocations: 8 kB / 0.5264 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 7.371e-05/0.3901, allocations: 25.08 kB / 0.5264 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003447/0.3905, allocations: 35.88 kB / 0.5264 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001976/0.3925, allocations: 1.799 MB / 0.5282 GB, free: 11.89 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002805/0.3927, allocations: 0.7234 MB / 0.5289 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.092e-05/0.3928, allocations: 13.8 kB / 0.5289 GB, free: 11.18 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.28e-05/0.3929, allocations: 42.94 kB / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3929, allocations: 0 / 0.5289 GB, free: 11.15 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02291/0.4158, allocations: 3.752 MB / 0.5326 GB, free: 9.48 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.831/8.247, allocations: 9.688 kB / 0.5326 GB, free: 9.473 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test49.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test49/Test49.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test49.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.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time