Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test30,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30",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.001326/0.001326, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001487/0.001487, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.465/1.465, allocations: 222.9 MB / 242.4 MB, free: 15.09 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.2304/0.2304, allocations: 44.19 MB / 336.8 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001451/0.001451, allocations: 71.88 kB / 470.1 MB, free: 13.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3772, allocations: 60.82 MB / 0.5185 GB, free: 3.168 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.003182/0.3804, allocations: 1.694 MB / 0.5202 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.3819, allocations: 0.8787 MB / 0.521 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001028/0.382, allocations: 1.469 kB / 0.521 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003038/0.3823, allocations: 39.95 kB / 0.5211 GB, free: 1.367 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002785/0.3826, allocations: 55.66 kB / 0.5211 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003703/0.383, allocations: 112.5 kB / 0.5212 GB, free: 1.273 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001968/0.3832, allocations: 100.5 kB / 0.5213 GB, free: 1.227 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3833, allocations: 7.844 kB / 0.5213 GB, free: 1.223 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.532e-05/0.3834, allocations: 41.91 kB / 0.5214 GB, free: 1.203 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.702e-05/0.3835, allocations: 33.58 kB / 0.5214 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3835, allocations: 4.031 kB / 0.5214 GB, free: 1.184 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.3837, allocations: 41.8 kB / 0.5214 GB, free: 1.172 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.43e-05/0.3838, allocations: 18.14 kB / 0.5215 GB, free: 1.164 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.321e-05/0.3838, allocations: 37.31 kB / 0.5215 GB, free: 1.137 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.3841, allocations: 110.4 kB / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.3841, allocations: 0 / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.145e-06/0.3841, allocations: 0 / 0.5216 GB, free: 1.094 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.042e-05/0.3841, allocations: 1.344 kB / 0.5216 GB, free: 1.094 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.0005141/0.3846, allocations: 409.8 kB / 0.522 GB, free: 0.6875 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3847, allocations: 14.58 kB / 0.522 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.796e-05/0.3847, allocations: 36.56 kB / 0.522 GB, free: 0.6406 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3848, allocations: 10.44 kB / 0.522 GB, free: 0.6367 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002571/0.385, allocations: 206.1 kB / 0.5222 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.3851, allocations: 1.438 kB / 0.5222 GB, free: 432 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.459e-05/0.3851, allocations: 11.58 kB / 0.5223 GB, free: 424 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001487/0.3852, allocations: 57.16 kB / 0.5223 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.3853, allocations: 4.938 kB / 0.5223 GB, free: 376 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.3853, allocations: 4 kB / 0.5223 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3853, allocations: 5.797 kB / 0.5223 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.526e-05/0.3854, allocations: 18.66 kB / 0.5223 GB, free: 364 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.3857, allocations: 286.2 kB / 0.5226 GB, free: 68 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001709/0.3859, allocations: 55.48 kB / 0.5227 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.8e-05/0.3859, allocations: 29.44 kB / 0.5227 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.386, allocations: 0 / 0.5227 GB, free: 12 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002371/0.3862, allocations: 63 kB / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.3862, allocations: 0 / 0.5228 GB, free: 15.96 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005959/0.3868, allocations: 179.7 kB / 0.5229 GB, free: 15.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.3869, allocations: 56.44 kB / 0.523 GB, free: 15.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002235/0.3871, allocations: 191.1 kB / 0.5232 GB, free: 15.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.3871, allocations: 31.72 kB / 0.5232 GB, free: 15.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.055e-05/0.3872, allocations: 99.19 kB / 0.5233 GB, free: 15.54 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.3873, allocations: 25.16 kB / 0.5233 GB, free: 15.52 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.695e-05/0.3873, allocations: 27.42 kB / 0.5233 GB, free: 15.5 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.3874, allocations: 320.8 kB / 0.5236 GB, free: 15.18 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.752e-05/0.3875, allocations: 18.78 kB / 0.5237 GB, free: 15.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.252e-05/0.3876, allocations: 38.64 kB / 0.5237 GB, free: 15.15 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.3877, allocations: 66.23 kB / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.3877, allocations: 0 / 0.5238 GB, free: 15.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.3879, allocations: 109 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.388, allocations: 6.625 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.388, allocations: 3.984 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.388, allocations: 1.469 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.756e-05/0.3881, allocations: 15.34 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.3881, allocations: 1.469 kB / 0.5239 GB, free: 15.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.459e-05/0.3881, allocations: 10.62 kB / 0.5239 GB, free: 15.03 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.3882, allocations: 2.938 kB / 0.5239 GB, free: 15.03 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.0001045/0.3883, allocations: 129.1 kB / 0.524 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/0.3883, allocations: 9.594 kB / 0.524 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.129e-05/0.3883, allocations: 16.25 kB / 0.5241 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/0.3883, allocations: 1.5 kB / 0.5241 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3884, allocations: 0 / 0.5241 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.3884, allocations: 4.688 kB / 0.5241 GB, free: 14.89 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004462/0.3888, allocations: 393.4 kB / 0.5244 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.3888, allocations: 6.391 kB / 0.5244 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.171e-05/0.3889, allocations: 7.578 kB / 0.5245 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/0.3889, allocations: 5.656 kB / 0.5245 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3889, allocations: 6.781 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.3889, allocations: 0.9062 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.3889, allocations: 0.8438 kB / 0.5245 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002433/0.3892, allocations: 212.7 kB / 0.5247 GB, free: 14.35 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.027e-05/0.3892, allocations: 85.56 kB / 0.5247 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.3893, allocations: 6.125 kB / 0.5248 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.784e-05/0.3893, allocations: 2.766 kB / 0.5248 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3894, allocations: 10.12 kB / 0.5248 GB, free: 14.24 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.535e-05/0.3894, allocations: 3.047 kB / 0.5248 GB, free: 14.24 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001262/0.3895, allocations: 144.9 kB / 0.5249 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3895, allocations: 4 kB / 0.5249 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002654/0.3898, allocations: 25.25 kB / 0.5249 GB, free: 14.14 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.001519/0.3913, allocations: 1.094 MB / 0.526 GB, free: 13.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.3916, allocations: 56.36 kB / 0.5261 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3916, allocations: 0 / 0.5261 GB, free: 13.3 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.487e-05/0.3917, allocations: 33.34 kB / 0.5261 GB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003807/0.3921, allocations: 33.84 kB / 0.5261 GB, free: 13.28 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.394, allocations: 1.631 MB / 0.5277 GB, free: 11.92 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002873/0.3943, allocations: 0.7052 MB / 0.5284 GB, free: 11.22 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.882e-05/0.3944, allocations: 17.75 kB / 0.5284 GB, free: 11.21 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.212e-05/0.3944, allocations: 30.98 kB / 0.5284 GB, free: 11.2 MB / 398.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3944, allocations: 0 / 0.5284 GB, free: 11.2 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02179/0.4162, allocations: 3.415 MB / 0.5318 GB, free: 9.746 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.492/7.909, allocations: 15.73 kB / 0.5318 GB, free: 9.734 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test30.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test30.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