Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test59,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59",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.001239/0.001239, allocations: 110.4 kB / 17.78 MB, free: 5.273 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.001381/0.001381, allocations: 183.1 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.458/1.458, allocations: 222.9 MB / 242.4 MB, free: 15.06 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.2417/0.2417, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 67.89 kB / 470.1 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.48/0.4815, allocations: 60.82 MB / 0.5185 GB, free: 3.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test59): time 0.003246/0.4848, allocations: 1.703 MB / 0.5202 GB, free: 2.133 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002381/0.4872, allocations: 1.485 MB / 0.5216 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.4873, allocations: 1.062 kB / 0.5216 GB, free: 1.082 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003176/0.4876, allocations: 40.08 kB / 0.5217 GB, free: 1.059 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.4879, allocations: 60.02 kB / 0.5217 GB, free: 1.023 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000311/0.4882, allocations: 112.5 kB / 0.5218 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001922/0.4884, allocations: 93.12 kB / 0.5219 GB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000115/0.4885, allocations: 10.66 kB / 0.5219 GB, free: 0.918 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.4886, allocations: 46.58 kB / 0.522 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001598/0.4888, allocations: 39.08 kB / 0.522 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.266e-05/0.4888, allocations: 4.594 kB / 0.522 GB, free: 0.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001637/0.489, allocations: 58.77 kB / 0.5221 GB, free: 0.8594 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.798e-05/0.489, allocations: 23.59 kB / 0.5221 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.4891, allocations: 29.66 kB / 0.5221 GB, free: 0.8242 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002788/0.4894, allocations: 124.6 kB / 0.5222 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4894, allocations: 0 / 0.5222 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.4894, allocations: 0 / 0.5222 GB, free: 0.7734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.493e-06/0.4894, allocations: 0 / 0.5222 GB, free: 0.7734 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.0005878/0.49, allocations: 408.7 kB / 0.5226 GB, free: 380 kB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.816e-05/0.4901, allocations: 9.312 kB / 0.5226 GB, free: 380 kB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.4901, allocations: 36.83 kB / 0.5227 GB, free: 336 kB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.189e-05/0.4902, allocations: 9.891 kB / 0.5227 GB, free: 332 kB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003403/0.4906, allocations: 204.5 kB / 0.5229 GB, free: 112 kB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/0.4906, allocations: 10.41 kB / 0.5229 GB, free: 104 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.599e-05/0.4906, allocations: 7.766 kB / 0.5229 GB, free: 100 kB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.4908, allocations: 73.25 kB / 0.523 GB, free: 36 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.646e-05/0.4909, allocations: 5.984 kB / 0.523 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.4909, allocations: 0 / 0.523 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.4909, allocations: 0.875 kB / 0.523 GB, free: 32 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.76e-05/0.491, allocations: 22.02 kB / 0.523 GB, free: 24 kB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000533/0.4916, allocations: 281.1 kB / 0.5233 GB, free: 15.74 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002151/0.4918, allocations: 64.19 kB / 0.5233 GB, free: 15.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.03e-05/0.4919, allocations: 19.81 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.11e-05/0.4919, allocations: 0.9688 kB / 0.5233 GB, free: 15.68 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002024/0.4921, allocations: 67.02 kB / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 1.453e-06/0.4921, allocations: 0 / 0.5234 GB, free: 15.63 MB / 398.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006903/0.4928, allocations: 166.9 kB / 0.5236 GB, free: 15.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.506e-05/0.4929, allocations: 82.45 kB / 0.5236 GB, free: 15.45 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001924/0.4931, allocations: 155.5 kB / 0.5238 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.18e-05/0.4931, allocations: 27.61 kB / 0.5238 GB, free: 15.3 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.661e-05/0.4932, allocations: 93.55 kB / 0.5239 GB, free: 15.21 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.4933, allocations: 30.41 kB / 0.5239 GB, free: 15.18 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.781e-05/0.4933, allocations: 26.09 kB / 0.524 GB, free: 15.16 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4935, allocations: 321.2 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.007e-05/0.4935, allocations: 21 kB / 0.5243 GB, free: 14.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.003e-05/0.4937, allocations: 45.83 kB / 0.5243 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/0.4938, allocations: 57.2 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.31e-07/0.4938, allocations: 1.406 kB / 0.5244 GB, free: 14.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002155/0.494, allocations: 96.59 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.4941, allocations: 5.344 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.4941, allocations: 0 / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.4941, allocations: 5.188 kB / 0.5245 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.685e-05/0.4942, allocations: 21.55 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.714e-06/0.4942, allocations: 160 / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.027e-05/0.4943, allocations: 7.047 kB / 0.5245 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.007e-06/0.4943, allocations: 4.266 kB / 0.5245 GB, free: 14.7 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.000119/0.4944, allocations: 129.5 kB / 0.5246 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.425e-05/0.4944, allocations: 10.11 kB / 0.5247 GB, free: 14.57 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.094e-05/0.4945, allocations: 17.27 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.4945, allocations: 0.8438 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.4945, allocations: 4 kB / 0.5247 GB, free: 14.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4945, allocations: 12.38 kB / 0.5247 GB, free: 14.54 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000465/0.495, allocations: 385.6 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.495, allocations: 384 / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.497e-05/0.495, allocations: 8.281 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.4951, allocations: 4.938 kB / 0.5251 GB, free: 14.19 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.563e-05/0.4951, allocations: 11.25 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4951, allocations: 0.6562 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.4951, allocations: 4.938 kB / 0.5251 GB, free: 14.18 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.4954, allocations: 201 kB / 0.5253 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.348e-05/0.4954, allocations: 80.08 kB / 0.5253 GB, free: 13.92 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.4954, allocations: 10.91 kB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-05/0.4955, allocations: 2.375 kB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/0.4956, allocations: 6.375 kB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.4956, allocations: 9.031 kB / 0.5254 GB, free: 13.91 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.771e-05/0.4957, allocations: 121.5 kB / 0.5255 GB, free: 13.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4957, allocations: 0 / 0.5255 GB, free: 13.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002906/0.496, allocations: 34.56 kB / 0.5255 GB, free: 13.8 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.001632/0.4976, allocations: 1.132 MB / 0.5266 GB, free: 12.97 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.4979, allocations: 57.12 kB / 0.5267 GB, free: 12.96 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4979, allocations: 3.938 kB / 0.5267 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.357e-05/0.498, allocations: 23.22 kB / 0.5267 GB, free: 12.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003995/0.4984, allocations: 30.42 kB / 0.5267 GB, free: 12.94 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.5004, allocations: 1.551 MB / 0.5283 GB, free: 11.6 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003244/0.5007, allocations: 0.6955 MB / 0.5289 GB, free: 10.91 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.579e-05/0.5008, allocations: 24.14 kB / 0.529 GB, free: 10.9 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.265e-05/0.5009, allocations: 32.23 kB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of SimCode: time 5.11e-07/0.5009, allocations: 5.375 kB / 0.529 GB, free: 10.88 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02613/0.527, allocations: 3.59 MB / 0.5325 GB, free: 9.219 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.529/8.056, allocations: 12.92 kB / 0.5325 GB, free: 9.215 MB / 398.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test59.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test59/Test59.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test59.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.timeEvents,t_new.timeScale,t_new.verboseExtrapolation,t_new.verboseRead,t_new.y[1],time