Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test17,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17",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.001342/0.001342, allocations: 113.4 kB / 17.78 MB, free: 5.262 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.001639/0.001639, allocations: 188.9 kB / 18.71 MB, free: 4.34 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.325/1.325, 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.2071/0.2071, allocations: 44.19 MB / 336.8 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 68.12 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2987/0.3, allocations: 60.82 MB / 0.5185 GB, free: 3.332 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.002879/0.3029, allocations: 1.713 MB / 0.5202 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001216/0.3041, allocations: 0.871 MB / 0.521 GB, free: 1.543 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.475e-05/0.3042, allocations: 5.094 kB / 0.521 GB, free: 1.539 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002708/0.3045, allocations: 30.19 kB / 0.5211 GB, free: 1.527 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.3047, allocations: 57.98 kB / 0.5211 GB, free: 1.492 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002723/0.305, allocations: 118.4 kB / 0.5212 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001663/0.3051, allocations: 94.55 kB / 0.5213 GB, free: 1.387 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.894e-05/0.3052, allocations: 12.09 kB / 0.5213 GB, free: 1.379 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.657e-05/0.3053, allocations: 45.27 kB / 0.5214 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.671e-05/0.3054, allocations: 30.94 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.756e-05/0.3054, allocations: 3.312 kB / 0.5214 GB, free: 1.34 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.74e-05/0.3055, allocations: 42.38 kB / 0.5214 GB, free: 1.328 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.234e-05/0.3056, allocations: 22.2 kB / 0.5215 GB, free: 1.316 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.246e-05/0.3056, allocations: 28.44 kB / 0.5215 GB, free: 1.297 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001996/0.3059, allocations: 113.1 kB / 0.5216 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.3059, allocations: 0 / 0.5216 GB, free: 1.25 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.3059, allocations: 0 / 0.5216 GB, free: 1.25 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.109e-05/0.3059, allocations: 3.938 kB / 0.5216 GB, free: 1.246 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.0004607/0.3064, allocations: 410.3 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3064, allocations: 9.469 kB / 0.522 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.3064, allocations: 32.55 kB / 0.522 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.3065, allocations: 9.938 kB / 0.522 GB, free: 0.7969 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000241/0.3067, allocations: 210.1 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.3067, allocations: 1.531 kB / 0.5222 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.3068, allocations: 6.75 kB / 0.5223 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.3069, allocations: 58.55 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3069, allocations: 0 / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.307, allocations: 0.5156 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.307, allocations: 1.469 kB / 0.5223 GB, free: 0.5312 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.637e-05/0.3071, allocations: 19.12 kB / 0.5223 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.3074, allocations: 287.3 kB / 0.5226 GB, free: 240 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.3075, allocations: 65.41 kB / 0.5227 GB, free: 196 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.984e-05/0.3076, allocations: 23.81 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3076, allocations: 1.156 kB / 0.5227 GB, free: 180 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001478/0.3078, allocations: 69.52 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.3078, allocations: 1 kB / 0.5228 GB, free: 120 kB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005146/0.3083, allocations: 171.1 kB / 0.5229 GB, free: 32 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.763e-05/0.3084, allocations: 57.5 kB / 0.523 GB, free: 15.96 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001829/0.3086, allocations: 172.8 kB / 0.5231 GB, free: 15.84 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.3086, allocations: 31.08 kB / 0.5232 GB, free: 15.8 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.291e-05/0.3086, allocations: 95.55 kB / 0.5233 GB, free: 15.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.825e-05/0.3087, allocations: 29.55 kB / 0.5233 GB, free: 15.69 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.536e-05/0.3088, allocations: 29.94 kB / 0.5233 GB, free: 15.66 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.3089, allocations: 322.3 kB / 0.5236 GB, free: 15.35 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.027e-05/0.3089, allocations: 21.23 kB / 0.5236 GB, free: 15.34 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.075e-05/0.309, allocations: 38.88 kB / 0.5237 GB, free: 15.31 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.3091, allocations: 54.38 kB / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3092, allocations: 0 / 0.5237 GB, free: 15.28 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001905/0.3093, allocations: 113.5 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/0.3094, allocations: 5.531 kB / 0.5238 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3094, allocations: 4.828 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.3094, allocations: 1.062 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.517e-05/0.3095, allocations: 15.09 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.3095, allocations: 6.234 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.3096, allocations: 5.984 kB / 0.5239 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.3096, allocations: 3.188 kB / 0.5239 GB, free: 15.2 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.0001063/0.3097, allocations: 132 kB / 0.524 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.3097, allocations: 8.781 kB / 0.524 GB, free: 15.07 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.271e-05/0.3098, allocations: 16.14 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.3098, allocations: 1.125 kB / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.3098, allocations: 0 / 0.524 GB, free: 15.06 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.144e-06/0.3098, allocations: 5.672 kB / 0.524 GB, free: 15.05 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004624/0.3103, allocations: 388.3 kB / 0.5244 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.3103, allocations: 1.25 kB / 0.5244 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.404e-05/0.3103, allocations: 8.078 kB / 0.5244 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.725e-05/0.3103, allocations: 9.531 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.3103, allocations: 1.922 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.863e-06/0.3104, allocations: 1.094 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/0.3104, allocations: 5.859 kB / 0.5244 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3106, allocations: 201.2 kB / 0.5246 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-05/0.3107, allocations: 88.02 kB / 0.5247 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.536e-05/0.3107, allocations: 14.64 kB / 0.5247 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.699e-05/0.3108, allocations: 2.531 kB / 0.5247 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.3108, allocations: 5.281 kB / 0.5247 GB, free: 14.42 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.788e-05/0.3108, allocations: 12.84 kB / 0.5247 GB, free: 14.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001036/0.3109, allocations: 130.4 kB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.311, allocations: 0 / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002519/0.3112, allocations: 21.77 kB / 0.5249 GB, free: 14.32 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.00152/0.3127, allocations: 1.089 MB / 0.526 GB, free: 13.5 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.313, allocations: 60.56 kB / 0.526 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.313, allocations: 0 / 0.526 GB, free: 13.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.01e-05/0.3131, allocations: 32.97 kB / 0.526 GB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003724/0.3134, allocations: 28.59 kB / 0.5261 GB, free: 13.46 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002027/0.3155, allocations: 1.613 MB / 0.5276 GB, free: 12.09 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003335/0.3158, allocations: 0.6981 MB / 0.5283 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.3159, allocations: 13.19 kB / 0.5283 GB, free: 11.4 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.758e-05/0.316, allocations: 31.75 kB / 0.5284 GB, free: 11.38 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.316, allocations: 3.938 kB / 0.5284 GB, free: 11.38 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02268/0.3387, allocations: 3.351 MB / 0.5316 GB, free: 9.965 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.233, allocations: 7.375 kB / 0.5317 GB, free: 9.961 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test17.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test17/Test17.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test17.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time